public interface FolderClient
Modifier and Type | Method and Description |
---|---|
void |
delete()
This method deletes the specified folder.
|
List<com.lexmark.saperion.administration.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<com.lexmark.saperion.folder.FolderListItemType> |
getSubFolders()
This method returns a collection containing the sub folders of this folder.
|
com.lexmark.saperion.folder.FolderListItemType |
load()
This method returns the properties of the specified folder.
|
void |
moveFolder(com.lexmark.saperion.folder.FolderReferenceType parent)
This method moves a folder to another parent.
|
SearchClient<com.lexmark.saperion.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,com.lexmark.saperion.PropertyType> input)
This method updates the properties of the given folder.
|
void |
update(com.lexmark.saperion.folder.UpdateFolderInputType properties)
This method updates the properties of the given folder.
|
void delete() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredcom.lexmark.saperion.folder.FolderListItemType load() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredvoid moveFolder(com.lexmark.saperion.folder.FolderReferenceType parent) throws com.lexmark.saperion.exceptions.EcmException
parent
- the new parent referencecom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredvoid update(Map<String,com.lexmark.saperion.PropertyType> input) throws com.lexmark.saperion.exceptions.EcmException
input
- the new propertiescom.lexmark.saperion.exceptions.EcmException
void update(com.lexmark.saperion.folder.UpdateFolderInputType properties) throws com.lexmark.saperion.exceptions.EcmException
properties
- the new propertiescom.lexmark.saperion.exceptions.EcmException
FolderDocumentSearchServiceClient getDocuments() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
SearchClient<com.lexmark.saperion.folder.FolderListItemType> getSubFolders() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
SearchClient<com.lexmark.saperion.PropertyType> searchMultiValueField(String fieldName) throws com.lexmark.saperion.exceptions.EcmException
fieldName
- the name of the multi value fieldcom.lexmark.saperion.exceptions.EcmException
List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
- when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.