public class FolderImpl extends ClientImpl implements BaseFolder
Constructor and Description |
---|
FolderImpl(String host,
String user,
String password)
FolderImpl
|
Modifier and Type | Method and Description |
---|---|
Folder |
createFolder(Folder folder)
create
|
Folder |
createFolderSimple(String fldPath)
createSimple
|
void |
deleteFolder(String fldId)
delete
|
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 |
renameFolder(String fldId,
String newName)
rename
|
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 LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteFolder
in interface BaseFolder
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 PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderChildren
in interface BaseFolder
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public boolean isValidFolder(String fldId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidFolder
in interface BaseFolder
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getFolderPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderPath
in interface BaseFolder
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
Copyright © 2015. All rights reserved.