Uses of Interface
org.mentawai.core.Action

Packages that use Action
org.mentawai.action   
org.mentawai.ajax   
org.mentawai.ajaxtag   
org.mentawai.converter   
org.mentawai.core   
org.mentawai.filter   
org.mentawai.guice   
org.mentawai.ioc   
org.mentawai.jruby   
org.mentawai.message   
org.mentawai.rule   
org.mentawai.spring   
org.mentawai.tag.authentication   
org.mentawai.tag.authorization   
org.mentawai.tag.util   
org.mentawai.util   
org.mentawai.validation   
 

Uses of Action in org.mentawai.action
 

Classes in org.mentawai.action that implement Action
 class BaseLoginAction
          This action implements the basic functionality for a Login action.
 class LogoutAction
          A simple Logout action that can be used fot user logout.
 class SuccessAction
          A simple action that returns SUCCESS for every call.
 

Uses of Action in org.mentawai.ajax
 

Methods in org.mentawai.ajax with parameters of type Action
 void AjaxRedirectConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void AjaxConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Prints in the request's output the ajax response.
 

Uses of Action in org.mentawai.ajaxtag
 

Classes in org.mentawai.ajaxtag that implement Action
 class BaseAjaxtagAction
          This actions holds an aschycronous response to ajaxtags.
 

Methods in org.mentawai.ajaxtag with parameters of type Action
 void AjaxtagErrorConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           Send a non-200 HTTP response as an error responses when any problem happened.
 void AjaxtagConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           Prints in the request's output the ajaxtag response.
 

Uses of Action in org.mentawai.converter
 

Methods in org.mentawai.converter with parameters of type Action
 Object LocaleConverter.convert(String field, Action action)
           
 Object Converter.convert(String field, Action action)
          Converts a input field from this action.
 Object BasicConverter.convert(String field, Action action)
           
 

Uses of Action in org.mentawai.core
 

Subinterfaces of Action in org.mentawai.core
 interface StickyAction
          An interface describing a sticky action, in other words, an action that can adhere to the session and persist its state.
 

Classes in org.mentawai.core that implement Action
 class BaseAction
          The abstract base implementation of a Mentawai action.
 class PojoAction
          This is just an object that can hold up everything that makes up an action: input, output, session, etc.
 class ProtectedBaseAction
          This class exists solely for the purpose of hidding the protected variables of BaseAction.
 class SingleInstanceBaseAction
          This is the base class for single instance actions, in other words, those actions that will be instantiated only once and shared among all requests.
 

Methods in org.mentawai.core that return Action
 Action SingleInstanceActionConfig.getAction()
          Returns an action instance to be used with this request.
static Action PojoAction.getAction()
           
 Action InvocationChain.getAction()
          Gets the action of this InvocationChain
 Action ActionConfig.getAction()
          Returns an action instance to be used with this request.
 

