Class LinkedDomainValuesFactory

java.lang.Object
com.aquima.interactions.portal.model.factory.LinkedDomainValuesFactory
All Implemented Interfaces:
IDomainValuesFactory, Serializable

public final class LinkedDomainValuesFactory extends Object implements IDomainValuesFactory
Domain values factory that combines two handler factories.
Since:
11.0
Author:
Petru Galanton
See Also:
  • Method Details

    • createFor

      public static IDomainValuesFactory createFor(IDomainValuesFactory factory, IDomainValuesFactory defaultFactory)
      This method returns a handler factory implementation that combines both the domain values factories that are passed to this method.
      Parameters:
      factory - The factory that should be used first when requesting a domain (optional).
      defaultFactory - The factory that should be used when the first did not supply a domain implementation (mandatory).
      Returns:
      a handler factory implementation that combines both the handler factories that are passed to this method.
    • getDomainValues

      public DomainValues getDomainValues(String domainName)
      Description copied from interface: IDomainValuesFactory
      Returns the values for the external domain with the given name, or null if this factory does not know of the given domain name.
      Specified by:
      getDomainValues in interface IDomainValuesFactory
      Parameters:
      domainName - the name of the domain for which values are requested
      Returns:
      the values for the given domain or null.