|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectAccessor
Interface to reduce direct coupling between ObjectHandlers and their users.
Method Summary | |
---|---|
boolean |
checkExists(ID objectId)
|
ID |
createObject(ClientId clientId,
ClassId classId)
|
StoredListObject |
getListObject(ID objectId)
Returns the stored jemm list object referred to by 'id' |
StoredMapObject |
getMapObject(ID id)
Returns the stored jemm map object referred to by 'id' |
StoredObject |
getObject(ID objectId)
|
java.util.Set<ID> |
getObjectChildren(ID id)
|
StoredSetObject |
getSetObject(ID id)
Returns the stored jemm set object referred to by 'id' |
StoredUserObject |
getUserObject(ID objectId)
|
java.util.Iterator<ID> |
idIterator()
Returns an iterator over the currently active ID set |
void |
release(StoredObject object)
|
void |
removeObject(ID id)
|
Method Detail |
---|
StoredObject getObject(ID objectId)
StoredUserObject getUserObject(ID objectId)
StoredListObject getListObject(ID objectId)
id
- The id of the set to retrieve.
java.lang.IllegalArgumentException
- If 'id' is null or is not JLIST type id.
java.lang.IllegalStateException
- If the object is not in the database (an internal error), or the type
of the retrieved object is not a stored jemm list.StoredSetObject getSetObject(ID id)
id
- The id of the set to retrieve.
java.lang.IllegalArgumentException
- If 'id' is null or is not JSET type id.
java.lang.IllegalStateException
- If the object is not in the database (an internal error), or the type
of the retrieved object is not a stored jemm set.StoredMapObject getMapObject(ID id)
id
- The id of the map to retrieve.
java.lang.IllegalArgumentException
- If 'id' is null or is not JSET type id.
java.lang.IllegalStateException
- If the object is not in the database (an internal error), or the type
of the retrieved object is not a stored jemm map.boolean checkExists(ID objectId)
void release(StoredObject object)
java.util.Iterator<ID> idIterator()
void removeObject(ID id)
java.util.Set<ID> getObjectChildren(ID id)
ID createObject(ClientId clientId, ClassId classId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |