info.magnolia.module.workflow.pages
Class WorkflowUtilPage

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.cms.servlets.CommandBasedMVCServletHandler
          extended by info.magnolia.module.admininterface.PageMVCHandler
              extended by info.magnolia.module.admininterface.TemplatedMVCHandler
                  extended by info.magnolia.module.workflow.pages.WorkflowUtilPage
All Implemented Interfaces:
MVCServletHandler

public class WorkflowUtilPage
extends TemplatedMVCHandler

A TemplatedMVCHandler providing utility/test functions for workflows.


Field Summary
protected  FlowDefinitionManager fdm
           
 
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW
 
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
exception, request, response, VIEW_ERROR, VIEW_SUCCESS
 
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler
VIEW_NOTHING
 
Constructor Summary
WorkflowUtilPage(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 String doQuery()
           
 String getCurrentTimeStamp()
           
 String getFlow()
           
 List getFlowList()
           
 String getFlowName()
           
 String getPath()
           
 String getQuery()
           
 String getRepository()
           
 String getResult()
           
 String getStartDate()
           
 String getStopDate()
           
 String launchFlow()
           
 void setCommand(String command)
           
 void setFlow(String flow)
           
 void setFlowName(String flowName)
           
 void setPath(String path)
           
 void setQuery(String query)
           
 void setRepository(String repository)
           
 void setStartDate(String startDate)
           
 void setStopDate(String stopDate)
           
 String showFlow()
           
 String updateDate()
           
 String upload()
           
 
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler
getTemplateName, renderHtml
 
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler
getForm, getI18nBasename, getMsgs, getParams, init, setForm, setI18nBasename, setMsgs, setParams, show
 
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName
 
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setRequest, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fdm

protected FlowDefinitionManager fdm
Constructor Detail

WorkflowUtilPage

public WorkflowUtilPage(String name,
                        javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
Method Detail

getCurrentTimeStamp

public String getCurrentTimeStamp()

getFlow

public String getFlow()

setFlow

public void setFlow(String flow)

getFlowName

public String getFlowName()

setFlowName

public void setFlowName(String flowName)

setCommand

public void setCommand(String command)
Overrides:
setCommand in class MVCServletHandlerImpl
Parameters:
command - The command to set.

getPath

public String getPath()

setPath

public void setPath(String path)

getQuery

public String getQuery()

setQuery

public void setQuery(String query)

getRepository

public String getRepository()

setRepository

public void setRepository(String repository)

getStartDate

public String getStartDate()

setStartDate

public void setStartDate(String startDate)

getStopDate

public String getStopDate()

setStopDate

public void setStopDate(String stopDate)

getResult

public String getResult()

getFlowList

public List getFlowList()
                 throws FlowDefinitionException
Throws:
FlowDefinitionException

showFlow

public String showFlow()
                throws FlowDefinitionException
Throws:
FlowDefinitionException

doQuery

public String doQuery()
               throws Exception
Throws:
Exception

updateDate

public String updateDate()
                  throws Exception
Throws:
Exception

launchFlow

public String launchFlow()
                  throws Exception
Throws:
Exception

upload

public String upload()
              throws Exception
Throws:
Exception


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.