org.mentawai.action
Class SuccessAction

java.lang.Object
  extended by org.mentawai.core.BaseAction
      extended by org.mentawai.core.SingleInstanceBaseAction
          extended by org.mentawai.action.SuccessAction
All Implemented Interfaces:
Action, StickyAction

public class SuccessAction
extends SingleInstanceBaseAction

A simple action that returns SUCCESS for every call. You may use this action to access JSP pages for example.

Author:
Sergio Oliveira

Field Summary
 
Fields inherited from class org.mentawai.core.BaseAction
cookies, msgContext
 
Fields inherited from interface org.mentawai.core.Action
ACCESSDENIED, ADD, AJAX, ALREADY, BACK, BLOCKED, CREATED, EDIT, ERROR, EXCEPTION, HTML, INDEX, JSON, JSP, LIST, LOGIN, MAIN, NEXT, NOT_FOUND, NULL, REMOVED, SHOW, STREAM, SUCCESS, TEST, UPDATED, XML
 
Constructor Summary
SuccessAction()
           
 
Method Summary
 String execute()
           
 
Methods inherited from class org.mentawai.core.SingleInstanceBaseAction
getApplication, getInput, getLocale, getOutput, getSession, removeAll, setApplication, setInput, setLocale, setOutput, setSession
 
Methods inherited from class org.mentawai.core.BaseAction
addError, addError, addError, addError, addError, addError, addError, addError, addError, addError, addError, addError, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, adhere, ajax, application, commit, commit, cookies, disjoin, findValue, findValue, getContextPath, getCookies, getError, getLocalizedText, getLocalizedText, getMessageTokens, getMessageTokens, getPrettyURL, getSessionLocale, getSessionObj, getUserLocale, getUserSession, hasError, init, init, input, isAjaxRequest, isAjaxRequest, isEmpty, isGet, isGet, isLogged, isPost, isPost, isPrettyURL, loc, onRemoved, output, redir, replaceSessionObj, replaceUserSession, rollback, rollback, session, setCookies, setMessageContext, setSessionGroup, setSessionGroup, setSessionGroups, setSessionGroups, setSessionLocale, setSessionLocale, setSessionObj, setSessionUser, setUserSession, stream, stream, stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuccessAction

public SuccessAction()
Method Detail

execute

public String execute()
               throws Exception
Overrides:
execute in class BaseAction
Throws:
Exception


Copyright © 2013. All Rights Reserved.