Class 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>
    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:
    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
      • 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 Detail

      • SearchUniqueLookupEntryOperation

        public SearchUniqueLookupEntryOperation​(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference,
                                                com.lexmark.saperion.remote.common.query.QueryExpression<java.lang.Boolean> filter)
    • 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 class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.lookup.LookupEntryListItemType,​com.lexmark.saperion.exceptions.EcmException,​com.lexmark.saperion.remote.common.Connection>