Methods in org.mentawai.core with parameters of type Action
 void AfterConsequenceFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void StringConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void StreamConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Executes the action, reading from the input stream the data that has to be flushed into the servlet output stream.
 void ResultConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void Redirect.execute(Action act, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Execute the redirect consequence.
 void NullConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          This method does nothing.
 void ForwardToActionConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void Forward.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void ExceptionConsequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void Consequence.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Executes this consequence.
 void Chain.execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
static Object BaseAction.findValue(String key, Action action)
           
static Map<String,String> BaseAction.getMessageTokens(Action action, String field)
           
static void BaseAction.init(Action action)
           
protected  void InvocationChain.initInnerAction(Action mainAction, Action innerAction)
          Initialize inner action class contexts with the main action contexts...
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 boolean BaseAction.isGet(Action action)
           
static boolean BaseAction.isPost(Action action)
           
protected  void Controller.prepareAction(Action action, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Subclasses of this controller may override this method to have a chance to prepare the action before it is executed.
 

Constructors in org.mentawai.core with parameters of type Action
InvocationChain(String actionName, Action action, ActionConfig ac)
          Creates an InvocationChain for this action.
SingleInstanceActionConfig(Action instance)
           
SingleInstanceActionConfig(String name, Action instance)
           
SingleInstanceActionConfig(String name, Action instance, String innerAction)
           
 

Uses of Action in org.mentawai.filter
 

Methods in org.mentawai.filter with parameters of type Action
 void SessionFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void OutputFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void OutjectionFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 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 IoCFilter.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 HeadersFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void CookiesFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void ConnectionFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
 void ApplicationFilter.afterConsequence(Action action, Consequence c, boolean conseqExecuted, boolean actionExecuted, String result)
           
protected  javax.servlet.http.HttpServletRequest FileUploadFilter.getRequest(Action action)
          Because we are using the FileUpload from Jakarta Commons, and because it requires the HttpServletRequest, there is nothing we can do about it besides fetching the HttpServletRequest and giving it to the FileUpload class.
protected abstract  String ResultFilter.getResultFromAction(Object actionResult, Action action)
           
protected  Object InputFilter.getTarget(Action action)
           
protected  Object InjectionFilter.getTarget(Action action)
           
protected  String ExceptionFilter.handleException(Action a, Throwable throwable)
          Handle the exception, putting in the action's output the message of the exception, all the StackTrace elements and the first StackTrace element.
 boolean AuthorizationFilter.isAuthorized(Action action, String actionName, String innerAction, Object user, List userGroups)
          The default implementation of this method returns true for everything.
static boolean ValidationFilter.isPost(Action action)
           
 void IntegerConverterFilter.prepareConverters(Map<String,Converter> converters, Action action, String innerAction)
           
 void DoubleConverterFilter.prepareConverters(Map<String,Converter> converters, Action action, String innerAction)
           
 void DateConverterFilter.prepareConverters(Map<String,Converter> converters, Action action, String innerAction)
           
abstract  void ConversionFilter.prepareConverters(Map<String,Converter> converters, Action action, String innerAction)
          Override this abstract method to add converters for the fields you want to convert.
 void ValidationFilter.prepareValidator(Validator validator, Action action, String innerAction)
          Implement this abstract method to add rules to the fields you want to validate.
 

Uses of Action in org.mentawai.guice
 

Methods in org.mentawai.guice that return Action
 Action GuiceActionConfig.getAction()
           
 

Uses of Action in org.mentawai.ioc
 

Methods in org.mentawai.ioc that return Action
protected  Action ActionComponent.getAction()
           
 

Methods in org.mentawai.ioc with parameters of type Action
 Object SessionComponent.getInstance(String key, Action action)
           
 Object LocaleComponent.getInstance(String key, Action action)
           
 Object ApplicationComponent.getInstance(String key, Action action)
           
abstract  Object ActionComponent.getInstance(String key, Action action)
           
 void ActionComponent.setAction(Action a)
           
 

Uses of Action in org.mentawai.jruby
 

Classes in org.mentawai.jruby that implement Action
 class RubyAction
           
 

Methods in org.mentawai.jruby that return Action
 Action RubyActionConfig.getAction()
           
static Action RubyAction.getAction()
           
 

Uses of Action in org.mentawai.message
 

Methods in org.mentawai.message with parameters of type Action
static List<Message> MessageManager.getErrors(Action action, boolean create)
           
static Map<String,Message> MessageManager.getFieldErrors(Action action, boolean create)
           
static List<Message> MessageManager.getMessages(Action action, boolean create)
           
static List<Message> MessageManager.getMessages(Action action, boolean create, boolean flash)
           
 

Uses of Action in org.mentawai.rule
 

Methods in org.mentawai.rule with parameters of type Action
 boolean Rule.check(String field, Action action)
          Check and validate the given field from the give action.
 boolean RequiredRule.check(String field, Action action)
           
 boolean RequiredFieldRule.check(String field, Action action)
           
 boolean OptionsRule.check(String field, Action action)
           
 boolean LocaleRule.check(String field, Action action)
           
 boolean ImageMinSizeRule.check(String field, Action action)
           
 boolean FileSizeRule.check(String field, Action action)
           
 boolean FileRule.check(String field, Action action)
           
 boolean DependentRule.check(String field, Action action)
           
 boolean DependentFieldValueRule.check(String field, Action action)
           
 boolean DejavuRule.check(String field, Action action)
           
 boolean CrossRule.check(String field, Action action)
           
 boolean CriptRule.check(String field, Action action)
           
 boolean BasicRule.check(String field, Action action)
           
 

Uses of Action in org.mentawai.spring
 

Methods in org.mentawai.spring that return Action
 Action SpringActionConfig.getAction()
           
 

Uses of Action in org.mentawai.tag.authentication
 

Fields in org.mentawai.tag.authentication declared as Action
protected  Action RequiresAuthentication.action
           
 

Uses of Action in org.mentawai.tag.authorization
 

Fields in org.mentawai.tag.authorization declared as Action
protected  Action RequiresAuthorization.action
           
 

Uses of Action in org.mentawai.tag.util
 

Fields in org.mentawai.tag.util declared as Action
protected  Action PrintTag.action
           
protected  Action ConditionalWithElseTag.action
           
protected  Action ConditionalTag.action
           
protected  Action AbstractListContext.action
           
protected  Action AbstractContext.action
           
 

Uses of Action in org.mentawai.util
 

Classes in org.mentawai.util that implement Action
 class MockAction
          A mock for facilitating action testing.
 

Methods in org.mentawai.util that return Action
 Action MockAction.getAction()
           
 

Methods in org.mentawai.util with parameters of type Action
static boolean ReCaptchaUtils.check(Action action)
           
static void DebugServletFilter.debug(Action a, Consequence c)
           
static void DebugServletFilter.debug(Action a, Filter f)
           
static void DebugServletFilter.debug(Action a, long time)
           
static void DebugServletFilter.debug(Action a, String value, boolean flag)
           
static void DebugServletFilter.debug(Action a, String actionName, String innerAction, ActionConfig ac, Locale pageLocale, Locale actionLocale)
           
static void DebugServletFilter.debugInputOutput(Action action)
           
static StringBuffer DebugServletFilter.getDebug(Action action)
           
static void MockAction.init(Action action)
           
 

Constructors in org.mentawai.util with parameters of type Action
MockAction(Action action)
           
 

Uses of Action in org.mentawai.validation
 

Methods in org.mentawai.validation with parameters of type Action
protected  Map<String,String> Validator.getTokens(Action action, Map<String,String> tokens, String field)
           
 boolean Validator.validate(Action action, MessageContext msgContext)
           
 



Copyright © 2013. All Rights Reserved.