|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.googlecode.sarasvati.hib.HibGraphRepository
public class HibGraphRepository
Method Summary | |
---|---|
void |
addGraph(HibGraph graph)
Adds a graph to the repository. |
HibGraph |
findGraph(long graphId)
|
HibNodeToken |
findNodeToken(long tokenId)
|
HibGraphProcess |
findProcess(long processId)
|
List<HibGraph> |
getGraphs()
Returns all graphs accessible via this repository. |
List<HibGraph> |
getGraphs(String name)
Returns all graphs with the given name. |
HibGraph |
getLatestGraph(String name)
Returns The newest Graph with the given name, or null if none is found. |
HibGraph |
loadGraph(long graphId)
|
HibNodeToken |
loadNodeToken(long tokenId)
|
HibGraphProcess |
loadProcess(long processId)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addGraph(HibGraph graph)
GraphRepository
GraphLoader
.
addGraph
in interface GraphRepository<HibGraph>
graph
- The graph to add to the repository.public List<HibGraph> getGraphs(String name)
GraphRepository
getGraphs
in interface GraphRepository<HibGraph>
name
- The name to match
public List<HibGraph> getGraphs()
GraphRepository
getGraphs
in interface GraphRepository<HibGraph>
public HibGraph getLatestGraph(String name)
GraphRepository
Graph
with the given name, or null if none is found.
getLatestGraph
in interface GraphRepository<HibGraph>
name
- The graph name
Graph
with the given name, or null if none is found.public HibGraph loadGraph(long graphId)
public HibGraph findGraph(long graphId)
public HibGraphProcess loadProcess(long processId)
public HibGraphProcess findProcess(long processId)
public HibNodeToken loadNodeToken(long tokenId)
public HibNodeToken findNodeToken(long tokenId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |