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>, Serializable

public class SearchUniqueLookupEntryOperation extends com.lexmark.saperion.remote.common.operations.EcmOperation<com.lexmark.saperion.lookup.LookupEntryListItemType,com.lexmark.saperion.exceptions.EcmException>
This Operation returns the unique lookup entry in a given definition that meets a condition. If no such entry exists null is returned. If several entries meet the condition an exception is thrown
Author:
jschwarz
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    SearchUniqueLookupEntryOperation(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, com.lexmark.saperion.remote.common.query.QueryExpression<Boolean> filter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.lexmark.saperion.archive.ArchiveReferenceType
     
    com.lexmark.saperion.remote.common.query.QueryExpression<Boolean>
     
    com.lexmark.saperion.lookup.LookupEntryListItemType
     
     

    Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation

    afterInvoke, beforeInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.lexmark.saperion.remote.common.operations.Operation

    audit, dispatchEvent, isAuditable, isEventDispatcher
  • Constructor Details

    • SearchUniqueLookupEntryOperation

      public SearchUniqueLookupEntryOperation(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, com.lexmark.saperion.remote.common.query.QueryExpression<Boolean> filter)
  • Method Details

    • 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<Boolean> getFilter()
    • toString

      public String toString()
      Overrides:
      toString in class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.lookup.LookupEntryListItemType,com.lexmark.saperion.exceptions.EcmException,com.lexmark.saperion.remote.common.Connection>