org.alfresco.web.app.servlet.command
Class ExecuteScriptCommand
java.lang.Object
org.alfresco.web.app.servlet.command.ExecuteScriptCommand
- All Implemented Interfaces:
- Command
public final class ExecuteScriptCommand
- extends java.lang.Object
- implements Command
Execute Script command implementation.
Executes the supplied script against the default data-model.
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_SCRIPT
public static final java.lang.String PROP_SCRIPT
- See Also:
- Constant Field Values
PROP_DOCUMENT
public static final java.lang.String PROP_DOCUMENT
- See Also:
- Constant Field Values
PROP_USERPERSON
public static final java.lang.String PROP_USERPERSON
- See Also:
- Constant Field Values
PROP_ARGS
public static final java.lang.String PROP_ARGS
- See Also:
- Constant Field Values
ExecuteScriptCommand
public ExecuteScriptCommand()
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 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)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.