Package com.openkm.sdk4j.impl
Class NodeImpl
- java.lang.Object
-
- com.openkm.sdk4j.impl.ClientImpl
-
- com.openkm.sdk4j.impl.NodeImpl
-
- All Implemented Interfaces:
BaseNode,Serializable
public class NodeImpl extends ClientImpl implements BaseNode, Serializable
NodeImpl- Author:
- sochoa
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddegradeRecord(String uuid)Degrade record.voiddeleteVersion(String uuid, String versionName)Delete version.ZipDownloadEvaluationResultevaluateDownloadZip(List<String> uuids)Evaluate download zip zip download evaluation result.InputStreamexportZip(List<String> uuids, boolean withPath, boolean background)Export zip input stream.LockInfoforceLock(String uuid)Force lock node lock info.voidforceUnlock(String uuid)Force unlock node.StringgenerateDownloadToken(String uuid, boolean preview, boolean oneTimeUse, Calendar validUntil)Generate download token string.List<BreadCrumbItem>getBreadcrumb(String uuid)Gets breadcrumb.SimpleNodeBaseListgetChildrenNodesByCategoryPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes)Gets children nodes by category paginated.SimpleNodeBaseListgetChildrenNodesByCategoryPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes, String pluginName)Gets children nodes by category paginated.SimpleNodeBaseListgetChildrenNodesPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes)Gets children nodes paginated.SimpleNodeBaseListgetChildrenNodesPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes, String pluginName)Gets children nodes paginated.RecordgetElectronicRecordInPath(String uuid)Gets electronic record in path.LockInfogetLockInfo(String uuid)Gets lock info.NodegetNodeByUuid(String uuid)Gets node by uuid.List<Node>getNodesFiltered(List<String> uuids)Gets nodes filtered.List<Version>getVersionHistory(String uuid)Gets version history.booleanhasNodesLockedByOtherUser(String uuid)Has nodes locked by other user boolean.voidimportZip(String uuid, InputStream is)Import zip.booleanisElectronicRecordPath(String uuid)Is electronic record path boolean.booleanisLocked(String uuid)Is locked boolean.LockInfolock(String uuid)Lock node lock info.PromoteAsRecordEvaluationmayBePromotedAsRecord(String uuid, boolean fullEvaluation)May be promoted as record promote as record evaluation.voidpromoteAsRecord(String uuid)Promote as record.voidpurgeVersionHistory(String uuid)Purge version history.voidrenameVersion(String uuid, String versionName, String newName)Rename version.Noderestore(String uuid)Restore node.voidrestoreVersion(String uuid, String versionName)Restore version.protected voidsetAuthorizationToken(String authorizationToken)setAuthenticationTokenvoidsetComment(String uuid, String versionName, String comment)Sets comment.voidsubscribe(String uuid)Subscribe.voidunlock(String uuid)Unlock node.voidunsubscribe(String uuid)Unsubscribe.voidunZip(String uuid, String dstId)Un zip.-
Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
-
-
-
Constructor Detail
-
NodeImpl
public NodeImpl(String host)
NodeImpl
-
-
Method Detail
-
setAuthorizationToken
protected void setAuthorizationToken(String authorizationToken)
setAuthenticationToken
-
getNodeByUuid
public Node getNodeByUuid(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGets node by uuid.- Specified by:
getNodeByUuidin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the node by uuid
- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getVersionHistory
public List<Version> getVersionHistory(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGets version history.- Specified by:
getVersionHistoryin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the version history
- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
restoreVersion
public void restoreVersion(String uuid, String versionName) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknownException, WebserviceException
Description copied from interface:BaseNodeRestore version.- Specified by:
restoreVersionin interfaceBaseNode- Parameters:
uuid- the uuidversionName- the version name- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionLockException- the lock exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionExtensionException- the extension exceptionAutomationException- the automation exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
renameVersion
public void renameVersion(String uuid, String versionName, String newName) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknownException, WebserviceException
Description copied from interface:BaseNodeRename version.- Specified by:
renameVersionin interfaceBaseNode- Parameters:
uuid- the uuidversionName- the version namenewName- the new name- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionLockException- the lock exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionExtensionException- the extension exceptionAutomationException- the automation exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
deleteVersion
public void deleteVersion(String uuid, String versionName) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknownException, WebserviceException
Description copied from interface:BaseNodeDelete version.- Specified by:
deleteVersionin interfaceBaseNode- Parameters:
uuid- the uuidversionName- the version name- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionLockException- the lock exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionExtensionException- the extension exceptionAutomationException- the automation exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
purgeVersionHistory
public void purgeVersionHistory(String uuid) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, UnknownException, WebserviceException
Description copied from interface:BaseNodePurge version history.- Specified by:
purgeVersionHistoryin interfaceBaseNode- Parameters:
uuid- the uuid- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionLockException- the lock exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionExtensionException- the extension exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
mayBePromotedAsRecord
public PromoteAsRecordEvaluation mayBePromotedAsRecord(String uuid, boolean fullEvaluation) throws AccessDeniedException, PathNotFoundException, DatabaseException, FilePlanRecordManagerException, UnknownException, WebserviceException
Description copied from interface:BaseNodeMay be promoted as record promote as record evaluation.- Specified by:
mayBePromotedAsRecordin interfaceBaseNode- Parameters:
uuid- the uuidfullEvaluation- the full evaluation- Returns:
- the promote as record evaluation
- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionFilePlanRecordManagerException- the file plan record manager exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
promoteAsRecord
public void promoteAsRecord(String uuid) throws PathNotFoundException, DatabaseException, FilePlanRecordManagerException, UnknownException, WebserviceException, PromoteAsRecordException
Description copied from interface:BaseNodePromote as record.- Specified by:
promoteAsRecordin interfaceBaseNode- Parameters:
uuid- the uuid- Throws:
PathNotFoundException- the path not found exceptionDatabaseException- the database exceptionFilePlanRecordManagerException- the file plan record manager exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exceptionPromoteAsRecordException- the promote as record exception
-
degradeRecord
public void degradeRecord(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, LockException, UnknownException, WebserviceException
Description copied from interface:BaseNodeDegrade record.- Specified by:
degradeRecordin interfaceBaseNode- Parameters:
uuid- the uuid- Throws:
PathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionLockException- the lock exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
isElectronicRecordPath
public boolean isElectronicRecordPath(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseNodeIs electronic record path boolean.- Specified by:
isElectronicRecordPathin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the boolean
- Throws:
PathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getElectronicRecordInPath
public Record getElectronicRecordInPath(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException
Description copied from interface:BaseNodeGets electronic record in path.- Specified by:
getElectronicRecordInPathin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the electronic record in path
- Throws:
PathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getChildrenNodesPaginated
public SimpleNodeBaseList getChildrenNodesPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGets children nodes paginated.- Specified by:
getChildrenNodesPaginatedin interfaceBaseNode- Parameters:
uuid- the uuidoffset- the offsetlimit- the limitfilter- the filterorderByField- the order by fieldorderAsc- the order ascfilteredTypes- the filtered types- Returns:
- the children nodes paginated
- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getChildrenNodesPaginated
public SimpleNodeBaseList getChildrenNodesPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes, String pluginName) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGets children nodes paginated.- Specified by:
getChildrenNodesPaginatedin interfaceBaseNode- Parameters:
uuid- the uuidoffset- the offsetlimit- the limitfilter- the filterorderByField- the order by fieldorderAsc- the order ascfilteredTypes- the filtered typespluginName- the plugin name- Returns:
- the children nodes paginated
- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getChildrenNodesByCategoryPaginated
public SimpleNodeBaseList getChildrenNodesByCategoryPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGets children nodes by category paginated.- Specified by:
getChildrenNodesByCategoryPaginatedin interfaceBaseNode- Parameters:
uuid- the uuidoffset- the offsetlimit- the limitfilter- the filterorderByField- the order by fieldorderAsc- the order ascfilteredTypes- the filtered types- Returns:
- the children nodes by category paginated
- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getChildrenNodesByCategoryPaginated
public SimpleNodeBaseList getChildrenNodesByCategoryPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes, String pluginName) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGets children nodes by category paginated.- Specified by:
getChildrenNodesByCategoryPaginatedin interfaceBaseNode- Parameters:
uuid- the uuidoffset- the offsetlimit- the limitfilter- the filterorderByField- the order by fieldorderAsc- the order ascfilteredTypes- the filtered typespluginName- the plugin name- Returns:
- the children nodes by category paginated
- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getBreadcrumb
public List<BreadCrumbItem> getBreadcrumb(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException
Description copied from interface:BaseNodeGets breadcrumb.- Specified by:
getBreadcrumbin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the breadcrumb
- Throws:
PathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
subscribe
public void subscribe(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException, LockException
Description copied from interface:BaseNodeSubscribe.- Specified by:
subscribein interfaceBaseNode- Parameters:
uuid- the uuid- Throws:
PathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exceptionLockException- the lock exception
-
unsubscribe
public void unsubscribe(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException, LockException
Description copied from interface:BaseNodeUnsubscribe.- Specified by:
unsubscribein interfaceBaseNode- Parameters:
uuid- the uuid- Throws:
PathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exceptionLockException- the lock exception
-
importZip
public void importZip(String uuid, InputStream is) throws UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
Description copied from interface:BaseNodeImport zip.- Specified by:
importZipin interfaceBaseNode- Parameters:
uuid- the uuidis- the is- Throws:
UnsupportedMimeTypeException- the unsupported mime type exceptionFileSizeExceededException- the file size exceeded exceptionUserQuotaExceededException- the user quota exceeded exceptionVirusDetectedException- the virus detected exceptionItemExistsException- the item exists exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionExtensionException- the extension exceptionAutomationException- the automation exceptionPromotedAsRecordLockException- the promoted as record lock exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
unZip
public void unZip(String uuid, String dstId) throws UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
Description copied from interface:BaseNodeUn zip.- Specified by:
unZipin interfaceBaseNode- Parameters:
uuid- the uuiddstId- the dst id- Throws:
UnsupportedMimeTypeException- the unsupported mime type exceptionFileSizeExceededException- the file size exceeded exceptionUserQuotaExceededException- the user quota exceeded exceptionVirusDetectedException- the virus detected exceptionItemExistsException- the item exists exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionExtensionException- the extension exceptionAutomationException- the automation exceptionPromotedAsRecordLockException- the promoted as record lock exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
exportZip
public InputStream exportZip(List<String> uuids, boolean withPath, boolean background) throws WebserviceException, UnknownException, ConversionException
Description copied from interface:BaseNodeExport zip input stream.- Specified by:
exportZipin interfaceBaseNode- Parameters:
uuids- the uuidswithPath- the withPathbackground- the background- Returns:
- the input stream
- Throws:
WebserviceException- the webservice exceptionUnknownException- the unknown exceptionConversionException- the conversion exception
-
getNodesFiltered
public List<Node> getNodesFiltered(List<String> uuids) throws WebserviceException, UnsupportedEncodingException, UnknownException
Description copied from interface:BaseNodeGets nodes filtered.- Specified by:
getNodesFilteredin interfaceBaseNode- Parameters:
uuids- the uuids- Returns:
- the nodes filtered
- Throws:
WebserviceException- the webservice exceptionUnsupportedEncodingException- the unsupported encoding exceptionUnknownException- the unknown exception
-
evaluateDownloadZip
public ZipDownloadEvaluationResult evaluateDownloadZip(List<String> uuids) throws WebserviceException, UnknownException
Description copied from interface:BaseNodeEvaluate download zip zip download evaluation result.- Specified by:
evaluateDownloadZipin interfaceBaseNode- Parameters:
uuids- the uuids- Returns:
- the zip download evaluation result
- Throws:
WebserviceException- the webservice exceptionUnknownException- the unknown exception
-
generateDownloadToken
public String generateDownloadToken(String uuid, boolean preview, boolean oneTimeUse, Calendar validUntil) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGenerate download token string.- Specified by:
generateDownloadTokenin interfaceBaseNode- Parameters:
uuid- the uuidpreview- the previewoneTimeUse- when true the token can only be used one timevalidUntil- when set the token will be valid until this date- Returns:
- the string
- Throws:
PathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
restore
public Node restore(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeRestore node.- Specified by:
restorein interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the node
- Throws:
AccessDeniedException- the access denied exceptionPathNotFoundException- the path not found exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
hasNodesLockedByOtherUser
public boolean hasNodesLockedByOtherUser(String uuid) throws WebserviceException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
Description copied from interface:BaseNodeHas nodes locked by other user boolean.- Specified by:
hasNodesLockedByOtherUserin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the boolean
- Throws:
WebserviceException- the webservice exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionUnknownException- the unknown exception
-
lock
public LockInfo lock(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeLock node lock info.- Specified by:
lockin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the lock info
- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
forceLock
public LockInfo forceLock(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeForce lock node lock info.- Specified by:
forceLockin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the lock info
- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
unlock
public void unlock(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeUnlock node.- Specified by:
unlockin interfaceBaseNode- Parameters:
uuid- the uuid- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
forceUnlock
public void forceUnlock(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeForce unlock node.- Specified by:
forceUnlockin interfaceBaseNode- Parameters:
uuid- the uuid- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
isLocked
public boolean isLocked(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeIs locked boolean.- Specified by:
isLockedin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the boolean
- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getLockInfo
public LockInfo getLockInfo(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseNodeGets lock info.- Specified by:
getLockInfoin interfaceBaseNode- Parameters:
uuid- the uuid- Returns:
- the lock info
- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionLockException- the lock exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
setComment
public void setComment(String uuid, String versionName, String comment) throws VersionException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException, PathNotFoundException
Description copied from interface:BaseNodeSets comment.- Specified by:
setCommentin interfaceBaseNode- Parameters:
uuid- the uuidversionName- the version namecomment- the comment- Throws:
VersionException- the version exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exceptionPathNotFoundException- the path not found exception
-
-