public class FolderClientImpl extends Object implements FolderClient
Constructor and Description |
---|
FolderClientImpl(com.lexmark.saperion.folder.FolderService folderService,
com.lexmark.saperion.folder.FolderReferenceType reference) |
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.
|
public FolderClientImpl(com.lexmark.saperion.folder.FolderService folderService, com.lexmark.saperion.folder.FolderReferenceType reference)
public void delete() throws com.lexmark.saperion.exceptions.EcmException
FolderClient
delete
in interface FolderClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic com.lexmark.saperion.folder.FolderListItemType load() throws com.lexmark.saperion.exceptions.EcmException
FolderClient
load
in interface FolderClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic void moveFolder(com.lexmark.saperion.folder.FolderReferenceType parent) throws com.lexmark.saperion.exceptions.EcmException
FolderClient
moveFolder
in interface FolderClient
parent
- the new parent referencecom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic void update(Map<String,com.lexmark.saperion.PropertyType> input) throws com.lexmark.saperion.exceptions.EcmException
FolderClient
update
in interface FolderClient
input
- the new propertiescom.lexmark.saperion.exceptions.EcmException
public void update(com.lexmark.saperion.folder.UpdateFolderInputType properties) throws com.lexmark.saperion.exceptions.EcmException
FolderClient
update
in interface FolderClient
properties
- the new propertiescom.lexmark.saperion.exceptions.EcmException
public FolderDocumentSearchServiceClient getDocuments() throws com.lexmark.saperion.exceptions.EcmException
FolderClient
getDocuments
in interface FolderClient
com.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.folder.FolderListItemType> getSubFolders() throws com.lexmark.saperion.exceptions.EcmException
FolderClient
getSubFolders
in interface FolderClient
com.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.PropertyType> searchMultiValueField(String fieldName) throws com.lexmark.saperion.exceptions.EcmException
FolderClient
searchMultiValueField
in interface FolderClient
fieldName
- the name of the multi value fieldcom.lexmark.saperion.exceptions.EcmException
public List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
FolderClient
getACLs
in interface FolderClient
com.lexmark.saperion.exceptions.EcmException
- when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.