public class ExtensibleFunction extends AbstractLogEnabled implements com.opensymphony.workflow.FunctionProvider, Serviceable
| Modifier and Type | Field and Description |
|---|---|
protected ServiceManager |
_manager
The service manager
|
protected static String |
EXTENSION_POINT_ROLE_ARGS_KEY
The rights key.
|
| Constructor and Description |
|---|
ExtensibleFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected com.opensymphony.workflow.FunctionProvider |
_getFunctionProvider(String functionId,
String functionProviderRole)
Get the function provider denoted
|
protected ExtensionPoint<String> |
_getFunctionsExtensionPoint(Map args)
Get the function extension point given in args
|
void |
execute(Map transientVars,
Map args,
com.opensymphony.module.propertyset.PropertySet ps) |
void |
service(ServiceManager manager) |
getLogger, setLoggerprotected static final String EXTENSION_POINT_ROLE_ARGS_KEY
protected ServiceManager _manager
public ExtensibleFunction()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException
execute in interface com.opensymphony.workflow.FunctionProvidercom.opensymphony.workflow.WorkflowExceptionprotected com.opensymphony.workflow.FunctionProvider _getFunctionProvider(String functionId, String functionProviderRole) throws com.opensymphony.workflow.WorkflowException
functionId - The id of the extension that gave the rolefunctionProviderRole - The role of the component to findcom.opensymphony.workflow.WorkflowException - If the role cannot be foundprotected ExtensionPoint<String> _getFunctionsExtensionPoint(Map args) throws com.opensymphony.workflow.WorkflowException
args - The workflow argumentscom.opensymphony.workflow.WorkflowException - If the extension point is not configured or does not exist