public class NodeDAO extends IdDaoSupport<NodeDTO>
Constructor and Description |
---|
NodeDAO() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NodeDTO node,
NodeDTO other) |
boolean |
equals(NodeDTO node,
Object other) |
NodeDTO |
find(StructureDTO structure,
TypedIterable<DirectedSymbolDTO> path) |
TypedIterable<NodeDTO> |
findAll() |
TypedIterable<NodeDTO> |
findChildren(NodeDTO node) |
TypedIterable<NodeDTO> |
findNodes(StructureDTO structure) |
TypedIterable<NodeDTO> |
findNodes(StructureDTO structure,
int depth) |
NodeDTO |
findOrCreate(NodeDTO parent,
SymbolDTO symbol,
Direction direction) |
NodeDTO |
findOrCreate(StructureDTO structure,
SymbolDTO symbol,
Direction direction) |
TypedIterable<NodeDTO> |
findRootNodes(StructureDTO structure) |
save, toID
public TypedIterable<NodeDTO> findAll()
public TypedIterable<NodeDTO> findNodes(StructureDTO structure)
public TypedIterable<NodeDTO> findNodes(StructureDTO structure, int depth)
public TypedIterable<NodeDTO> findRootNodes(StructureDTO structure)
public TypedIterable<NodeDTO> findChildren(NodeDTO node)
public NodeDTO find(StructureDTO structure, TypedIterable<DirectedSymbolDTO> path)
public NodeDTO findOrCreate(StructureDTO structure, SymbolDTO symbol, Direction direction)
Copyright © 2013. All Rights Reserved.