Package com.saperion.operations.lookup
Class SearchUniqueLookupEntryOperation
- java.lang.Object
-
- com.lexmark.saperion.remote.common.operations.AbstractOperation<ResultType,EcmExceptionType,com.lexmark.saperion.remote.common.Connection>
-
- com.lexmark.saperion.remote.common.operations.EcmOperation<com.lexmark.saperion.lookup.LookupEntryListItemType,com.lexmark.saperion.exceptions.EcmException>
-
- com.saperion.operations.lookup.SearchUniqueLookupEntryOperation
-
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.lookup.LookupEntryListItemType,com.lexmark.saperion.exceptions.EcmException,com.lexmark.saperion.remote.common.Connection>
,java.io.Serializable
public class SearchUniqueLookupEntryOperation extends com.lexmark.saperion.remote.common.operations.EcmOperation<com.lexmark.saperion.lookup.LookupEntryListItemType,com.lexmark.saperion.exceptions.EcmException>
ThisOperation
returns the unique lookup entry in a given definition that meets acondition
. If no such entry exists null is returned. If several entries meet the condition an exception is thrown- Author:
- jschwarz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchUniqueLookupEntryOperation(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, com.lexmark.saperion.remote.common.query.QueryExpression<java.lang.Boolean> filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.lexmark.saperion.archive.ArchiveReferenceType
geArchiveReference()
com.lexmark.saperion.remote.common.query.QueryExpression<java.lang.Boolean>
getFilter()
com.lexmark.saperion.lookup.LookupEntryListItemType
invoke()
java.lang.String
toString()
-
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
afterInvoke, beforeInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap
-
-
-
-
Method Detail
-
invoke
public com.lexmark.saperion.lookup.LookupEntryListItemType invoke() throws com.lexmark.saperion.exceptions.EcmException
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
geArchiveReference
public com.lexmark.saperion.archive.ArchiveReferenceType geArchiveReference()
-
getFilter
public com.lexmark.saperion.remote.common.query.QueryExpression<java.lang.Boolean> getFilter()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classcom.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.lookup.LookupEntryListItemType,com.lexmark.saperion.exceptions.EcmException,com.lexmark.saperion.remote.common.Connection>
-
-