| Constructor and Description |
|---|
JsonicNodeDao(JsonicDaoContext context) |
| 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) |
public JsonicNodeDao(JsonicDaoContext context)
public void clear()
throws DaoException
clear in interface NodeDaoDaoExceptionpublic List<Node> listAllNodes(String nodeGridId) throws DaoException
listAllNodes in interface NodeDaoDaoExceptionpublic List<Node> listNodesOfUser(String userGridId, String userId) throws DaoException
listNodesOfUser in interface NodeDaoDaoExceptionpublic NodeSearchResult searchNodes(int startIndex, int maxCount, String nodeGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
searchNodes in interface NodeDaoDaoExceptionpublic NodeAndUserSearchResult searchNodesAndUsers(int startIndex, int maxCount, String nodeGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
searchNodesAndUsers in interface NodeDaoDaoExceptionpublic void addNode(Node node) throws DaoException, NodeAlreadyExistsException
addNode in interface NodeDaoDaoExceptionNodeAlreadyExistsExceptionpublic void deleteNode(String nodeGridId, String nodeId) throws NodeNotFoundException, DaoException
deleteNode in interface NodeDaoNodeNotFoundExceptionDaoExceptionpublic void deleteNodesOfGrid(String gridId) throws DaoException
deleteNodesOfGrid in interface NodeDaoDaoExceptionpublic void deleteNodesOfUser(String userGridId, String userId) throws DaoException
deleteNodesOfUser in interface NodeDaoDaoExceptionpublic Node getNode(String nodeGridId, String nodeId) throws NodeNotFoundException, DaoException
getNode in interface NodeDaoNodeNotFoundExceptionDaoExceptionpublic boolean isNodeExist(String nodeGridId, String nodeId) throws DaoException
isNodeExist in interface NodeDaoDaoException