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

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

public class EditWebContentCommand
extends BaseUIActionCommand

Command to execute the Edit Web Content (xforms) wizard via url.

Arguments: webproject = the GUID of the webproject to create the content in sandbox = the sandbox to create the content in path = path to the form instance data for edit


Field Summary
static java.lang.String PROP_PATH
           
static java.lang.String PROP_SANDBOX
           
static java.lang.String PROP_WEBPROJECTID
           
 
Fields inherited from class org.alfresco.web.app.servlet.command.BaseUIActionCommand
PROP_REQUEST, PROP_RESPONSE, PROP_SERVLETCONTEXT
 
Constructor Summary
EditWebContentCommand()
           
 
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_WEBPROJECTID

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

PROP_SANDBOX

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

PROP_PATH

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

EditWebContentCommand

public EditWebContentCommand()
Method Detail

execute

public java.lang.Object execute(org.alfresco.service.ServiceRegistry serviceRegistry,
                                java.util.Map properties)
Description copied from interface: Command
Execute the 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)

getPropertyNames

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


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