org.alfresco.web.app.servlet.command
Class ApproveWorkflowCommand

java.lang.Object
  extended by org.alfresco.web.app.servlet.command.ApproveWorkflowCommand
All Implemented Interfaces:
Command

public final class ApproveWorkflowCommand
extends java.lang.Object
implements Command

Approve Workflow command implementation


Field Summary
static java.lang.String PROP_TARGET
           
 
Constructor Summary
ApproveWorkflowCommand()
           
 
Method Summary
 java.lang.Object execute(org.alfresco.service.ServiceRegistry serviceRegistry, java.util.Map properties)
          Execute the command
 java.lang.String[] getPropertyNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_TARGET

public static final java.lang.String PROP_TARGET
See Also:
Constant Field Values
Constructor Detail

ApproveWorkflowCommand

public ApproveWorkflowCommand()
Method Detail

getPropertyNames

public java.lang.String[] getPropertyNames()
Specified by:
getPropertyNames in interface Command
Returns:
the names of the properties required for this command
See Also:
Command.getPropertyNames()

execute

public java.lang.Object execute(org.alfresco.service.ServiceRegistry serviceRegistry,
                                java.util.Map properties)
Description copied from interface: Command
Execute the command

Specified by:
execute in interface Command
Parameters:
serviceRegistry - The ServiceRegistry instance
properties - Bag of named properties for the command
Returns:
return value from the command if any
See Also:
Command.execute(org.alfresco.service.ServiceRegistry, java.util.Map)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.