public class NodeImpl extends ClientImpl implements BaseNode, Serializable
getClient, getClient, resource, resourcepublic NodeImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public Node getNodeByUuid(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodeByUuid in interface BaseNodeAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Version> getVersionHistory(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getVersionHistory in interface BaseNodeAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void restoreVersion(String uuid, String versionName) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public void purgeVersionHistory(String uuid) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, UnknowException, WebserviceException
purgeVersionHistory in interface BaseNodeAccessDeniedExceptionPathNotFoundExceptionLockExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionUnknowExceptionWebserviceExceptionpublic PromoteAsRecordEvaluation mayBePromotedAsRecord(String uuid, boolean fullEvaluation) throws AccessDeniedException, PathNotFoundException, DatabaseException, FilePlanRecordManagerException, UnknowException, WebserviceException
mayBePromotedAsRecord in interface BaseNodeAccessDeniedExceptionPathNotFoundExceptionDatabaseExceptionFilePlanRecordManagerExceptionUnknowExceptionWebserviceExceptionpublic void promoteAsRecord(String uuid) throws PathNotFoundException, DatabaseException, FilePlanRecordManagerException, UnknowException, WebserviceException, PromoteAsRecordException
promoteAsRecord in interface BaseNodePathNotFoundExceptionDatabaseExceptionFilePlanRecordManagerExceptionUnknowExceptionWebserviceExceptionPromoteAsRecordExceptionpublic void degradeRecord(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, LockException, UnknowException, WebserviceException
degradeRecord in interface BaseNodePathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionLockExceptionUnknowExceptionWebserviceExceptionpublic boolean isElectronicRecordPath(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknowException
isElectronicRecordPath in interface BaseNodePathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic Record getElectronicRecordInPath(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknowException
getElectronicRecordInPath in interface BaseNodePathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionRepositoryExceptionWebserviceExceptionUnknowExceptionpublic ChildNodeList getChildrenNodesPaginated(String uuid, int offset, int limit, String filter, String orderByFiled, boolean orderAsc, List<Integer> filteredTypes) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getChildrenNodesPaginated in interface BaseNodeAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic ChildNodeList getChildrenNodesByCategoryPaginated(String uuid, int offset, int limit, String filter, String orderByFiled, boolean orderAsc, List<Integer> filteredTypes) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getChildrenNodesByCategoryPaginated in interface BaseNodeAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<BreadCrumbItem> getBreadcrumb(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, RepositoryException, WebserviceException, UnknowException
getBreadcrumb in interface BaseNodePathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionRepositoryExceptionWebserviceExceptionUnknowExceptionpublic void subscribe(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknowException, LockException
subscribe in interface BaseNodePathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionLockExceptionpublic void unsubscribe(String uuid) throws PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknowException, LockException
unsubscribe in interface BaseNodePathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionLockExceptionpublic void importZip(String uuid, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknowException, WebserviceException
importZip in interface BaseNodeIOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionPromotedAsRecordLockExceptionUnknowExceptionWebserviceExceptionpublic void unZip(String uuid, String dstId) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknowException, WebserviceException
unZip in interface BaseNodeIOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionPromotedAsRecordLockExceptionUnknowExceptionWebserviceExceptionpublic InputStream exportZip(List<String> uuids, boolean background) throws WebserviceException, UnknowException, ConversionException
exportZip in interface BaseNodeWebserviceExceptionUnknowExceptionConversionExceptionpublic List<Node> getNodesFiltered(List<String> uuids) throws WebserviceException, UnsupportedEncodingException, UnknowException
getNodesFiltered in interface BaseNodeWebserviceExceptionUnsupportedEncodingExceptionUnknowExceptionpublic ZipDownloadEvaluationResult evaluateDownloadZip(List<String> uuids) throws WebserviceException, UnknowException
evaluateDownloadZip in interface BaseNodeWebserviceExceptionUnknowExceptionpublic String generateDownloadToken(String uuid, boolean preview) throws IOException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
generateDownloadToken in interface BaseNodeIOExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Node restore(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
restore in interface BaseNodeAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.