public abstract class BaseNodeCommandProcessor extends java.lang.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(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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoutputStatus, processpublic boolean validateArguments(javax.servlet.ServletContext sc,
java.lang.String command,
java.util.Map args,
java.lang.String[] urlElements)
CommandProcessorvalidateArguments 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 servletCommandProcessor.validateArguments(javax.servlet.ServletContext, java.lang.String, java.util.Map, java.lang.String[])Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.