logo

const class

haven::HavenNamespace

sys::Obj
  sys::Namespace
    haven::HavenNamespace

HavenNamespace manages the Namespace of a haven service.

See docLib::Haven.

Slots

create

override Uri create(Uri uri, Obj obj)

Create the specified object in the namespace. For haven the uri must be null.

delete

override Void delete(Uri objUri)

Delete the object with the specified uri.

findHaven

HavenService findHaven()

get

override Obj get(Uri objUri, Bool checked := true)

Get the object identified by the specified uri.

havenName

const Str havenName

idToUri

Uri idToUri(Type objType, Obj id)

Get the uri for the object with the specified type and id.

make

new make()

makeFor

new makeFor(Str havenName)

objToUri

Uri objToUri(Obj obj, HavenService haven := null)

Get the uri for the specified object.

put

override Void put(Uri uri, Obj obj)

Update the specified object mapped to the specified uri.