Method Summary |
|
String | getLocationDescription(String location) Form a description for the location.
Parameters: location - The presence location. |
List | getLocations() Access a List of all location ids (String). |
List | getPresence(String locationId) Access a List of sessions (UsageSession) now present in a location.
Parameters: locationId - A presence location id. |
List | getPresentUsers(String locationId) Access a List of users (User) now present in a location.
Parameters: locationId - A presence location id. |
List | getPresentUsers(String locationId, String siteId) Access a List of users (User) now present in a location. |
int | getTimeout() Access the time (in seconds) after which a presence will timeout. |
String | locationId(String site, String page, String tool) Construct a location id from site, page, and tool.
Parameters: site - The site id. Parameters: page - The page id (optional). Parameters: tool - The tool id (optional). |
String | presenceReference(String id) Form a presence reference from a location id
Parameters: id - the location id. |
void | removePresence(String locationId) Remove the presence of the current session from a location. |
void | setPresence(String locationId) Establish or refresh the presence of the current session in a location. |