|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.app.servlet.command.ScriptCommandProcessor
public final class ScriptCommandProcessor
Script command processor implementation.
Responsible for executing 'execute' script commands on a Node.
| Constructor Summary | |
|---|---|
ScriptCommandProcessor()
|
|
| Method Summary | |
|---|---|
void |
outputStatus(java.io.PrintWriter out)
Output a simple status message to the supplied PrintWriter. |
void |
process(org.alfresco.service.ServiceRegistry serviceRegistry,
javax.servlet.http.HttpServletRequest request,
java.lang.String command)
Process the supplied command name. |
boolean |
validateArguments(javax.servlet.ServletContext sc,
java.lang.String command,
java.util.Map args,
java.lang.String[] urlElements)
Pass and validate URL arguments for the command processor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptCommandProcessor()
| Method Detail |
|---|
public boolean validateArguments(javax.servlet.ServletContext sc,
java.lang.String command,
java.util.Map args,
java.lang.String[] urlElements)
CommandProcessor
validateArguments in interface CommandProcessorsc - ServletContext, can be used to retrieve ServiceRegistry instance
from the Repository bean.command - Name of the command the arguments are forargs - Map of URL args passed to the command servleturlElements - String[] of the remaining URL arguments to the command servlet
CommandProcessor.validateArguments(javax.servlet.ServletContext, java.lang.String, java.util.Map, java.lang.String[])
public void process(org.alfresco.service.ServiceRegistry serviceRegistry,
javax.servlet.http.HttpServletRequest request,
java.lang.String command)
CommandProcessor
process in interface CommandProcessorserviceRegistry - ServiceRegistryrequest - HttpServletRequestcommand - Name of the command to construct and executeCommandProcessor.process(org.alfresco.service.ServiceRegistry, javax.servlet.http.HttpServletRequest, java.lang.String)public void outputStatus(java.io.PrintWriter out)
CommandProcessor
outputStatus in interface CommandProcessorout - PrintWriterCommandProcessor.outputStatus(java.io.PrintWriter)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||