org.alfresco.web.app.servlet.command
Interface Command

All Known Implementing Classes:
ApproveWorkflowCommand, BaseUIActionCommand, CreateWebContentCommand, EditContentPropertiesCommand, EditSpaceCommand, EditWebContentCommand, EndTaskCommand, ExecuteScriptCommand, ManageTaskDialogCommand, RejectWorkflowCommand, UserProfileDialogCommand

public interface Command

Simple servlet command pattern interface.


Method Summary
 java.lang.Object execute(org.alfresco.service.ServiceRegistry serviceRegistry, java.util.Map properties)
          Execute the command
 java.lang.String[] getPropertyNames()
           
 

Method Detail

execute

java.lang.Object execute(org.alfresco.service.ServiceRegistry serviceRegistry,
                         java.util.Map properties)
Execute the command

Parameters:
serviceRegistry - The ServiceRegistry instance
properties - Bag of named properties for the command
Returns:
return value from the command if any

getPropertyNames

java.lang.String[] getPropertyNames()
Returns:
the names of the properties required for this command


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