com.fatwire.gst.foundation.controller.action.support
Class CommandActionNameResolver
java.lang.Object
com.fatwire.gst.foundation.controller.action.support.CommandActionNameResolver
- All Implemented Interfaces:
- ActionNameResolver
public class CommandActionNameResolver
- extends Object
- implements ActionNameResolver
ActionNameResolver that looks up variable name value from ICS scope. Default
variable name is 'cmd'.
- Since:
- May 26, 2011
- Author:
- Dolf.Dijkstra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandActionNameResolver
public CommandActionNameResolver()
CommandActionNameResolver
public CommandActionNameResolver(String name)
getVarName
public final String getVarName()
resolveActionName
public String resolveActionName(COM.FutureTense.Interfaces.ICS ics)
- Description copied from interface:
ActionNameResolver
- Resolves the Action name based on the current Content Server context.
A null or empty string value is an indication that a default Action
need to be used.
- Specified by:
resolveActionName
in interface ActionNameResolver
- Parameters:
ics
- the Content Server context
- Returns:
- the name of the action, blank or null is allowed.
setVarName
public final void setVarName(String varName)
- Parameters:
varName
- the varName to set
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.