public class FolderDocumentSearchServiceClientImpl extends SearchClientImpl<com.lexmark.saperion.document.DocumentRevisionListItemType> implements FolderDocumentSearchServiceClient
FolderDocumentSearchServiceClient
.Constructor and Description |
---|
FolderDocumentSearchServiceClientImpl(com.lexmark.saperion.folder.FolderService folderService,
com.lexmark.saperion.search.SearchExecutionService<com.lexmark.saperion.document.DocumentRevisionListItemType> searchService,
com.lexmark.saperion.folder.FolderReferenceType reference) |
Modifier and Type | Method and Description |
---|---|
void |
addDocument(com.lexmark.saperion.document.DocumentReferenceType document)
This method files the document referenced into the current folder.
|
void |
addDocuments(List<com.lexmark.saperion.document.DocumentReferenceType> documents)
This method adds the given documents to the current folder.
|
void |
moveDocument(com.lexmark.saperion.document.DocumentReferenceType document,
com.lexmark.saperion.folder.FolderReferenceType destination)
This method moves the document from the source folder to the target folder.
|
void |
removeDocument(com.lexmark.saperion.document.DocumentReferenceType document)
This method deletes the referenced document from the given folder.
|
exists, list, list, list, list, list, list, list, page, page, search, uniqueResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FolderDocumentSearchServiceClientImpl(com.lexmark.saperion.folder.FolderService folderService, com.lexmark.saperion.search.SearchExecutionService<com.lexmark.saperion.document.DocumentRevisionListItemType> searchService, com.lexmark.saperion.folder.FolderReferenceType reference)
public void addDocuments(List<com.lexmark.saperion.document.DocumentReferenceType> documents) throws com.lexmark.saperion.exceptions.EcmException
FolderDocumentSearchServiceClient
addDocuments
in interface FolderDocumentSearchServiceClient
documents
- the document referencescom.lexmark.saperion.exceptions.EcmException
- indicates any system error during the operationpublic void removeDocument(com.lexmark.saperion.document.DocumentReferenceType document) throws com.lexmark.saperion.exceptions.EcmException
FolderDocumentSearchServiceClient
removeDocument
in interface FolderDocumentSearchServiceClient
document
- the document referencecom.lexmark.saperion.exceptions.EcmException
- indicates any system error during the operationpublic void addDocument(com.lexmark.saperion.document.DocumentReferenceType document) throws com.lexmark.saperion.exceptions.EcmException
FolderDocumentSearchServiceClient
addDocument
in interface FolderDocumentSearchServiceClient
document
- a reference to the document to add to the foldercom.lexmark.saperion.exceptions.system.SystemException
- any system error that occurred during the filing processcom.lexmark.saperion.exceptions.EcmException
public void moveDocument(com.lexmark.saperion.document.DocumentReferenceType document, com.lexmark.saperion.folder.FolderReferenceType destination) throws com.lexmark.saperion.exceptions.EcmException
FolderDocumentSearchServiceClient
moveDocument
in interface FolderDocumentSearchServiceClient
document
- a reference to the document to move from the source folderdestination
- a reference to the target folder in which the document will be movedcom.lexmark.saperion.exceptions.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.