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

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

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

End Task command implementation


Field Summary
static java.lang.String PROP_TASK_ID
           
static java.lang.String PROP_TRANSITION
           
 
Constructor Summary
EndTaskCommand()
           
 
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_TASK_ID

public static final java.lang.String PROP_TASK_ID
See Also:
Constant Field Values

PROP_TRANSITION

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

EndTaskCommand

public EndTaskCommand()
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.