|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.config.ActionConfig
org.apache.struts.action.ActionMapping
com.livinglogic.struts.workflow.WorkflowMapping
Implementation of enhanced ActionMapping
.
It defines the following custom properties:
Nested Class Summary | |
static class |
WorkflowMapping.WorkflowData
Class that holds mapping data for a labeled workflow |
Field Summary |
Fields inherited from class org.apache.struts.config.ActionConfig |
attribute, configured, exceptions, forward, forwards, include, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate |
Constructor Summary | |
WorkflowMapping()
Constructor |
Method Summary | |
protected void |
addWorkflow(String workflow)
Register the label of a further workflow for this mapping. |
String |
getAuthClass()
Return authClass for this mapping. |
String |
getPrimaryWorkflow()
Returns the label of the workflow this mapping belongs to. |
Collection |
getWorkflows()
Returns the labels of all workflows for this mapping. |
boolean |
hasNoWorkflowChecksSet()
Return the noWorkflowChecks value for this mapping. |
void |
setAuthClass(String authClass)
Set authClass for this mapping. |
void |
setEndWorkflow(String endWorkflow)
Set the endWorkflow property for the latest registered workflow of this mapping. |
void |
setNewState(String newState)
Set a newState for the latest registered workflow of this mapping, if not yet set. |
void |
setNextState(String nextState)
Set a nextState for the latest registered workflow of this mapping. |
void |
setNoWorkflowChecks(String value)
Set noWorkflowChecks value for this mapping. |
void |
setPrevState(String prevState)
Set a prevState for the latest registered workflow of this mapping. |
void |
setPrimaryWorkflow(String primaryWorkflow)
Register the label of the workflow this mapping belongs to. |
void |
setSecondaryWorkflow(String secondaryWorkflow)
Register the label of a further workflow for this mapping. |
Methods inherited from class org.apache.struts.action.ActionMapping |
findException, findForward, findForwards, getInputForward |
Methods inherited from class org.apache.struts.config.ActionConfig |
addExceptionConfig, addForwardConfig, findExceptionConfig, findExceptionConfigs, findForwardConfig, findForwardConfigs, freeze, getApplicationConfig, getAttribute, getForward, getInclude, getInput, getModuleConfig, getMultipartClass, getName, getParameter, getPath, getPrefix, getRoleNames, getRoles, getScope, getSuffix, getType, getUnknown, getValidate, removeExceptionConfig, removeForwardConfig, setApplicationConfig, setAttribute, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WorkflowMapping()
Method Detail |
public Collection getWorkflows()
public String getPrimaryWorkflow()
public void setPrimaryWorkflow(String primaryWorkflow)
primaryWorkflow
- the label of the workflow this
mapping belongs to.public void setSecondaryWorkflow(String secondaryWorkflow)
secondaryWorkflow
- the label of a further workflow
for this mappingprotected void addWorkflow(String workflow)
workflow
- the label of the additional workflow for this mappingpublic void setPrevState(String prevState)
prevState
- the prevState for this mappingpublic void setNewState(String newState)
newState
- the newState for this mappingpublic void setNextState(String nextState)
nextState
- the nextState for this mappingpublic void setEndWorkflow(String endWorkflow)
endWorkflow
- a String representing a boolean value:
"true" (case insensitive) for true, any other String for false.public boolean hasNoWorkflowChecksSet()
public void setNoWorkflowChecks(String value)
value
- a String representing a boolean value:
"true" (case insensitive) for true, any other String for false.public String getAuthClass()
public void setAuthClass(String authClass)
authClass
- the authClass for this mapping
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |