public interface BaseNode
Modifier and Type | Method and Description |
---|---|
void |
degradeRecord(String uuid)
Degrade record.
|
ZipDownloadEvaluationResult |
evaluateDownloadZip(List<String> uuids)
Evaluate download zip zip download evaluation result.
|
InputStream |
exportZip(List<String> uuids,
boolean background)
Export zip input stream.
|
InputStream |
exportZip(List<String> uuids,
boolean withPath,
boolean background)
Export zip input stream.
|
LockInfo |
forceLockNode(String uuid)
Force lock node lock info.
|
void |
forceUnlockNode(String uuid)
Force unlock node.
|
String |
generateDownloadToken(String uuid,
boolean preview)
Generate download token string.
|
List<BreadCrumbItem> |
getBreadcrumb(String uuid)
Gets breadcrumb.
|
SimpleNodeBaseList |
getChildrenNodesByCategoryPaginated(String uuid,
int offset,
int limit,
String filter,
String orderByField,
boolean orderAsc,
List<Integer> filteredTypes)
Gets children nodes by category paginated.
|
SimpleNodeBaseList |
getChildrenNodesByCategoryPaginated(String uuid,
int offset,
int limit,
String filter,
String orderByField,
boolean orderAsc,
List<Integer> filteredTypes,
String pluginName)
Gets children nodes by category paginated.
|
SimpleNodeBaseList |
getChildrenNodesPaginated(String uuid,
int offset,
int limit,
String filter,
String orderByField,
boolean orderAsc,
List<Integer> filteredTypes)
Gets children nodes paginated.
|
SimpleNodeBaseList |
getChildrenNodesPaginated(String uuid,
int offset,
int limit,
String filter,
String orderByField,
boolean orderAsc,
List<Integer> filteredTypes,
String pluginName)
Gets children nodes paginated.
|
Record |
getElectronicRecordInPath(String uuid)
Gets electronic record in path.
|
LockInfo |
getLockInfo(String uuid)
Gets lock info.
|
Node |
getNodeByUuid(String uuid)
Gets node by uuid.
|
List<Node> |
getNodesFiltered(List<String> uuids)
Gets nodes filtered.
|
PaginatorPluginList |
getPaginatorPlugins()
Gets paginator plugins.
|
List<Version> |
getVersionHistory(String uuid)
Gets version history.
|
boolean |
hasNodesLockedByOtherUser(String uuid)
Has nodes locked by other user boolean.
|
void |
importZip(String uuid,
InputStream is)
Import zip.
|
boolean |
isElectronicRecordPath(String uuid)
Is electronic record path boolean.
|
boolean |
isLocked(String uuid)
Is locked boolean.
|
LockInfo |
lockNode(String uuid)
Lock node lock info.
|
PromoteAsRecordEvaluation |
mayBePromotedAsRecord(String uuid,
boolean fullEvaluation)
May be promoted as record promote as record evaluation.
|
void |
promoteAsRecord(String uuid)
Promote as record.
|
void |
purgeVersionHistory(String uuid)
Purge version history.
|
Node |
restore(String uuid)
Restore node.
|
void |
restoreVersion(String uuid,
String versionName)
Restore version.
|
void |
setComment(String uuid,
String versionName,
String comment)
Sets comment.
|
void |
subscribe(String uuid)
Subscribe.
|
void |
unlockNode(String uuid)
Unlock node.
|
void |
unsubscribe(String uuid)
Unsubscribe.
|
void |
unZip(String uuid,
String dstId)
Un zip.
|
Node getNodeByUuid(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<Version> getVersionHistory(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid restoreVersion(String uuid, String versionName) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknownException, WebserviceException
uuid
- the uuidversionName
- the version nameAccessDeniedException
- 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 exceptionvoid purgeVersionHistory(String uuid) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- 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 exceptionPromoteAsRecordEvaluation mayBePromotedAsRecord(String uuid, boolean fullEvaluation) throws AccessDeniedException, PathNotFoundException, DatabaseException, FilePlanRecordManagerException, UnknownException, WebserviceException
uuid
- the uuidfullEvaluation
- the full evaluationAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionFilePlanRecordManagerException
- the file plan record manager exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid promoteAsRecord(String uuid) throws PathNotFoundException, DatabaseException, FilePlanRecordManagerException, PromoteAsRecordException, UnknownException, WebserviceException
uuid
- the uuidPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionFilePlanRecordManagerException
- the file plan record manager exceptionPromoteAsRecordException
- the promote as record exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid degradeRecord(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, LockException, UnknownException, WebserviceException
uuid
- the uuidPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionLockException
- the lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean isElectronicRecordPath(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
uuid
- the uuidPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionRecord getElectronicRecordInPath(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException
uuid
- the uuidPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionSimpleNodeBaseList getChildrenNodesPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidoffset
- the offsetlimit
- the limitfilter
- the filterorderByField
- the order by fieldorderAsc
- the order ascfilteredTypes
- the filtered typesAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionSimpleNodeBaseList 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
uuid
- the uuidoffset
- the offsetlimit
- the limitfilter
- the filterorderByField
- the order by fieldorderAsc
- the order ascfilteredTypes
- the filtered typespluginName
- the plugin nameAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionSimpleNodeBaseList getChildrenNodesByCategoryPaginated(String uuid, int offset, int limit, String filter, String orderByField, boolean orderAsc, List<Integer> filteredTypes) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidoffset
- the offsetlimit
- the limitfilter
- the filterorderByField
- the order by fieldorderAsc
- the order ascfilteredTypes
- the filtered typesAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionSimpleNodeBaseList 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
uuid
- the uuidoffset
- the offsetlimit
- the limitfilter
- the filterorderByField
- the order by fieldorderAsc
- the order ascfilteredTypes
- the filtered typespluginName
- the plugin nameAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<BreadCrumbItem> getBreadcrumb(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException
uuid
- the uuidPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionvoid subscribe(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException, LockException
uuid
- the uuidPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionLockException
- the lock exceptionvoid unsubscribe(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException, LockException
uuid
- the uuidPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionLockException
- the lock exceptionvoid importZip(String uuid, InputStream is) throws UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuidis
- the isUnsupportedMimeTypeException
- 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 exceptionvoid unZip(String uuid, String dstId) throws UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idUnsupportedMimeTypeException
- 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 exceptionInputStream exportZip(List<String> uuids, boolean background) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException, LockException, ConversionException
uuids
- the uuidsbackground
- the backgroundPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionLockException
- the lock exceptionConversionException
- the conversion exceptionInputStream exportZip(List<String> uuids, boolean withPath, boolean background) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknownException, LockException, ConversionException
uuids
- the uuidswithPath
- the withPathbackground
- the backgroundPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionLockException
- the lock exceptionConversionException
- the conversion exceptionList<Node> getNodesFiltered(List<String> uuids) throws WebserviceException, UnsupportedEncodingException, UnknownException
uuids
- the uuidsWebserviceException
- the webservice exceptionUnsupportedEncodingException
- the unsupported encoding exceptionUnknownException
- the unknown exceptionZipDownloadEvaluationResult evaluateDownloadZip(List<String> uuids) throws WebserviceException, UnsupportedEncodingException, UnknownException
uuids
- the uuidsWebserviceException
- the webservice exceptionUnsupportedEncodingException
- the unsupported encoding exceptionUnknownException
- the unknown exceptionString generateDownloadToken(String uuid, boolean preview) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidpreview
- the previewPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionNode restore(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean hasNodesLockedByOtherUser(String uuid) throws WebserviceException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
uuid
- the uuidWebserviceException
- the webservice exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionLockInfo lockNode(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionLockInfo forceLockNode(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid unlockNode(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid forceUnlockNode(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean isLocked(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionLockInfo getLockInfo(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionLockException
- the lock exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid setComment(String uuid, String versionName, String comment) throws VersionException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException, PathNotFoundException
uuid
- the uuidversionName
- the version namecomment
- the commentVersionException
- the version exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionPathNotFoundException
- the path not found exceptionPaginatorPluginList getPaginatorPlugins() throws UnknownException, WebserviceException
UnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.