public interface ArchiveService extends SearchExecutionService<ArchiveListItemType>
| Modifier and Type | Method and Description |
|---|---|
ArchiveType |
getArchiveByName(String name)
This method returns the unique archive with the given name.
|
ArchiveType |
getDefinition(ArchiveReferenceType reference)
Returns detailed information about the archive definition identified by the specified
reference.
|
FieldDefinition |
getField(ArchiveReferenceType definitionReference,
String fieldName)
Returns the field identified by the specified definition-reference and field-name.
|
List<FieldDefinition> |
getFields(ArchiveReferenceType reference)
Returns the fields of the archive definition identified by the specified reference.
|
SearchResultPage<ArchiveListItemType> |
search(Statement statement,
PageDefinition pageDefinition)
Returns a list of basic information about all archive definitions in the system.
|
ArchiveType getArchiveByName(String name) throws EcmException
name - the name of the archive to returnEcmExceptionSearchResultPage<ArchiveListItemType> search(Statement statement, PageDefinition pageDefinition) throws EcmException
search in interface SearchExecutionService<ArchiveListItemType>statement - search expressionpageDefinition - result page offset and sizeSystemException - system exceptionSearchException - indicates any error during the search operationEcmExceptionArchiveType getDefinition(ArchiveReferenceType reference) throws EcmException
reference - the reference identifying the definitionSystemException - system exceptionEcmExceptionList<FieldDefinition> getFields(ArchiveReferenceType reference) throws EcmException
reference - the reference that identifies the archive definitionSystemException - system exceptionEcmExceptionFieldDefinition getField(ArchiveReferenceType definitionReference, String fieldName) throws EcmException
definitionReference - the reference to the definition that contains the fieldfieldName - the name of the fieldSystemException - system exceptionEcmExceptionCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.