Class LookupEntryClientImpl

java.lang.Object
com.lexmark.saperion.client.implementation.lookup.LookupEntryClientImpl
All Implemented Interfaces:
LookupEntryClient

public class LookupEntryClientImpl extends Object implements LookupEntryClient
This is the default implementation of LookupEntryClient.
Author:
jschwarz
  • Constructor Summary

    Constructors
    Constructor
    Description
    LookupEntryClientImpl(com.lexmark.saperion.lookup.LookupEntryService lookupEntryService, com.lexmark.saperion.lookup.LookupEntryReferenceType reference)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method deletes the lookup entry instance.
    List<com.lexmark.saperion.administration.AclReferenceType>
    This method loads the ACLs that are currently set on this lookup entry.
    com.lexmark.saperion.lookup.LookupEntryListItemType
    This method loads the lookup entry instance.
    SearchClient<com.lexmark.saperion.PropertyType>
    This method returns a search client for the content of the given multi value field of the given lookup entry.
    void
    update(com.lexmark.saperion.lookup.UpdateLookupEntryInputType properties)
    This method updates a Lookup entry instance.
    void
    update(Map<String,com.lexmark.saperion.PropertyType> properties)
    This method updates a Lookup entry instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LookupEntryClientImpl

      public LookupEntryClientImpl(com.lexmark.saperion.lookup.LookupEntryService lookupEntryService, com.lexmark.saperion.lookup.LookupEntryReferenceType reference)
  • Method Details

    • update

      public void update(Map<String,com.lexmark.saperion.PropertyType> properties) throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: LookupEntryClient
      This method updates a Lookup entry instance.
      Specified by:
      update in interface LookupEntryClient
      Parameters:
      properties - the properties to update
      Throws:
      com.lexmark.saperion.exceptions.EcmException - indicates any system error
    • update

      public void update(com.lexmark.saperion.lookup.UpdateLookupEntryInputType properties) throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: LookupEntryClient
      This method updates a Lookup entry instance.
      Specified by:
      update in interface LookupEntryClient
      Parameters:
      properties - the properties to update
      Throws:
      com.lexmark.saperion.exceptions.EcmException - indicates any system error
    • delete

      public void delete() throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: LookupEntryClient
      This method deletes the lookup entry instance.
      Specified by:
      delete in interface LookupEntryClient
      Throws:
      com.lexmark.saperion.exceptions.EcmException - indicates any system error
    • load

      public com.lexmark.saperion.lookup.LookupEntryListItemType load() throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: LookupEntryClient
      This method loads the lookup entry instance.
      Specified by:
      load in interface LookupEntryClient
      Returns:
      the lookup entry instance
      Throws:
      com.lexmark.saperion.exceptions.EcmException - indicates any system error
    • searchMultiValueField

      public SearchClient<com.lexmark.saperion.PropertyType> searchMultiValueField(String fieldName) throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: LookupEntryClient
      This method returns a search client for the content of the given multi value field of the given lookup entry.
      Specified by:
      searchMultiValueField in interface LookupEntryClient
      Parameters:
      fieldName - the name of the multi value field
      Returns:
      a search client for the content of the given multi value field of the given lookup entry
      Throws:
      com.lexmark.saperion.exceptions.EcmException
    • getACLs

      public List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: LookupEntryClient
      This method loads the ACLs that are currently set on this lookup entry.
      Specified by:
      getACLs in interface LookupEntryClient
      Returns:
      a list of references to the entry's ACLs
      Throws:
      com.lexmark.saperion.exceptions.EcmException - when the ACLs could not be loaded