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
FolderClientdelete in interface FolderClientEcmException - indicates that a system exception occurredpublic FolderListItemType load() throws EcmException
FolderClientload in interface FolderClientEcmException - indicates that a system exception occurredpublic void moveFolder(FolderReferenceType parent) throws EcmException
FolderClientmoveFolder in interface FolderClientparent - the new parent referenceEcmException - indicates that a system exception occurredpublic void update(Map<String,PropertyType> input) throws EcmException
FolderClientupdate in interface FolderClientinput - the new propertiesEcmExceptionpublic void update(UpdateFolderInputType properties) throws EcmException
FolderClientupdate in interface FolderClientproperties - the new propertiesEcmExceptionpublic FolderDocumentSearchServiceClient getDocuments() throws EcmException
FolderClientgetDocuments in interface FolderClientEcmExceptionpublic SearchClient<FolderListItemType> getSubFolders() throws EcmException
FolderClientgetSubFolders in interface FolderClientEcmExceptionpublic SearchClient<PropertyType> searchMultiValueField(String fieldName) throws EcmException
FolderClientsearchMultiValueField in interface FolderClientfieldName - the name of the multi value fieldEcmExceptionpublic List<AclReferenceType> getACLs() throws EcmException
FolderClientgetACLs in interface FolderClientEcmException - when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.