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
FolderClientdelete in interface FolderClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic com.lexmark.saperion.folder.FolderListItemType load()
throws com.lexmark.saperion.exceptions.EcmException
FolderClientload in interface FolderClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic void moveFolder(com.lexmark.saperion.folder.FolderReferenceType parent)
throws com.lexmark.saperion.exceptions.EcmException
FolderClientmoveFolder in interface FolderClientparent - 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
FolderClientupdate in interface FolderClientinput - the new propertiescom.lexmark.saperion.exceptions.EcmExceptionpublic void update(com.lexmark.saperion.folder.UpdateFolderInputType properties)
throws com.lexmark.saperion.exceptions.EcmException
FolderClientupdate in interface FolderClientproperties - the new propertiescom.lexmark.saperion.exceptions.EcmExceptionpublic FolderDocumentSearchServiceClient getDocuments() throws com.lexmark.saperion.exceptions.EcmException
FolderClientgetDocuments in interface FolderClientcom.lexmark.saperion.exceptions.EcmExceptionpublic SearchClient<com.lexmark.saperion.folder.FolderListItemType> getSubFolders() throws com.lexmark.saperion.exceptions.EcmException
FolderClientgetSubFolders in interface FolderClientcom.lexmark.saperion.exceptions.EcmExceptionpublic SearchClient<com.lexmark.saperion.PropertyType> searchMultiValueField(String fieldName) throws com.lexmark.saperion.exceptions.EcmException
FolderClientsearchMultiValueField in interface FolderClientfieldName - the name of the multi value fieldcom.lexmark.saperion.exceptions.EcmExceptionpublic List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
FolderClientgetACLs in interface FolderClientcom.lexmark.saperion.exceptions.EcmException - when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.