Difference between revisions of "OKMProperty"
From OpenKM Documentation
(→void addCategory(String token, String nodePath, String catId)) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
== void addCategory(String token, String nodePath, String catId) == | == void addCategory(String token, String nodePath, String catId) == | ||
− | Add a | + | Add a category to a node. |
'''Parameters''' | '''Parameters''' | ||
Line 29: | Line 29: | ||
* ''nodePath'' - A mail object with the new mail properties. | * ''nodePath'' - A mail object with the new mail properties. | ||
* ''catId'' - Category id (the UUID of the category node). | * ''catId'' - Category id (the UUID of the category node). | ||
+ | |||
+ | '''Returns''' | ||
+ | * None | ||
+ | |||
+ | '''Throws''' | ||
+ | * ''PathNotFoundException'' - If the parent folder doesn't exist. | ||
+ | * ''AccessDeniedException'' - If there is any security problem: you can't modify the parent folder because of lack of permissions. | ||
+ | * ''RepositoryException'' - If there is any general repository problem. | ||
+ | |||
+ | '''Since''' | ||
+ | * OpenKM 5.0 | ||
+ | |||
+ | == void addKeyword(String token, String nodePath, String keyword) == | ||
+ | Add a keyword to a document. | ||
+ | |||
+ | '''Parameters''' | ||
+ | * ''token'' - The session authorization token. | ||
+ | * ''nodePath'' - A mail object with the new mail properties. | ||
+ | * ''keyword'' - The keyword to be added. | ||
+ | |||
+ | '''Returns''' | ||
+ | * None | ||
+ | |||
+ | '''Throws''' | ||
+ | * ''PathNotFoundException'' - If the parent folder doesn't exist. | ||
+ | * ''AccessDeniedException'' - If there is any security problem: you can't modify the parent folder because of lack of permissions. | ||
+ | * ''RepositoryException'' - If there is any general repository problem. | ||
+ | |||
+ | '''Since''' | ||
+ | * OpenKM 5.0 | ||
+ | |||
+ | == void removeKeyword(String token, String nodePath, String keyword) == | ||
+ | Remove a previously assigned keyword from a document. | ||
+ | |||
+ | '''Parameters''' | ||
+ | * ''token'' - The session authorization token. | ||
+ | * ''nodePath'' - A mail object with the new mail properties. | ||
+ | * ''keyword'' - The keyword to be removed. | ||
'''Returns''' | '''Returns''' |
Latest revision as of 10:01, 26 October 2010
Contents
Methods related to document properties management.
void addCategory(String token, String nodePath, String catId)
Add a category to a node.
Parameters
- token - The session authorization token.
- nodePath - A mail object with the new mail properties.
- catId - Category id (the UUID of the category node).
Returns
- None
Throws
- PathNotFoundException - If the parent folder doesn't exist.
- AccessDeniedException - If there is any security problem: you can't modify the parent folder because of lack of permissions.
- RepositoryException - If there is any general repository problem.
Since
- OpenKM 5.0
void removeCategory(String token, String nodePath, String catId)
Remove a previously category from a document.
Parameters
- token - The session authorization token.
- nodePath - A mail object with the new mail properties.
- catId - Category id (the UUID of the category node).
Returns
- None
Throws
- PathNotFoundException - If the parent folder doesn't exist.
- AccessDeniedException - If there is any security problem: you can't modify the parent folder because of lack of permissions.
- RepositoryException - If there is any general repository problem.
Since
- OpenKM 5.0
void addKeyword(String token, String nodePath, String keyword)
Add a keyword to a document.
Parameters
- token - The session authorization token.
- nodePath - A mail object with the new mail properties.
- keyword - The keyword to be added.
Returns
- None
Throws
- PathNotFoundException - If the parent folder doesn't exist.
- AccessDeniedException - If there is any security problem: you can't modify the parent folder because of lack of permissions.
- RepositoryException - If there is any general repository problem.
Since
- OpenKM 5.0
void removeKeyword(String token, String nodePath, String keyword)
Remove a previously assigned keyword from a document.
Parameters
- token - The session authorization token.
- nodePath - A mail object with the new mail properties.
- keyword - The keyword to be removed.
Returns
- None
Throws
- PathNotFoundException - If the parent folder doesn't exist.
- AccessDeniedException - If there is any security problem: you can't modify the parent folder because of lack of permissions.
- RepositoryException - If there is any general repository problem.
Since
- OpenKM 5.0