org.infoglue.cms.applications.tasktool.actions
Class ViewExecuteTaskAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.tasktool.actions.ViewExecuteTaskAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class ViewExecuteTaskAction
- extends InfoGlueAbstractAction
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
|
Method Summary |
java.lang.String |
doExecute()
This method which is the default one only serves to show a list
of tasks to the user so he/she can select one to run. |
java.lang.String |
doExecuteTask()
This method serves as the invoker of a task/script. |
java.lang.String |
doUserInput()
|
java.lang.Integer |
getContentId()
|
java.util.List |
getCustomTasks()
This method returns the contents that are of contentTypeDefinition "HTMLTemplate" |
java.lang.Integer |
getTaskContentId()
|
java.util.List |
getTasks()
This method returns the contents that are of contentTypeDefinition "HTMLTemplate" |
void |
setContentId(java.lang.Integer contentId)
|
void |
setTaskContentId(java.lang.Integer taskContentId)
|
| Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableCustomIcons, getDisableImageEditor, getEnableDateTimeDirectEditing, getInfoGluePrincipal, getLanguageCode, getLocale, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId |
| 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 |
ViewExecuteTaskAction
public ViewExecuteTaskAction()
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- This method which is the default one only serves to show a list
of tasks to the user so he/she can select one to run.
- Specified by:
doExecute in class WebworkAbstractAction
- Throws:
java.lang.Exception
doUserInput
public java.lang.String doUserInput()
throws java.lang.Exception
- Throws:
java.lang.Exception
doExecuteTask
public java.lang.String doExecuteTask()
throws java.lang.Exception
- This method serves as the invoker of a task/script. It uses the velocity-engine to run logic.
It allways run the script within it's own transaction as of now.
- Throws:
java.lang.Exception
getTasks
public java.util.List getTasks()
throws java.lang.Exception
- This method returns the contents that are of contentTypeDefinition "HTMLTemplate"
- Throws:
java.lang.Exception
getCustomTasks
public java.util.List getCustomTasks()
throws java.lang.Exception
- This method returns the contents that are of contentTypeDefinition "HTMLTemplate"
- Throws:
java.lang.Exception
getTaskContentId
public java.lang.Integer getTaskContentId()
setTaskContentId
public void setTaskContentId(java.lang.Integer taskContentId)
getContentId
public java.lang.Integer getContentId()
setContentId
public void setContentId(java.lang.Integer contentId)
Copyright © 2005 InfoGlue.org All Rights Reserved.