public class FolderImpl extends ClientImpl implements BaseFolder
Constructor and Description |
---|
FolderImpl(String host,
String user,
String password)
FolderImpl
|
Modifier and Type | Method and Description |
---|---|
void |
copyFolder(String fldId,
String dstId,
String newName) |
Folder |
createFolder(Folder folder) |
Folder |
createFolderSimple(String fldPath) |
void |
createMissingFolders(String fldPath) |
void |
deleteFolder(String fldId) |
void |
extendedFolderCopy(String fldId,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
ContentInfo |
getContentInfo(String fldId) |
List<Folder> |
getFolderChildren(String fldId) |
String |
getFolderPath(String uuid) |
Folder |
getFolderProperties(String fldId) |
boolean |
isValidFolder(String fldId) |
void |
moveFolder(String fldId,
String dstId) |
void |
purgeFolder(String fldId) |
void |
renameFolder(String fldId,
String newName) |
void |
setStyle(String fldId,
long styleId) |
getClient
public Folder createFolder(Folder folder) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public Folder createFolderSimple(String fldPath) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public Folder getFolderProperties(String fldId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getFolderProperties
in interface BaseFolder
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public void deleteFolder(String fldId) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteFolder
in interface BaseFolder
AutomationException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void renameFolder(String fldId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameFolder
in interface BaseFolder
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void moveFolder(String fldId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveFolder
in interface BaseFolder
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<Folder> getFolderChildren(String fldId) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderChildren
in interface BaseFolder
AccessDeniedException
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public boolean isValidFolder(String fldId) throws AccessDeniedException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidFolder
in interface BaseFolder
AccessDeniedException
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getFolderPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderPath
in interface BaseFolder
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void copyFolder(String fldId, String dstId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, IOException, AutomationException, DatabaseException, UserQuotaExceededException, UnknowException, WebserviceException
public void extendedFolderCopy(String fldId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public ContentInfo getContentInfo(String fldId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getContentInfo
in interface BaseFolder
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public void purgeFolder(String fldId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeFolder
in interface BaseFolder
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void setStyle(String fldId, long styleId) throws VersionException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setStyle
in interface BaseFolder
VersionException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void createMissingFolders(String fldPath) throws RepositoryException, DatabaseException, PathNotFoundException, ItemExistsException, AccessDeniedException, ExtensionException, AutomationException, UnknowException, WebserviceException
Copyright © 2017 Open Knowledge Management System S.L.. All Rights Reserved.