org.alfresco.web.app.servlet.command
Class WorkflowCommandProcessor
java.lang.Object
org.alfresco.web.app.servlet.command.BaseNodeCommandProcessor
org.alfresco.web.app.servlet.command.WorkflowCommandProcessor
- All Implemented Interfaces:
- CommandProcessor
public final class WorkflowCommandProcessor
- extends BaseNodeCommandProcessor
Workflow specific command processor implementation.
Responsible for executing 'approve' and 'reject' workflow commands on a Node.
Method Summary |
void |
outputStatus(java.io.PrintWriter out)
Output a simple status message to the supplied PrintWriter. |
void |
process(org.alfresco.service.ServiceRegistry serviceRegistry,
javax.servlet.http.HttpServletRequest request,
java.lang.String command)
Process the supplied command name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowCommandProcessor
public WorkflowCommandProcessor()
process
public void process(org.alfresco.service.ServiceRegistry serviceRegistry,
javax.servlet.http.HttpServletRequest request,
java.lang.String command)
- Description copied from interface:
CommandProcessor
- Process the supplied command name. It is the responsibility of the Command Processor
to lookup the specified command name using the CommandFactory registry. For that reason
it also has the responsiblity to initially register commands it is responsible for so
they can be constructed later. If the supplied command is unknown to it then an
exception should be thrown to indicate this.
- Parameters:
serviceRegistry
- ServiceRegistryrequest
- HttpServletRequestcommand
- Name of the command to construct and execute- See Also:
CommandProcessor.process(org.alfresco.service.ServiceRegistry, javax.servlet.http.HttpServletRequest, java.lang.String)
outputStatus
public void outputStatus(java.io.PrintWriter out)
- Description copied from interface:
CommandProcessor
- Output a simple status message to the supplied PrintWriter.
It can be assumed that the process() method was successful if this method is called.
- Parameters:
out
- PrintWriter- See Also:
CommandProcessor.outputStatus(java.io.PrintWriter)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.