|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.PicklistAction
public class PicklistAction
handle Picklist manipulation
Field Summary | |
---|---|
static String |
ASSOCIATE_PREFIX
|
static String |
DO_ADD_ITEM
|
static String |
DO_DEC_ITEM_ORDER
|
static String |
DO_DELETE_ITEM
|
static String |
DO_EDIT_ITEM
Constant value for state 'Save Picklist Item' |
static String |
DO_INC_ITEM_ORDER
|
static String |
EXISTING_ITEM_PREFIX
|
static String |
LIST_PICKLISTS
Constant value for state 'List All Picklists' |
static String |
NEW_ITEM_PREFIX
|
static String |
PROMPT_ADD_ITEM
|
static String |
PROMPT_DELETE_ITEM
|
static String |
PROMPT_EDIT_ITEM
|
static String |
PROMPT_LIST
edit picklist state |
static String |
SORT_BY_ALPHA
|
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 | |
---|---|
PicklistAction()
|
Method Summary | |
---|---|
String |
getTitle()
Returns the title of this controller |
protected void |
runDoAddItemState(ExpressoRequest request,
ExpressoResponse response)
Do to add pick item. |
protected void |
runDoDecItemOrderState(ExpressoRequest request,
ExpressoResponse response)
Decrement pick item order number. |
protected void |
runDoDeleteItemState(ExpressoRequest request,
ExpressoResponse response)
Delete single pick item. |
protected void |
runDoEditItemState(ExpressoRequest request,
ExpressoResponse response)
Do for editing single pick item. |
protected void |
runDoIncItemOrderState(ExpressoRequest request,
ExpressoResponse response)
Increment pick item order number. |
protected void |
runPromptAddItemState(ExpressoRequest request,
ExpressoResponse response)
Prompt to add pick item. |
protected void |
runPromptDeleteItemState(ExpressoRequest request,
ExpressoResponse response)
Prompt for deleting single pick item. |
protected void |
runPromptEditItemState(ExpressoRequest request,
ExpressoResponse response)
Prompt for editing single pick item. |
protected void |
runPromptEditPicklistState(ExpressoRequest request,
ExpressoResponse response)
Prompt for edits. |
protected void |
runSortByAlphaState(ExpressoRequest request,
ExpressoResponse response)
Sort by alpha of display name of items. |
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 |
Field Detail |
---|
public static final String PROMPT_LIST
public static final String PROMPT_EDIT_ITEM
public static final String DO_EDIT_ITEM
public static final String DO_INC_ITEM_ORDER
public static final String DO_DEC_ITEM_ORDER
public static final String PROMPT_ADD_ITEM
public static final String DO_ADD_ITEM
public static final String SORT_BY_ALPHA
public static final String PROMPT_DELETE_ITEM
public static final String DO_DELETE_ITEM
public static final String LIST_PICKLISTS
public static final String NEW_ITEM_PREFIX
public static final String EXISTING_ITEM_PREFIX
public static final String ASSOCIATE_PREFIX
Constructor Detail |
---|
public PicklistAction()
Method Detail |
---|
public String getTitle()
getTitle
in class Controller
protected void runPromptEditPicklistState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runPromptEditItemState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runDoEditItemState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runPromptDeleteItemState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runDoDeleteItemState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runDoIncItemOrderState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runDoDecItemOrderState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runPromptAddItemState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runDoAddItemState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.protected void runSortByAlphaState(ExpressoRequest request, ExpressoResponse response) throws ControllerException
request
- The ExpressoRequest object.response
- The ExpressoResponse object.
ControllerException
- upon error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |