public interface PropertyModule
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(String token,
String nodePath,
String catId)
Add a category to a node.
|
String |
addKeyword(String token,
String nodePath,
String keyword)
Add a keyword to a node.
|
void |
removeCategory(String token,
String nodePath,
String catId)
Remove a category from a node.
|
void |
removeKeyword(String token,
String nodePath,
String keyword)
Remove a keyword from a node.
|
void addCategory(String token, String nodePath, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
token - The session authorization token.nodePath - The complete path to the node.catId - Category id (the UUID of the category node).VersionException - A document checked in can't be modified.LockException - A locked document can't be modified.PathNotFoundException - If there is no node in this
repository path.AccessDeniedException - If there is any security problem:
you can't modify the node because of lack of permissions.RepositoryException - If there is any general repository problem.DatabaseExceptionvoid removeCategory(String token, String nodePath, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
token - The session authorization token.nodePath - The complete path to the node.catId - Category id (the UUID of the category node).VersionException - A document checked in can't be modified.LockException - A locked document can't be modified.PathNotFoundException - If there is no node in this
repository path.AccessDeniedException - If there is any security problem:
you can't modify the node because of lack of permissions.RepositoryException - If there is any general repository problem.DatabaseExceptionString addKeyword(String token, String nodePath, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
token - The session authorization token.nodePath - The complete path to the node.keyword - The keyword to be added.VersionException - A document checked in can't be modified.LockException - A locked document can't be modified.PathNotFoundException - If there is no node in this
repository path.AccessDeniedException - If there is any security problem:
you can't modify the node because of lack of permissions.RepositoryException - If there is any general repository problem.DatabaseExceptionvoid removeKeyword(String token, String nodePath, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
token - The session authorization token.nodePath - The complete path to the node.keyword - The keyword to be removed.VersionException - A document checked in can't be modified.LockException - A locked document can't be modified.PathNotFoundException - If there is no node in this
repository path.AccessDeniedException - If there is any security problem:
you can't modify the node because of lack of permissions.RepositoryException - If there is any general repository problem.DatabaseExceptionCopyright © 2016. All rights reserved.