| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseAjaxtagAction
This actions holds an aschycronous response to ajaxtags.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
StickyAction
An interface describing a sticky action, in other words,
an action that can adhere to the session and persist its state.
|
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
InvocationChain(String actionName,
Action action,
ActionConfig ac)
Creates an InvocationChain for this action.
|
SessionContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Action action) |
SingleInstanceActionConfig(Action instance) |
SingleInstanceActionConfig(String name,
Action instance) |
SingleInstanceActionConfig(String name,
Action instance,
String innerAction) |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
SessionListener.beforeRemoveAttribute(String name,
Action action)
Called before remove any attribute from session
|
void |
SessionListener.beforeResetSession(Action action) |
void |
SessionListener.beforeSetAttribute(String name,
SessionContext.Holder<Object> value,
Action action)
Called before set any attribute to the session
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Action |
GuiceActionConfig.getAction() |
| Modifier and Type | Method and Description |
|---|---|
protected Action |
ActionComponent.getAction() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
RubyAction |
| Modifier and Type | Method and Description |
|---|---|
Action |
RubyActionConfig.getAction() |
static Action |
RubyAction.getAction() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
Action |
SpringActionConfig.getAction() |
| Modifier and Type | Field and Description |
|---|---|
protected Action |
RequiresAuthentication.action |
| Modifier and Type | Field and Description |
|---|---|
protected Action |
RequiresAuthorization.action |
| Modifier and Type | Field and Description |
|---|---|
protected Action |
PrintTag.action |
protected Action |
ConditionalWithElseTag.action |
protected Action |
ConditionalTag.action |
protected Action |
AbstractListContext.action |
protected Action |
AbstractContext.action |
| Modifier and Type | Class and Description |
|---|---|
class |
MockAction
A mock for facilitating action testing.
|
| Modifier and Type | Method and Description |
|---|---|
Action |
MockAction.getAction() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
MockAction(Action action) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
Validator.getTokens(Action action,
Map<String,String> tokens,
String field) |
boolean |
Validator.validate(Action action,
MessageContext msgContext) |
Copyright © 2015. All Rights Reserved.