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, resource
public 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 BaseFolder
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknownException
WebserviceException
public void deleteFolder(String uuid) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
deleteFolder
in interface BaseFolder
AutomationException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public void renameFolder(String uuid, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
renameFolder
in interface BaseFolder
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public void moveFolder(String uuid, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
moveFolder
in interface BaseFolder
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public List<Folder> getFolderChildren(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
getFolderChildren
in interface BaseFolder
AccessDeniedException
PathNotFoundException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public boolean isValidFolder(String uuid) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
isValidFolder
in interface BaseFolder
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public String getFolderPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
getFolderPath
in interface BaseFolder
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public 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 BaseFolder
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknownException
WebserviceException
public void purgeFolder(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
purgeFolder
in interface BaseFolder
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
PromotedAsRecordLockException
UnknownException
WebserviceException
public void setStyle(String uuid, long styleId) throws VersionException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
setStyle
in interface BaseFolder
VersionException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public 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 BaseFolder
AccessDeniedException
PathNotFoundException
DatabaseException
LockException
PromotedAsRecordLockException
UnknownException
WebserviceException
public 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 BaseFolder
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
TemplateException
DocumentTemplateException
ItemExistsException
AutomationException
FilePlanException
PromotedAsRecordLockException
ParseException
NoSuchGroupException
NoSuchPropertyException
LockException
ValidationFormException
ClassNotFoundException
UnknownException
WebserviceException
Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.