public class SearchDocuments extends AbstractOperation<ArrayList<com.lexmark.saperion.document.DocumentRevisionReferenceType>> implements Operation<ArrayList<com.lexmark.saperion.document.DocumentRevisionReferenceType>>
documents
that match.Constructor and Description |
---|
SearchDocuments(com.lexmark.saperion.document.DocumentDefinitionReferenceType definitionName,
QueryExpression<Boolean> filter)
This creates a new
operation that searches the given definition for documents that match
the given filter (i.e. |
SearchDocuments(String definitionName,
QueryExpression<Boolean> filter)
This creates a new
operation that searches the given definition for documents that match
the given filter (i.e. |
Modifier and Type | Method and Description |
---|---|
com.lexmark.saperion.document.DocumentDefinitionReferenceType |
getDefinitionName() |
QueryExpression<Boolean> |
getFilter() |
ArrayList<com.lexmark.saperion.document.DocumentRevisionReferenceType> |
invoke()
The method that will be called on the server side.
|
String |
toString() |
afterInvoke, getResult, toArrayList
beforeInvoke, getClientToken, mapException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
afterInvoke, beforeInvoke, getResult
public SearchDocuments(com.lexmark.saperion.document.DocumentDefinitionReferenceType definitionName, QueryExpression<Boolean> filter)
operation
that searches the given definition for documents that match
the given filter (i.e. documents for which the filter holds) and lists their
ids
.definitionName
- The name of the definition to search in. Must not be null.filter
- The condition that must hold for each document returned. Must not be null.public SearchDocuments(String definitionName, QueryExpression<Boolean> filter)
operation
that searches the given definition for documents that match
the given filter (i.e. documents for which the filter holds) and lists their
ids
.definitionName
- The name of the definition to search in. Must not be null.filter
- The condition that must hold for each document returned. Must not be null.public ArrayList<com.lexmark.saperion.document.DocumentRevisionReferenceType> invoke() throws SaBasicException
Operation
invoke
in interface Operation<ArrayList<com.lexmark.saperion.document.DocumentRevisionReferenceType>>
SaBasicException
- exception when invoking this operationpublic String toString()
toString
in class AbstractOperation<ArrayList<com.lexmark.saperion.document.DocumentRevisionReferenceType>>
public com.lexmark.saperion.document.DocumentDefinitionReferenceType getDefinitionName()
public QueryExpression<Boolean> getFilter()
Copyright © 2016 SAPERION AG. All rights reserved.