public class ArchiveServiceClientImpl extends Object implements ArchiveServiceClient
ArchiveServiceClient
.Constructor and Description |
---|
ArchiveServiceClientImpl(com.lexmark.saperion.archive.ArchiveService archiveService,
com.lexmark.saperion.document.DocumentService documentService,
com.lexmark.saperion.folder.FolderService folderService,
com.lexmark.saperion.lookup.LookupEntryService lookupEntryService) |
Modifier and Type | Method and Description |
---|---|
SearchClient<com.lexmark.saperion.archive.ArchiveListItemType> |
newArchiveSearch()
This method returns a search client for the archives available in the system.
|
SearchClient<com.lexmark.saperion.document.DocumentRevisionListItemType> |
newDocumentSearch(com.lexmark.saperion.archive.ArchiveReferenceType reference)
This method returns a search client for documents in the archive.
|
SearchClient<com.lexmark.saperion.document.DocumentRevisionListItemType> |
newDocumentSearch(com.lexmark.saperion.archive.ArchiveReferenceType reference,
boolean recycleBinAware,
boolean revisionAware)
This method returns a search client for documents in the archive.
|
SearchClient<com.lexmark.saperion.folder.FolderListItemType> |
newFolderSearch(com.lexmark.saperion.archive.ArchiveReferenceType reference)
This method returns a search client for folders in the archive.
|
SearchClient<com.lexmark.saperion.lookup.LookupEntryListItemType> |
newLookupEntrySearch(com.lexmark.saperion.archive.ArchiveReferenceType reference)
This method returns a search client for lookup entries in the archive.
|
ArchiveClient |
resolve(com.lexmark.saperion.archive.ArchiveReferenceType reference)
This method returns a client for the archive referenced.
|
ArchiveClient |
resolveName(String archiveName)
This method returns a client for the archive with the given name.
|
public ArchiveServiceClientImpl(com.lexmark.saperion.archive.ArchiveService archiveService, com.lexmark.saperion.document.DocumentService documentService, com.lexmark.saperion.folder.FolderService folderService, com.lexmark.saperion.lookup.LookupEntryService lookupEntryService)
public SearchClient<com.lexmark.saperion.archive.ArchiveListItemType> newArchiveSearch() throws com.lexmark.saperion.exceptions.EcmException
ArchiveServiceClient
newArchiveSearch
in interface ArchiveServiceClient
com.lexmark.saperion.exceptions.EcmException
public ArchiveClient resolve(com.lexmark.saperion.archive.ArchiveReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
ArchiveServiceClient
resolve
in interface ArchiveServiceClient
reference
- a reference to the archive to obtain a client forcom.lexmark.saperion.exceptions.EcmException
public ArchiveClient resolveName(String archiveName) throws com.lexmark.saperion.exceptions.EcmException
ArchiveServiceClient
resolveName
in interface ArchiveServiceClient
archiveName
- the name of the archive to obtain a client forcom.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.document.DocumentRevisionListItemType> newDocumentSearch(com.lexmark.saperion.archive.ArchiveReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
ArchiveServiceClient
newDocumentSearch
in interface ArchiveServiceClient
reference
- a reference to the archive to search in.com.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.document.DocumentRevisionListItemType> newDocumentSearch(com.lexmark.saperion.archive.ArchiveReferenceType reference, boolean recycleBinAware, boolean revisionAware) throws com.lexmark.saperion.exceptions.EcmException
ArchiveServiceClient
newDocumentSearch
in interface ArchiveServiceClient
reference
- a reference to the archive to search in.recycleBinAware
- if set to true, will ignore the deleted documents (SYSINDEXSTATE=65002)revisionAware
- if set to true, will ignore the documents with SYSINDEXSTATE=55001com.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.folder.FolderListItemType> newFolderSearch(com.lexmark.saperion.archive.ArchiveReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
ArchiveServiceClient
newFolderSearch
in interface ArchiveServiceClient
reference
- a reference to the archive to search in.com.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.lookup.LookupEntryListItemType> newLookupEntrySearch(com.lexmark.saperion.archive.ArchiveReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
ArchiveServiceClient
newLookupEntrySearch
in interface ArchiveServiceClient
reference
- a reference to the archive to search in.com.lexmark.saperion.exceptions.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.