net.anotheria.maf.action
Class ActionMapping

java.lang.Object
  extended by net.anotheria.maf.action.ActionMapping

public class ActionMapping
extends Object

An action mapping is a combination of enter path for an action, class name of the class which executes the action and a map of possible forwards.

Author:
lrosenberg

Constructor Summary
ActionMapping(String aPath, String aType, ActionCommand... someCommands)
           
 
Method Summary
 ActionCommand dialog()
           
 ActionCommand error()
           
 ActionCommand findCommand(String name)
           
 ActionForward findForward(String name)
          Deprecated. use findCommand instead.
 Map<String,ActionCommand> getCommands()
           
 String getPath()
           
 String getType()
           
 CommandRedirect redirect()
           
 ActionCommand success()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionMapping

public ActionMapping(String aPath,
                     String aType,
                     ActionCommand... someCommands)
Method Detail

findForward

public ActionForward findForward(String name)
Deprecated. use findCommand instead.

Returns a stored forward for the given forward name.

Parameters:
name -
Returns:

findCommand

public ActionCommand findCommand(String name)

getPath

public String getPath()

getType

public String getType()

success

public ActionCommand success()

error

public ActionCommand error()

dialog

public ActionCommand dialog()

redirect

public CommandRedirect redirect()

toString

public String toString()
Overrides:
toString in class Object

getCommands

public Map<String,ActionCommand> getCommands()


Copyright © 2010-2013 anotheria.net. All Rights Reserved.