|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SocialGraph
Interface representing an entire social graph, irrespective of its underlying semantics or storage implementation.
| Method Summary | |
|---|---|
org.elkoserver.server.presence.Domain |
domain()
Obtain the domain that this social graph describes. |
void |
init(org.elkoserver.server.presence.PresenceServer master,
org.elkoserver.server.presence.Domain domain,
JSONObject conf)
Initialize this social graph. |
void |
loadUserGraph(org.elkoserver.server.presence.ActiveUser user)
Fetch the social graph for a new user presence from persistant storage. |
void |
shutdown()
Do any work required prior to shutting down the server. |
void |
update(org.elkoserver.server.presence.PresenceServer master,
org.elkoserver.server.presence.Domain domain,
JSONObject conf)
Update this social graph. |
| Method Detail |
|---|
void init(org.elkoserver.server.presence.PresenceServer master,
org.elkoserver.server.presence.Domain domain,
JSONObject conf)
master - The object representing the presence server environment
in which this graph will be used.domain - The domain for which this graph is the applicable
description.conf - A JSONObject full of configuration information, whose
particulars depend on the class implementing this interface.void loadUserGraph(org.elkoserver.server.presence.ActiveUser user)
user - The user whose social graph should be fetched.org.elkoserver.server.presence.Domain domain()
void update(org.elkoserver.server.presence.PresenceServer master,
org.elkoserver.server.presence.Domain domain,
JSONObject conf)
master - The object representing the presence server environment
in which this graph is being used.domain - The domain being updated.conf - A JSONObject full of Domain-specific configuration update
information, whose particulars depend on the class implementing this
interface.void shutdown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||