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 returnEcmException
SearchResultPage<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 operationEcmException
ArchiveType getDefinition(ArchiveReferenceType reference) throws EcmException
reference
- the reference identifying the definitionSystemException
- system exceptionEcmException
List<FieldDefinition> getFields(ArchiveReferenceType reference) throws EcmException
reference
- the reference that identifies the archive definitionSystemException
- system exceptionEcmException
FieldDefinition getField(ArchiveReferenceType definitionReference, String fieldName) throws EcmException
definitionReference
- the reference to the definition that contains the fieldfieldName
- the name of the fieldSystemException
- system exceptionEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.