|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
com.jcorporate.expresso.core.controller.Controller
com.jcorporate.expresso.core.controller.DBController
com.sri.common.controller.AbstractDBController
com.sri.emo.controller.EmoAction
public class EmoAction
Common methods (header, footer) which are typically called via a strategy pattern.
| Field Summary |
|---|
| Fields inherited from class com.sri.common.controller.AbstractDBController |
|---|
COLUMN, COMMON_FOOTER_HANDLER, COMMON_HEADER_HANDLER, DELIMIT, EDIT_GROUP_DISPLAY, EMBEDDED_MODE, FOOTER, MAX_CHARS_OUTPUT, MAX_TEXTAREA_LENGTH, MULTIPLE_TEXTAREA_NUM_LINES, REQUEST_CONTAINER, ROW, ROW_BLOCK, SESSION_CONTAINER, SINGLE_TEXTAREA_NUM_LINES, TEXTAREA_NUM_COLS, WARNING_LIST |
| Fields inherited from class com.jcorporate.expresso.core.controller.DBController |
|---|
CACHE_NAME |
| Fields inherited from class com.jcorporate.expresso.core.controller.Controller |
|---|
CONTROLLER_PARAM_KEY, CTL_SUCC_CTL, CTL_SUCC_STATE, CTL_SUCC_TRAN, mLog, NEWSTATE_EXCEPTION_KEY, ORIGINAL_URL_KEY, REQUEST_KEY, RESPONSE_KEY, RETURN_TO_SENDER_TRAN, STATE_ERR_CTL, STATE_ERR_STATE, STATE_ERR_TRAN, STATE_PARAM_KEY, STATE_SUCC_CTL, STATE_SUCC_STATE, STATE_SUCC_TRAN |
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
EmoAction()
|
|
| Method Summary | |
|---|---|
protected void |
addFooter(ControllerRequest request,
ControllerResponse response)
// footer contains links to real and 'fake' entities |
protected void |
addHeader(ControllerRequest request,
ControllerResponse response)
|
String |
getTitle()
Return the title of this Controller |
void |
runFooterState(ControllerRequest request,
ControllerResponse response)
footer will be executed here. |
void |
runHeaderState(ControllerRequest request,
ControllerResponse response)
a special state call will execute this state |
| Methods inherited from class com.sri.common.controller.AbstractDBController |
|---|
addEmbeddedParameter, addWarning, addWarningList, getActionForwarding, getCheckbox, getPermsTrans, getPrettyXML, getTextArea, getTextArea, getWarningList, isEmbeddedMode, isValidAndPopulated, outputXML, populateDBObject, postPerform, prePerform, stateAllowed, str, strTrunc, trimAllTextFields |
| Methods inherited from class com.jcorporate.expresso.core.controller.DBController |
|---|
getString, isAllowed |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmoAction()
| Method Detail |
|---|
public String getTitle()
getTitle in class Controller
public void runFooterState(ControllerRequest request,
ControllerResponse response)
throws ControllerException
runFooterState in interface IFooterStateHandlerrequest - the ControllerRequest objectresponse - the ControllerResponse object
ControllerException - upon error
protected void addFooter(ControllerRequest request,
ControllerResponse response)
throws ControllerException,
DBException
ControllerException
DBException
protected void addHeader(ControllerRequest request,
ControllerResponse response)
throws DBException,
ControllerException
DBException
ControllerException
public void runHeaderState(ControllerRequest request,
ControllerResponse response)
throws ControllerException
runHeaderState in interface IHeaderStateHandlerrequest - the ControllerRequest objectresponse - the ControllerResponse object
ControllerException - upon error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||