org.apache.beehive.netui.pageflow.config
Class DelegatingActionMapping
Object
ActionConfig
ActionMapping
PageFlowActionMapping
DelegatingActionMapping
- All Implemented Interfaces:
- Serializable
public class DelegatingActionMapping
- extends PageFlowActionMapping
A Struts ActionMapping object that delegates to an ActionMapping in a different module.
- See Also:
- Serialized Form
Fields inherited from class ActionConfig |
attribute, cancellable, configured, exceptions, forward, forwards, include, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate |
Methods inherited from class PageFlowActionMapping |
getFormClass, getFormMember, setConditionalForwards, setDefaultForward, setFormBeanMessageResourcesKey, setFormClass, setFormMember, setOverloaded, setPreventDoubleSubmit, setSimpleAction, setUnqualifiedActionPath |
Methods inherited from class ActionConfig |
addExceptionConfig, addForwardConfig, getAttribute, getCancellable, getModuleConfig, getName, getParameter, getPath, removeExceptionConfig, removeForwardConfig, setAttribute, setCancellable, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DelegatingActionMapping
public DelegatingActionMapping()
setDelegateModulePath
public void setDelegateModulePath(String delegateModulePath)
- Set the path prefix for the module where the delegate ActionMapping lives.
init
public void init(ServletContext servletContext)
getLocalPathsRelativeTo
public String getLocalPathsRelativeTo()
- Get the prefix directory path that local paths in Forwards should be relative to. This is only enabled if we're
inheriting local paths from a base page flow.
- Overrides:
getLocalPathsRelativeTo
in class PageFlowActionMapping
toString
public String toString()
- Overrides:
toString
in class ActionConfig
freeze
public void freeze()
- Overrides:
freeze
in class ActionConfig
setInheritLocalPaths
public void setInheritLocalPaths(boolean inheritLocalPaths)
- Tell whether local paths should be inherited from the base class. This affects the value of
getLocalPathsRelativeTo()
.
getRoles
public String getRoles()
- Overrides:
getRoles
in class ActionConfig
isLoginRequired
public boolean isLoginRequired()
- Overrides:
isLoginRequired
in class PageFlowActionMapping
setLoginRequired
public void setLoginRequired(boolean loginRequired)
- Overrides:
setLoginRequired
in class PageFlowActionMapping
isReadonly
public boolean isReadonly()
- Overrides:
isReadonly
in class PageFlowActionMapping
setReadonly
public void setReadonly(boolean readonly)
- Overrides:
setReadonly
in class PageFlowActionMapping
findForward
public ActionForward findForward(String forwardName)
- Overrides:
findForward
in class ActionMapping
getUnqualifiedActionPath
public String getUnqualifiedActionPath()
- Overrides:
getUnqualifiedActionPath
in class PageFlowActionMapping
getUnqualifiedActionName
public String getUnqualifiedActionName()
- Overrides:
getUnqualifiedActionName
in class PageFlowActionMapping
isPreventDoubleSubmit
public boolean isPreventDoubleSubmit()
- Overrides:
isPreventDoubleSubmit
in class PageFlowActionMapping
isSimpleAction
public boolean isSimpleAction()
- Overrides:
isSimpleAction
in class PageFlowActionMapping
isOverloaded
public boolean isOverloaded()
- Overrides:
isOverloaded
in class PageFlowActionMapping
getConditionalForwardsMap
public Map getConditionalForwardsMap()
- Description copied from class:
PageFlowActionMapping
- Get a map of expression -> forward-name. If the expression evaluates to
true
the forward is used.
- Overrides:
getConditionalForwardsMap
in class PageFlowActionMapping
getFormBeanMessageResourcesKey
public String getFormBeanMessageResourcesKey()
- Overrides:
getFormBeanMessageResourcesKey
in class PageFlowActionMapping
getDefaultForward
public String getDefaultForward()
- Overrides:
getDefaultForward
in class PageFlowActionMapping
findForwards
public String[] findForwards()
- Overrides:
findForwards
in class ActionMapping
getInputForward
public ActionForward getInputForward()
- Overrides:
getInputForward
in class ActionMapping
getForward
public String getForward()
- Overrides:
getForward
in class ActionConfig
getInclude
public String getInclude()
- Overrides:
getInclude
in class ActionConfig
getInput
public String getInput()
- Overrides:
getInput
in class ActionConfig
getMultipartClass
public String getMultipartClass()
- Overrides:
getMultipartClass
in class ActionConfig
getPrefix
public String getPrefix()
- Overrides:
getPrefix
in class ActionConfig
getRoleNames
public String[] getRoleNames()
- Overrides:
getRoleNames
in class ActionConfig
getScope
public String getScope()
- Overrides:
getScope
in class ActionConfig
getSuffix
public String getSuffix()
- Overrides:
getSuffix
in class ActionConfig
getType
public String getType()
- Overrides:
getType
in class ActionConfig
getUnknown
public boolean getUnknown()
- Overrides:
getUnknown
in class ActionConfig
getValidate
public boolean getValidate()
- Overrides:
getValidate
in class ActionConfig
findExceptionConfig
public ExceptionConfig findExceptionConfig(String type)
- Overrides:
findExceptionConfig
in class ActionConfig
findExceptionConfigs
public ExceptionConfig[] findExceptionConfigs()
- Overrides:
findExceptionConfigs
in class ActionConfig
findException
public ExceptionConfig findException(Class type)
- Overrides:
findException
in class ActionConfig
findForwardConfig
public ForwardConfig findForwardConfig(String name)
- Overrides:
findForwardConfig
in class ActionConfig
findForwardConfigs
public ForwardConfig[] findForwardConfigs()
- Overrides:
findForwardConfigs
in class ActionConfig