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, UnknowException, WebserviceException
public Folder getFolderProperties(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getFolderProperties in interface BaseFolderAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void deleteFolder(String uuid) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteFolder in interface BaseFolderAutomationExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void renameFolder(String uuid, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void moveFolder(String uuid, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Folder> getFolderChildren(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderChildren in interface BaseFolderAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic boolean isValidFolder(String uuid) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidFolder in interface BaseFolderPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getFolderPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderPath in interface BaseFolderAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder copyFolder(String uuid, String dstId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, IOException, AutomationException, DatabaseException, UserQuotaExceededException, PromotedAsRecordLockException, UnknowException, 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, IOException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknowException, WebserviceException
public ContentInfo getContentInfo(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getContentInfo in interface BaseFolderAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void purgeFolder(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknowException, WebserviceException
purgeFolder in interface BaseFolderLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPromotedAsRecordLockExceptionUnknowExceptionWebserviceExceptionpublic void setStyle(String uuid, long styleId) throws VersionException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setStyle in interface BaseFolderVersionExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void createMissingFolders(String fldPath) throws RepositoryException, DatabaseException, PathNotFoundException, ItemExistsException, AccessDeniedException, AutomationException, PromotedAsRecordLockException, UnknowException, WebserviceException
public void setFolderDescription(String uuid, String description) throws AccessDeniedException, PathNotFoundException, DatabaseException, LockException, PromotedAsRecordLockException, UnknowException, WebserviceException
setFolderDescription in interface BaseFolderAccessDeniedExceptionPathNotFoundExceptionDatabaseExceptionLockExceptionPromotedAsRecordLockExceptionUnknowExceptionWebserviceExceptionpublic 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, IOException, DatabaseException, TemplateException, DocumentTemplateException, ItemExistsException, AutomationException, FilePlanException, PromotedAsRecordLockException, ParseException, NoSuchGroupException, NoSuchPropertyException, LockException, ValidationFormException, ClassNotFoundException, UnknowException, WebserviceException
createFolderFromTemplate in interface BaseFolderPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionTemplateExceptionDocumentTemplateExceptionItemExistsExceptionAutomationExceptionFilePlanExceptionPromotedAsRecordLockExceptionParseExceptionNoSuchGroupExceptionNoSuchPropertyExceptionLockExceptionValidationFormExceptionClassNotFoundExceptionUnknowExceptionWebserviceExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.