|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphManager
Represents a generic "managed" graph with nodes mapped by their ids. Inherited GraphChangeHandler methods are intended as callbacks for graph node objects to notify graph of their changes.
Method Summary | |
---|---|
Object |
getNode(Object nodeId)
Returns a graph node given an id. |
Collection<Object> |
registeredNodes()
Returns all graph nodes registered with GraphManager. |
void |
registerNode(Object nodeId,
Object nodeObject)
"Registers" a graph node, usually storing the node in some internal map using its id as a key. |
Object |
unregisterNode(Object nodeId)
"Unregisters" a graph node, forgetting any information associated with nodeId. |
Methods inherited from interface org.apache.cayenne.graph.GraphChangeHandler |
---|
arcCreated, arcDeleted, nodeCreated, nodeIdChanged, nodePropertyChanged, nodeRemoved |
Method Detail |
---|
Object getNode(Object nodeId)
void registerNode(Object nodeId, Object nodeObject)
Object unregisterNode(Object nodeId)
Collection<Object> registeredNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |