|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomWorkflowService
Service to configure custom workflow functions.
| Method Summary | |
|---|---|
CustomWorkflowActionResult |
createResult(Directive directive,
java.lang.String message)
Create an instance of a CustomWorkflowActionResult |
CustomWorkflowActionResult |
createResult(Directive directive,
java.lang.String message,
DirectiveParams params)
Create an instance of a CustomWorkflowActionResult |
boolean |
factoryExists(java.lang.String factoryName)
Determine if a factory with the supplied factory name exists as a registered custom workflow action factory. |
CustomWorkflowActionFactory[] |
getAllFactories()
Get all of the registered custom workflow action factories. |
CustomWorkflowActionFactory |
getFactory(java.lang.String factoryName)
Get a factory given a factory name |
void |
registerFactory(CustomWorkflowActionFactory factory)
Register a custom workflow action factory. |
| Method Detail |
|---|
boolean factoryExists(java.lang.String factoryName)
factoryName - Name of the factory
void registerFactory(CustomWorkflowActionFactory factory)
getName() String. If a factory is currently registered using the
same name, it will be replaced by the supplied factory.
If more than one application is registering a factory, each application must ensure
that the factory name provided is unique. Otherwise, the last application will
replace the first application's factory.
factory - Factory to register.
java.lang.IllegalArgumentException - Thrown if the supplied factory is null, the factory
name is invalid or any action names are invalid.CustomWorkflowActionFactory getFactory(java.lang.String factoryName)
factoryName - Factory name to look up
CustomWorkflowActionFactory[] getAllFactories()
CustomWorkflowActionResult createResult(Directive directive,
java.lang.String message)
directive - Result directivemessage - Result message
CustomWorkflowActionResult createResult(Directive directive,
java.lang.String message,
DirectiveParams params)
directive - Result directivemessage - Result messageparams - Result directive parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||