Class LinkedDomainValuesFactory
java.lang.Object
com.aquima.interactions.portal.model.factory.LinkedDomainValuesFactory
- All Implemented Interfaces:
IDomainValuesFactory
,Serializable
Domain values factory that combines two handler factories.
- Since:
- 11.0
- Author:
- Petru Galanton
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.getDomainValues
(String domainName) Returns the values for the external domain with the given name, or null if this factory does not know of the given domain name.
-
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
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 interfaceIDomainValuesFactory
- Parameters:
domainName
- the name of the domain for which values are requested- Returns:
- the values for the given domain or null.
-