public class FolderImpl extends ClientImpl implements BaseFolder, Serializable
| Constructor and Description |
|---|
FolderImpl(String host)
FolderImpl
|
| Modifier and Type | Method and Description |
|---|---|
Folder |
copyFolder(String uuid,
String dstId,
String newName) |
Folder |
createFolder(String uuid,
String name) |
Folder |
createFolderFromTemplate(String uuid,
String dstPath,
String language,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki,
Map<String,String> properties) |
void |
createMissingFolders(String fldPath) |
void |
deleteFolder(String uuid) |
Folder |
extendedFolderCopy(String uuid,
String dstId,
String newName,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
ContentInfo |
getContentInfo(String uuid) |
List<Folder> |
getFolderChildren(String uuid) |
String |
getFolderPath(String uuid) |
Folder |
getFolderProperties(String uuid) |
boolean |
isValidFolder(String uuid) |
void |
moveFolder(String uuid,
String dstId) |
void |
purgeFolder(String uuid) |
void |
renameFolder(String uuid,
String newName) |
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
void |
setFolderDescription(String uuid,
String description) |
void |
setStyle(String uuid,
long styleId) |
getClient, getClient, resource, resourcepublic FolderImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public Folder createFolder(String uuid, String name) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
public Folder getFolderProperties(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
getFolderProperties in interface BaseFolderAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic void deleteFolder(String uuid) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
deleteFolder in interface BaseFolderAutomationExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic void renameFolder(String uuid, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
renameFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic void moveFolder(String uuid, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
moveFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic List<Folder> getFolderChildren(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
getFolderChildren in interface BaseFolderAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic boolean isValidFolder(String uuid) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
isValidFolder in interface BaseFolderPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic String getFolderPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
getFolderPath in interface BaseFolderAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic Folder copyFolder(String uuid, String dstId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, AutomationException, DatabaseException, UserQuotaExceededException, PromotedAsRecordLockException, UnknownException, WebserviceException
public Folder extendedFolderCopy(String uuid, String dstId, String newName, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
public ContentInfo getContentInfo(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
getContentInfo in interface BaseFolderAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic void purgeFolder(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
purgeFolder in interface BaseFolderLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPromotedAsRecordLockExceptionUnknownExceptionWebserviceExceptionpublic void setStyle(String uuid, long styleId) throws VersionException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
setStyle in interface BaseFolderVersionExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic void createMissingFolders(String fldPath) throws RepositoryException, DatabaseException, PathNotFoundException, ItemExistsException, AccessDeniedException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
public void setFolderDescription(String uuid, String description) throws AccessDeniedException, PathNotFoundException, DatabaseException, LockException, PromotedAsRecordLockException, UnknownException, WebserviceException
setFolderDescription in interface BaseFolderAccessDeniedExceptionPathNotFoundExceptionDatabaseExceptionLockExceptionPromotedAsRecordLockExceptionUnknownExceptionWebserviceExceptionpublic Folder createFolderFromTemplate(String uuid, String dstPath, String language, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki, Map<String,String> properties) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, TemplateException, DocumentTemplateException, ItemExistsException, AutomationException, FilePlanException, PromotedAsRecordLockException, ParseException, NoSuchGroupException, NoSuchPropertyException, LockException, ValidationFormException, ClassNotFoundException, UnknownException, WebserviceException
createFolderFromTemplate in interface BaseFolderPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionTemplateExceptionDocumentTemplateExceptionItemExistsExceptionAutomationExceptionFilePlanExceptionPromotedAsRecordLockExceptionParseExceptionNoSuchGroupExceptionNoSuchPropertyExceptionLockExceptionValidationFormExceptionClassNotFoundExceptionUnknownExceptionWebserviceExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.