public interface PresenceStore
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up and closes the presence store.
|
void |
deletePresenceEntity(PresenceEntityContext ctx)
Deletes an existing presence entity.
|
void |
deletePresenceLocation(PresenceLocationContext ctx)
Deletes a presence location.
|
java.util.Collection<PresenceEntity> |
getAllPresenceEntities(HubContext ctx)
Returns a collection of all presence entities.
|
java.util.Collection<PresenceLocation> |
getAllPresenceLocations(HubContext ctx)
Returns a collection of all presence locations.
|
PresenceEntity |
getPresenceEntity(PresenceEntityContext ctx)
Returns a presence entity.
|
PresenceLocation |
getPresenceLocation(PresenceLocationContext ctx)
Returns a presence location.
|
void |
performHousekeeping()
Allows the presence store to perform whatever implementation-specific housekeeping tasks are needed.
|
void |
savePresenceEntity(PresenceEntity pe)
Saves a presence entity.
|
void |
savePresenceLocation(PresenceLocation pl)
Saves a presence location.
|
void close()
void deletePresenceEntity(PresenceEntityContext ctx)
ctx
- the context of the presence entityvoid deletePresenceLocation(PresenceLocationContext ctx)
ctx
- the presence location contextjava.util.Collection<PresenceEntity> getAllPresenceEntities(HubContext ctx)
ctx
- the hub contextjava.util.Collection<PresenceLocation> getAllPresenceLocations(HubContext ctx)
ctx
- the hub contextPresenceEntity getPresenceEntity(PresenceEntityContext ctx)
ctx
- the context of the presence entityPresenceLocation getPresenceLocation(PresenceLocationContext ctx)
ctx
- the presence location contextvoid performHousekeeping()
void savePresenceEntity(PresenceEntity pe)
pe
- the presence entity to savevoid savePresenceLocation(PresenceLocation pl)
pl
- the presence location to saveCopyright © 2015 Whizzo Software LLC. All rights reserved.