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
DaoException
List<Node> listAllNodes(String nodeGridId) throws DaoException
DaoException
List<Node> listNodesOfUser(String userGridId, String userId) throws DaoException
DaoException
NodeSearchResult searchNodes(int startIndex, int maxCount, String nodeGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoException
NodeAndUserSearchResult searchNodesAndUsers(int startIndex, int maxCount, String nodeGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoException
void addNode(Node node) throws DaoException, NodeAlreadyExistsException
void deleteNode(String nodeGridId, String nodeId) throws NodeNotFoundException, DaoException
NodeNotFoundException
DaoException
void deleteNodesOfGrid(String gridId) throws DaoException
DaoException
void deleteNodesOfUser(String userGridId, String userId) throws DaoException
DaoException
Node getNode(String nodeGridId, String nodeId) throws NodeNotFoundException, DaoException
NodeNotFoundException
DaoException
boolean isNodeExist(String nodeGridId, String nodeId) throws DaoException
DaoException