public class FolderClientImpl extends Object implements FolderClient
Constructor and Description |
---|
FolderClientImpl(FolderService folderService,
FolderReferenceType reference) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
This method deletes the specified folder.
|
List<AclReferenceType> |
getACLs()
This method returns the ACLs currently set on the folder.
|
FolderDocumentSearchServiceClient |
getDocuments()
This method returns a search client for the collection of documents contained in the current folder.
|
SearchClient<FolderListItemType> |
getSubFolders()
This method returns a collection containing the sub folders of this folder.
|
FolderListItemType |
load()
This method returns the properties of the specified folder.
|
void |
moveFolder(FolderReferenceType parent)
This method moves a folder to another parent.
|
SearchClient<PropertyType> |
searchMultiValueField(String fieldName)
This method returns a search client for the content of the given multi value field of the given folder.
|
void |
update(Map<String,PropertyType> input)
This method updates the properties of the given folder.
|
void |
update(UpdateFolderInputType properties)
This method updates the properties of the given folder.
|
public FolderClientImpl(FolderService folderService, FolderReferenceType reference)
public void delete() throws EcmException
FolderClient
delete
in interface FolderClient
EcmException
- indicates that a system exception occurredpublic FolderListItemType load() throws EcmException
FolderClient
load
in interface FolderClient
EcmException
- indicates that a system exception occurredpublic void moveFolder(FolderReferenceType parent) throws EcmException
FolderClient
moveFolder
in interface FolderClient
parent
- the new parent referenceEcmException
- indicates that a system exception occurredpublic void update(Map<String,PropertyType> input) throws EcmException
FolderClient
update
in interface FolderClient
input
- the new propertiesEcmException
public void update(UpdateFolderInputType properties) throws EcmException
FolderClient
update
in interface FolderClient
properties
- the new propertiesEcmException
public FolderDocumentSearchServiceClient getDocuments() throws EcmException
FolderClient
getDocuments
in interface FolderClient
EcmException
public SearchClient<FolderListItemType> getSubFolders() throws EcmException
FolderClient
getSubFolders
in interface FolderClient
EcmException
public SearchClient<PropertyType> searchMultiValueField(String fieldName) throws EcmException
FolderClient
searchMultiValueField
in interface FolderClient
fieldName
- the name of the multi value fieldEcmException
public List<AclReferenceType> getACLs() throws EcmException
FolderClient
getACLs
in interface FolderClient
EcmException
- when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.