org.alfresco.web.app.servlet.command
Class CreateWebContentCommand
java.lang.Object
org.alfresco.web.app.servlet.command.BaseUIActionCommand
org.alfresco.web.app.servlet.command.CreateWebContentCommand
- All Implemented Interfaces:
- Command
public class CreateWebContentCommand
- extends BaseUIActionCommand
Command to execute the Create Web Content wizard via url.
Arguments: webproject = the GUID of the webproject to create the content in
sandbox = the sandbox to create the content in
form = optional form name as the default selection in the content wizard
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 |
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_FORMNAME
public static final java.lang.String PROP_FORMNAME
- See Also:
- Constant Field Values
CreateWebContentCommand
public CreateWebContentCommand()
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 instanceproperties
- 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.