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.

Source

delete

override Void delete(Uri objUri)

Delete the object with the specified uri.

Source

findHaven

HavenService findHaven()

Source

get

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

Get the object identified by the specified uri.

Source

havenName

const Str havenName := "haven"

Source

idToUri

Uri idToUri(Type objType, Obj id)

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

Source

make

new make()

Source

makeFor

new makeFor(Str havenName)

Source

objToUri

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

Get the uri for the specified object.

Source

put

override Void put(Uri uri, Obj obj)

Update the specified object mapped to the specified uri.

Source