|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.mydesktoptool.actions.ViewMyDesktopToolStartPageAction
public class ViewMyDesktopToolStartPageAction
This class implements the action class for the startpage in the mydesktop tool.
| Field Summary | |
|---|---|
protected static java.lang.String |
INVALID_ACTION
|
| Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
|---|
colorScheme |
| Fields inherited from interface webwork.action.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
ViewMyDesktopToolStartPageAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
doExecute()
Populates the lists of workflow and workflow action VOs. |
java.lang.String |
doInvoke()
Invokes an action in a workflow based on the values of the actionId and workflowId request parameters and redirects to the action's view if one has been defined. |
java.lang.String |
doStartWorkflow()
Starts the workflow specified in the request parameter "workflowName" with the initial action identified by the request parameter "actionId" and redirects to the view page for the desired initial action. |
java.util.List |
getAvailableShortcutVOList()
|
java.util.List |
getAvailableWorkflowVOList()
|
java.util.List |
getWorkflowActionVOList()
|
java.util.List |
getWorkflowActionVOList(StepFilter filter)
|
java.util.List |
getWorkflowVOList()
|
void |
setActionId(int actionId)
Allows the action ID to be set via the request parameter "actionId" |
void |
setFinalReturnAddress(java.lang.String finalReturnAddress)
|
void |
setWorkflowId(long workflowId)
Allows the workflowID to be set via the request parameter "workflowId" |
void |
setWorkflowName(java.lang.String name)
Allows the workflow name to be set via the request parameter "workflowName". |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
|---|
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String INVALID_ACTION
| Constructor Detail |
|---|
public ViewMyDesktopToolStartPageAction()
| Method Detail |
|---|
public java.util.List getWorkflowVOList()
public java.util.List getAvailableWorkflowVOList()
public java.util.List getAvailableShortcutVOList()
public java.util.List getWorkflowActionVOList()
public java.util.List getWorkflowActionVOList(StepFilter filter)
public void setWorkflowName(java.lang.String name)
name - the name of the desired workflowpublic void setActionId(int actionId)
actionId - the ID of the action to executepublic void setWorkflowId(long workflowId)
workflowId - the ID of the desired workflow
public java.lang.String doExecute()
throws SystemException
doExecute in class WebworkAbstractActionSystemException - if a workflow error occurs
public java.lang.String doStartWorkflow()
throws SystemException
SystemExceptiondoExecute()
public java.lang.String doInvoke()
throws SystemException
SystemException - if an error occurs invoking the action or URL-encoding the action viewdoExecute()public void setFinalReturnAddress(java.lang.String finalReturnAddress)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||