public interface BaseRelation
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeToGroup(String uuid,
long groupId)
Add node to group.
|
void |
addRelation(String nodeAId,
String nodeBId,
long relTypeId)
Add relation.
|
void |
addRelationGroup(String uuid,
String groupName,
long type)
Add relation group.
|
void |
deleteRelation(long relationId)
Delete relation.
|
void |
deleteRelationGroup(long groupId)
Delete relation group.
|
void |
deleteRelationGroupItem(String uuid,
long groupId)
Delete relation group item.
|
RelationGroup |
findRelationGroup(long groupId)
Find relation group relation group.
|
List<RelationGroup> |
getAllRelationGroups()
Gets all relation groups.
|
List<RelationGroup> |
getRelationGroups(String uuid)
Gets relation groups.
|
List<Relation> |
getRelations(String uuid)
Gets relations.
|
List<RelationType> |
getRelationTypes(String type)
Gets relation types.
|
void |
setRelationGroupName(long groupId,
String groupName)
Sets relation group name.
|
List<RelationType> getRelationTypes(String type) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException
type - the typeAccessDeniedException - the access denied exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid addRelation(String nodeAId, String nodeBId, long relTypeId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
nodeAId - the node a idnodeBId - the node b idrelTypeId - the rel type idLockException - the lock exceptionPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid deleteRelation(long relationId)
throws LockException,
PathNotFoundException,
AccessDeniedException,
RepositoryException,
DatabaseException,
UnknownException,
WebserviceException
relationId - the relation idLockException - the lock exceptionPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<Relation> getRelations(String uuid) throws AccessDeniedException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid - the uuidAccessDeniedException - the access denied exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<RelationGroup> getRelationGroups(String uuid) throws AccessDeniedException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
uuid - the uuidAccessDeniedException - the access denied exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<RelationGroup> getAllRelationGroups() throws AccessDeniedException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
AccessDeniedException - the access denied exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid addRelationGroup(String uuid, String groupName, long type) throws AccessDeniedException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid - the uuidgroupName - the group nametype - the typeAccessDeniedException - the access denied exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid addNodeToGroup(String uuid, long groupId) throws AccessDeniedException, PathNotFoundException, DatabaseException, RepositoryException, UnknownException, WebserviceException
uuid - the uuidgroupId - the group idAccessDeniedException - the access denied exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionRepositoryException - the repository exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid deleteRelationGroupItem(String uuid, long groupId) throws AccessDeniedException, DatabaseException, PathNotFoundException, RepositoryException, UnknownException, WebserviceException
uuid - the uuidgroupId - the group idAccessDeniedException - the access denied exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionRepositoryException - the repository exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid deleteRelationGroup(long groupId)
throws AccessDeniedException,
DatabaseException,
PathNotFoundException,
RepositoryException,
UnknownException,
WebserviceException
groupId - the group idAccessDeniedException - the access denied exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionRepositoryException - the repository exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionRelationGroup findRelationGroup(long groupId) throws AccessDeniedException, PathNotFoundException, DatabaseException, RepositoryException, UnknownException, WebserviceException
groupId - the group idAccessDeniedException - the access denied exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionRepositoryException - the repository exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid setRelationGroupName(long groupId,
String groupName)
throws AccessDeniedException,
DatabaseException,
UnknownException,
WebserviceException
groupId - the group idgroupName - the group nameAccessDeniedException - the access denied exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2022 Open Knowledge Management System S.L.. All Rights Reserved.