| org.mdarad.framework.util.struts.AbstractAction
All known Subclasses: org.mdarad.framework.util.struts.SwitchLocaleAction,
AbstractAction | abstract public class AbstractAction extends TilesAction (Code) | | |
Method Summary | |
public static ContextStack | createNewContextStack(String contextStackKey, HttpServletRequest httpServletRequest) | public void | deleteContextObject(String contextStackKey, Entity entityBean, HttpServletRequest httpServletRequest) | protected ActionForward | determineForwardAggregation(String childAggregationActionName, String childAggregationName, ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) | protected ActionForward | forwardAggregationParent(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName) | protected ActionForward | forwardCancel(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) | protected ActionForward | forwardChildAggregation(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String childAggregationName, String childAggregationActionName) | protected ActionForward | forwardDisplay(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) | protected ActionForward | forwardDisplay(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String forward) | protected ActionForward | forwardFailure(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) | protected ActionForward | forwardSuccess(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) | protected String | getAggregationParentName(ContextStack contextStack) Get the aggregation parent name if found. | public static ContextStack | getContextStack(String contextStackKey, HttpServletRequest httpServletRequest) | public Entity | getCurrentEntityFromContextStack(String contextStackKey, HttpServletRequest httpServletRequest) | public String | getFirstParameterNameFromPrefix(HttpServletRequest httpServletRequest, String prefix) | protected String | getForwardAggregationChildName(String childAggregationName, String childAggregationActionName) | protected String | getForwardAggregationParentName(String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName) | protected String | getParentChildAggregationName(ContextStack contextStack) Get the parent's child aggregation name if found. | public static void | nullifyContextStack(String contextStackKey, ContextStack contextStack, HttpServletRequest httpServletRequest) | protected void | saveContextObjects(ContextStack contextStack) | public void | saveContextObjectsByParent(String contextStackKey, Entity entityBean, HttpServletRequest httpServletRequest, boolean isNewInstance) Save the context objects by updating the parent elements and saving the root entity. | public void | saveContextObjectsByParent(ContextStack contextStack) Save the context objects by updating the parent elements and saving the root entity. | public static void | setContextStack(String contextStackKey, ContextStack contextStack, HttpServletRequest httpServletRequest) | public void | setContextStackIDInRequest(String contextStackKey, HttpServletRequest httpServletRequest) | protected void | updateContextObjects(ContextStack contextStack) | protected void | updateContextStack(ContextStack contextStack, Entity entityBean, Class entityClass, BusinessDelegate businessDelegate, boolean isChildMultipleAggregation, boolean isNewInstance, String childAggregationName) |
AGGREGATION_PARENT_FORWARD_PREFIX | final public static String AGGREGATION_PARENT_FORWARD_PREFIX(Code) | | |
AGGREGATION_PARENT_FORWARD_SEPARATOR | final public static String AGGREGATION_PARENT_FORWARD_SEPARATOR(Code) | | |
CANCEL_FORWARD_KEY | final public static String CANCEL_FORWARD_KEY(Code) | | |
CHILD_AGGREGATION_FORWARD_PREFIX | final public static String CHILD_AGGREGATION_FORWARD_PREFIX(Code) | | |
CHILD_AGGREGATION_FORWARD_SEPARATOR | final public static String CHILD_AGGREGATION_FORWARD_SEPARATOR(Code) | | |
CONTEXT_STACK_USE_PARAMETER_KEY | final public static String CONTEXT_STACK_USE_PARAMETER_KEY(Code) | | |
DELETE_CHILD_ACTION_SUFFIX_PARAMETER_KEY | final public static String DELETE_CHILD_ACTION_SUFFIX_PARAMETER_KEY(Code) | | |
DISPLAY_FORWARD_KEY | final public static String DISPLAY_FORWARD_KEY(Code) | | |
FAILURE_FORWARD_KEY | final public static String FAILURE_FORWARD_KEY(Code) | | |
FORM_CHILD_ACTION_SUFFIX_PARAMETER_KEY | final public static String FORM_CHILD_ACTION_SUFFIX_PARAMETER_KEY(Code) | | |
ID_IN_REQUEST_ATTRIBUTE_PARAMETER_KEY | final public static String ID_IN_REQUEST_ATTRIBUTE_PARAMETER_KEY(Code) | | |
SUCCESS_FORWARD_KEY | final public static String SUCCESS_FORWARD_KEY(Code) | | |
WEB_CONTEXT_LOCALIZATION_CONTEXT_KEY | final public static String WEB_CONTEXT_LOCALIZATION_CONTEXT_KEY(Code) | | |
determineForwardAggregation | protected ActionForward determineForwardAggregation(String childAggregationActionName, String childAggregationName, ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws SystemException(Code) | | Determine the action forward for the aggregation we are currently navigating to
Parameters: childAggregationActionName - Parameters: childAggregationName - Parameters: actionMapping - Parameters: actionForm - Parameters: httpServletRequest - Parameters: httpServletResponse - throws: SystemException - |
forwardAggregationParent | protected ActionForward forwardAggregationParent(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName)(Code) | | |
getAggregationParentName | protected String getAggregationParentName(ContextStack contextStack)(Code) | | Get the aggregation parent name if found. Otherwise return null
Parameters: contextStack - The context stack The aggregation parent name, otherwise null |
getContextStack | public static ContextStack getContextStack(String contextStackKey, HttpServletRequest httpServletRequest)(Code) | | Get the context stack that is stored in the session
Parameters: contextStackKey - Parameters: httpServletRequest - |
getForwardAggregationChildName | protected String getForwardAggregationChildName(String childAggregationName, String childAggregationActionName)(Code) | | |
getForwardAggregationParentName | protected String getForwardAggregationParentName(String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName)(Code) | | |
getParentChildAggregationName | protected String getParentChildAggregationName(ContextStack contextStack)(Code) | | Get the parent's child aggregation name if found. Otherwise return null
Parameters: contextStack - The context stack The parent child aggregation name, otherwise null |
setContextStackIDInRequest | public void setContextStackIDInRequest(String contextStackKey, HttpServletRequest httpServletRequest)(Code) | | Redirect the context stack key in the request
Parameters: contextStackKey - Parameters: httpServletRequest - |
updateContextStack | protected void updateContextStack(ContextStack contextStack, Entity entityBean, Class entityClass, BusinessDelegate businessDelegate, boolean isChildMultipleAggregation, boolean isNewInstance, String childAggregationName) throws ServiceLocatorException(Code) | | Update the contextStack with the necessary information
Parameters: contextStack - Parameters: entityBean - Parameters: entityClass - Parameters: businessDelegate - Parameters: isChildMultipleAggregation - Parameters: childAggregationName - throws: ServiceLocatorException - |
|
|