public abstract class BaseNodeCommandProcessor extends Object implements CommandProcessor
This class should be enough to form the base of Command Processor objects that only require a single NodeRef passed on the URL.
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
targetRef |
Constructor and Description |
---|
BaseNodeCommandProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
validateArguments(ServletContext sc,
String command,
Map<String,String> args,
String[] urlElements)
Pass and validate URL arguments for the command processor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
outputStatus, process
public boolean validateArguments(ServletContext sc, String command, Map<String,String> args, String[] urlElements)
CommandProcessor
validateArguments
in interface CommandProcessor
sc
- 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 servletCommandProcessor.validateArguments(javax.servlet.ServletContext, java.lang.String, java.util.Map, java.lang.String[])
Copyright © 2005–2017 Alfresco Software. All rights reserved.