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> nodeTypeSet)
Finds the JavaScript and CSS resources required by the given nodes.FlowchartElementResource
getTriggerResources(Set<String> triggerTypeSet)
Finds the JavaScript and CSS resources required by the given triggers.
-
-
-
Method Detail
-
getNodeResources
public FlowchartElementResource getNodeResources(Set<String> nodeTypeSet) throws IOException
Description copied from interface:IClientHandlerService
Finds the JavaScript and CSS resources required by the given nodes. When more than one node is given, the individual JavaScript and CSS resources should be concatenated together.- Specified by:
getNodeResources
in interfaceIClientHandlerService
- Parameters:
nodeTypeSet
- List of nodes for which resources are required.- Returns:
- The JavaScript and CSS resources required by the given nodes.
- Throws:
IOException
- When the resources could not be retrieved.
-
getTriggerResources
public FlowchartElementResource getTriggerResources(Set<String> triggerTypeSet) throws IOException
Description copied from interface:IClientHandlerService
Finds the JavaScript and CSS resources required by the given triggers. When more than one trigger is given, the individual JavaScript and CSS resources should be concatenated together.- Specified by:
getTriggerResources
in interfaceIClientHandlerService
- Parameters:
triggerTypeSet
- List of triggers for which resources are required.- Returns:
- The JavaScript and CSS resources required by the given triggers.
- Throws:
IOException
- When the resources could not be retrieved.
-
-