public interface ScriptingModule
| Modifier and Type | Method and Description |
|---|---|
String |
getScript(String token,
String nodePath)
Get node script (document or folder).
|
void |
removeScript(String token,
String nodePath)
Remove script from node.
|
void |
setScript(String token,
String nodePath,
String code)
Add script to node.
|
void setScript(String token, String nodePath, String code) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
nodePath - The complete path to the node.code - Script BeanShell code.PathNotFoundException - If the node defined by nodePath do not exists.AccessDeniedException - If the token authorization information is not valid.RepositoryException - If there is any error accessing to the repository.DatabaseExceptionvoid removeScript(String token, String nodePath) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
nodePath - The complete path to the node.PathNotFoundException - If the node defined by nodePath do not exists.AccessDeniedException - If the token authorization information is not valid.RepositoryException - If there is any error accessing to the repository.DatabaseExceptionString getScript(String token, String nodePath) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
nodePath - The complete path to the node.PathNotFoundException - If the node defined by nodePath do not exists.AccessDeniedException - If the token authorization information is not valid.RepositoryException - If there is any error accessing to the repository.DatabaseExceptionCopyright © 2016. All rights reserved.