| java.lang.Object org.apache.lenya.cms.task.ParameterWrapper org.apache.lenya.cms.task.WorkflowInvoker
EVENT_REQUEST_PARAMETER | final public static String EVENT_REQUEST_PARAMETER(Code) | | EVENT_REQUEST_PARAMETER The workflow event request parameter
|
LENYA_EVENT_REQUEST_PARAMETER | final public static String LENYA_EVENT_REQUEST_PARAMETER(Code) | | LENYA_EVENT_REQUEST_PARAMETER The Lenya event request parameter
|
MACHINE | final public static String MACHINE(Code) | | MACHINE The machine
|
PREFIX | final public static String PREFIX(Code) | | PREFIX The workflow namespace prefix
|
USER_ID | final public static String USER_ID(Code) | | USER_ID The user id
|
WorkflowInvoker | public WorkflowInvoker(Map parameters, ServiceManager manager)(Code) | | Ctor.
Parameters: parameters - A map containing the prefixed parameters. Parameters: manager - The service manager. |
extractParameters | public static NamespaceMap extractParameters(String eventName, Identity identity, Role[] roles)(Code) | | Ctor.
Parameters: eventName - The event name. Parameters: identity - The identity. Parameters: roles - The roles. A namespace map containing the parameters. |
getEventName | public String getEventName()(Code) | | Returns the workflow event name.
A string. |
getMachineIp | public String getMachineIp()(Code) | | Returns the machine IP address.
A string. |
getRoleIDs | protected String[] getRoleIDs()(Code) | | Returns the role names.
A string array. |
getUserId | public String getUserId()(Code) | | Returns the user ID.
A string. |
setIdentity | public static void setIdentity(NamespaceMap parameters, Identity identity)(Code) | | Sets the identity.
Parameters: parameters - A workflow invoker namespace map. Parameters: identity - An identity. |
setRoles | public static void setRoles(NamespaceMap parameters, Role[] roles)(Code) | | Sets the roles.
Parameters: parameters - A workflow invoker namespace map. Parameters: roles - A role array. |
|
|