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) |
Folder |
createFolder(Folder fld)
create
|
Folder |
createFolderSimple(String fldPath)
createSimple
|
void |
createMissingFolders(String fldPath) |
void |
deleteFolder(String fldId)
delete
|
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)
getChildren
|
String |
getFolderPath(String uuid)
getPath
|
Folder |
getFolderProperties(String fldId)
getProperties
|
boolean |
isValidFolder(String fldId)
isValid
|
void |
moveFolder(String fldId,
String dstId)
move
|
void |
purgeFolder(String fldId) |
void |
renameFolder(String fldId,
String newName)
rename
|
getClientpublic Folder createFolder(Folder fld) 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 BaseFolderAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void deleteFolder(String fldId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteFolder in interface BaseFolderLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void renameFolder(String fldId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void moveFolder(String fldId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Folder> getFolderChildren(String fldId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderChildren in interface BaseFolderPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic boolean isValidFolder(String fldId) 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 void copyFolder(String fldId, String dstId) 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 BaseFolderAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void purgeFolder(String fldId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeFolder in interface BaseFolderLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void createMissingFolders(String fldPath) throws RepositoryException, DatabaseException, PathNotFoundException, ItemExistsException, AccessDeniedException, ExtensionException, AutomationException, UnknowException, WebserviceException
Copyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.