Class LinkedMaskFactory
java.lang.Object
com.aquima.interactions.portal.model.factory.LinkedMaskFactory
- All Implemented Interfaces:
IMaskFactory
Mask factory implementation that combines two factories.
- Since:
- 6.0
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionstatic IMaskFactory
createFor
(IMaskFactory factory, IMaskFactory defaultFactory) This method returns a mask factory implementation that combines both the mask factories that are passed to this method.getMask
(ApplicationID applicationId, String maskTypeName) This method should return a mask implementation for a specific application module and mask type name.
-
Method Details
-
createFor
This method returns a mask factory implementation that combines both the mask factories that are passed to this method.- Parameters:
factory
- The mask factory that should be used first when requesting a mask (optional).defaultFactory
- The mask factory that should be used when the first did not supply a mask implementation (mandatory).- Returns:
- a service factory implementation that combines both the mask factories that are passed to this method.
-
getMask
Description copied from interface:IMaskFactory
This method should return a mask implementation for a specific application module and mask type name.- Specified by:
getMask
in interfaceIMaskFactory
- Parameters:
applicationId
- The ID of the module, may not be null.maskTypeName
- The mask type name, may not be null.- Returns:
- The mask implementation.
-