Class ClientHandlerLocatorBean
- java.lang.Object
-
- de.xima.fc.workflow.designer.bean.ClientHandlerLocatorBean
-
- All Implemented Interfaces:
IClientHandlerService
,Serializable
@Named @RequestScoped public class ClientHandlerLocatorBean extends Object implements IClientHandlerService, Serializable
Bean for the flowchart component to locate the appropriate client handlers.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientHandlerLocatorBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowchartElementResource
getNodeResources(Set<String> nodeTypes, Set<String> triggerTypes)
Finds the JavaScript and CSS resources required by the given nodes and trigger.
-
-
-
Method Detail
-
getNodeResources
public FlowchartElementResource getNodeResources(Set<String> nodeTypes, Set<String> triggerTypes) throws IOException
Description copied from interface:IClientHandlerService
Finds the JavaScript and CSS resources required by the given nodes and trigger. When more than one node or trigger is given, the individual JavaScript and CSS resources should be concatenated together.- Specified by:
getNodeResources
in interfaceIClientHandlerService
- Parameters:
nodeTypes
- List of nodetypes
for which resources are required.triggerTypes
- List of nodetypes
for which resources are required.- Returns:
- The JavaScript and CSS resources required by the given nodes and triggers.
- Throws:
IOException
- When the resources could not be retrieved.
-
-