Uses of Interface
org.mentawai.core.Consequence

Packages that use Consequence
org.mentawai.ajax   
org.mentawai.ajaxtag   
org.mentawai.coc   
org.mentawai.core   
org.mentawai.filter   
org.mentawai.util   
 

Uses of Consequence in org.mentawai.ajax
 

Classes in org.mentawai.ajax that implement Consequence
 class AjaxConsequence
           
 class AjaxRedirectConsequence
           
 

Uses of Consequence in org.mentawai.ajaxtag
 

Classes in org.mentawai.ajaxtag that implement Consequence
 class AjaxtagConsequence
           A Consequence for using Ajaxtag taglib (ajaxtags.sf.net).
 class AjaxtagErrorConsequence
           A Consequence for using Ajaxtag taglib (ajaxtags.sf.net).
 

Uses of Consequence in org.mentawai.coc
 

Methods in org.mentawai.coc that return Consequence
 Consequence CoCActionConfig.getConsequence(String result)
           
 Consequence OldAutoViewConsequenceProvider.getConsequence(String action, Class<? extends Object> actionClass, String result, String innerAction)
           
 Consequence InnerActionConsequenceProvider.getConsequence(String action, Class<? extends Object> actionClass, String result, String innerAction)
           
 Consequence ForwardConsequenceProvider.getConsequence(String action, Class<? extends Object> actionClass, String result, String innerAction)
          Create an consequence based on the convention described in the Class javadoc.
 Consequence DefaultConsequenceProvider.getConsequence(String action, Class<? extends Object> actionClass, String result, String innerAction)
           
 Consequence ConsequenceProvider.getConsequence(String action, Class<? extends Object> actionClass, String result, String innerAction)
          Creates a consequence based on a convention, using the name of the executed action, the result of the action's execution and the executed inner action.
 Consequence CoCActionConfig.getConsequence(String result, String innerAction)
           
 

Uses of Consequence in org.mentawai.core
 

Classes in org.mentawai.core that implement Consequence
 class Chain
          An action chaining consequence.
 class ExceptionConsequence
          Throws an exception.
 class Forward
          A forward web consequence.
 class ForwardToActionConsequence
          An action chaining consequence.
 class NullConsequence
          A consequence that does nothing.
 class Redirect
          A redirect consequence that has the following features: Paths starting with "//" are relative to the webserver root.
 class ResultConsequence
          Returns the result of the action as a String.
 class StreamConsequence
          A web-based consequence that gets a ready-to-use input stream from the output of the action, get the contents from that input stream and flush them to the servlet output stream.
 class StringConsequence
          Returns a String as the result of an action.
 

Methods in org.mentawai.core that return Consequence
static Consequence ApplicationManager.ajax(AjaxRenderer renderer)
           
static Consequence ApplicationManager.chain(ActionConfig ac)
          Convenient method that provides a less verbose way to create a chain.
static Consequence ApplicationManager.chain(ActionConfig ac, String innerAction)
          Convenient method that provides a less verbose way to create a chain.
static Consequence ApplicationManager.chain(Class<? extends Object> klass)
          Convenient method for setting a chain.
static Consequence ApplicationManager.chain(Class<? extends Object> klass, String innerAction)
          Convenient method for setting a chain.
static Consequence ApplicationManager.exception(String msg)
           
static Consequence ApplicationManager.fwd(ActionConfig ac)
           
static Consequence ApplicationManager.fwd(String page)
          Convenient method that provides a less verbose way to create a forward.
 Consequence ActionConfig.getAutoConsequence(String result, String innerAction)
           
 Consequence ActionConfig.getCatchAll()
           
 Consequence ActionConfig.getConsequence(String result)
          Gets the consequence for the given result.
 Consequence ActionConfig.getConsequence(String result, String innerAction)
          Gets the consequence for the given result of the given inner action.
 Consequence ApplicationManager.getGlobalConsequence(String result)
          Gets a global consequence associated with the result.
static Consequence Controller.invokeAction(ActionConfig ac, Action action, String innerAction, List<Filter> filters, StringBuilder returnedResult)
          Invoke an action and return the consequence generated by this invocation.
static Consequence ApplicationManager.redir()
          Convenient method that provides a less verbose way to create a redirect.
static Consequence ApplicationManager.redir(ActionConfig ac)
          Redir to an action.
static Consequence ApplicationManager.redir(ActionConfig ac, boolean flag)
          Redir to an action.
static Consequence ApplicationManager.redir(boolean flag)
          Convenient method that provides a less verbose way to create a redirect.
static Consequence ApplicationManager.redir(Class<?> klass)
          Convenient method that provides a less verbose way to create a redirect to a Action.
static Consequence ApplicationManager.redir(Class<?> klass, boolean appendOutput)
          Convenient method that provides a less verbose way to create a redirect to a Action.
static Consequence ApplicationManager.redir(Class<?> klass, String innerAction)
          Convenient method that provides a less verbose way to create a redirect to a Action.
static Consequence ApplicationManager.redir(Class<?> klass, String innerAction, boolean appendOutput)
          Convenient method that provides a less verbose way to create a redirect to a Action.
static Consequence ApplicationManager.redir(String page)
          Convenient method that provides a less verbose way to create a redirect.
static Consequence ApplicationManager.redir(String page, boolean flag)
          Convenient method that provides a less verbose way to create a redirect.
static Consequence ApplicationManager.result()
           
 

Methods in org.mentawai.core with parameters of type Consequence
 ActionConfig ActionConfig.addConsequence(String result, Consequence c)
          Adds a consequence for the given result.
 ActionConfig ActionConfig.addConsequence(String result, String innerAction, Consequence c)
          Adds a consequence for the given result of the given inner action.
 void ApplicationManager.addGlobalConsequence(String result, Consequence c)
          Register a consequence for all actions in this application manager.
 void AfterConsequenceFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 ActionConfig ActionConfig.all(Consequence c)
           
 ActionConfig ActionConfig.catchAll(Consequence c)
           
 void ApplicationManager.on(String result, Consequence c)
          Shorter version of addGlobalConsequence.
 ActionConfig ActionConfig.on(String result, Consequence c)
          Shorter version of addConsequence.
 ActionConfig ActionConfig.on(String result, String innerAction, Consequence c)
          Shorter version of addConsequence.
 

Uses of Consequence in org.mentawai.filter
 

Methods in org.mentawai.filter with parameters of type Consequence
 void MentaContainerFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void JpaFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void HibernateFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void ConnectionFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 

Uses of Consequence in org.mentawai.util
 

Methods in org.mentawai.util with parameters of type Consequence
static void DebugServletFilter.debug(Action a, Consequence c)
           
static void DebugServletFilter.debug(StringBuffer sb, Consequence c)
           
 



Copyright © 2012. All Rights Reserved.