public interface NodeDao
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(Node node) |
void |
clear() |
void |
deleteNode(String nodeGridId,
String nodeId) |
void |
deleteNodesOfGrid(String gridId) |
void |
deleteNodesOfUser(String userGridId,
String userId) |
Node |
getNode(String nodeGridId,
String nodeId) |
boolean |
isNodeExist(String nodeGridId,
String nodeId) |
List<Node> |
listAllNodes(String nodeGridId) |
List<Node> |
listNodesOfUser(String userGridId,
String userId) |
NodeSearchResult |
searchNodes(int startIndex,
int maxCount,
String nodeGridId,
MatchingCondition[] conditions,
Order[] orders) |
NodeAndUserSearchResult |
searchNodesAndUsers(int startIndex,
int maxCount,
String nodeGridId,
MatchingCondition[] conditions,
Order[] orders) |
void clear()
throws DaoException
DaoExceptionList<Node> listAllNodes(String nodeGridId) throws DaoException
DaoExceptionList<Node> listNodesOfUser(String userGridId, String userId) throws DaoException
DaoExceptionNodeSearchResult searchNodes(int startIndex, int maxCount, String nodeGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoExceptionNodeAndUserSearchResult searchNodesAndUsers(int startIndex, int maxCount, String nodeGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoExceptionvoid addNode(Node node) throws DaoException, NodeAlreadyExistsException
void deleteNode(String nodeGridId, String nodeId) throws NodeNotFoundException, DaoException
NodeNotFoundExceptionDaoExceptionvoid deleteNodesOfGrid(String gridId) throws DaoException
DaoExceptionvoid deleteNodesOfUser(String userGridId, String userId) throws DaoException
DaoExceptionNode getNode(String nodeGridId, String nodeId) throws NodeNotFoundException, DaoException
NodeNotFoundExceptionDaoExceptionboolean isNodeExist(String nodeGridId, String nodeId) throws DaoException
DaoException