|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.figure8.join.control.JoinAction org.figure8.join.control.action.ResourceActions org.figure8.join.control.action.GatewayActions
public class GatewayActions
This is a Struts action for managing all specific operations related to Gateway entities.
Field Summary | |
---|---|
static java.lang.String |
DETAILS_OP
Operation code for getting details on a specified Gateway view |
static java.lang.String |
GATEWAY_KEY
The request scope attribute under which the Gateway object currently selected by our logged-in User is stored. |
static java.lang.String |
TRACKING_VIEW_KEY
The request scope attribute under which the configuration changes view for a tracking period is stored. |
Fields inherited from class org.figure8.join.control.action.ResourceActions |
---|
CHANGES_OP, CONFIG_OP, DUPLICATE_RESOURCE_KEY, FORM_OP, LOAD_OP, RESOURCE_KEY, RESOURCES_KEY, SAVE_OP, SEARCH_OP |
Fields inherited from class org.figure8.join.control.JoinAction |
---|
BODY_ATTRIBUTE, BODY_PARAMETER, EXCEPTION_KEY, GUI_KEY, OP_PARAMETER, REND_MAIN, REND_NONE, REND_PARAMETER, REND_POPUP, XHR_PARAMETER |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
GatewayActions()
Creates a new instance of GatewayActions. |
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
doExecute(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Abstract method that subclasses must implement. |
protected org.apache.struts.action.ActionForward |
getGatewayChanges(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Load a specified gateway from datastore and get its configuration changes during specified period (use startDate and endDate from form). |
protected org.apache.struts.action.ActionForward |
getGatewayDetails(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Load a specified gateway from datastore. |
void |
setResourceManager(ResourceManager manager)
|
Methods inherited from class org.figure8.join.control.action.ResourceActions |
---|
createResourceInstance, loadResource, saveResource, searchResources, showResourceForm |
Methods inherited from class org.figure8.join.control.JoinAction |
---|
execute, getUserContainer, isLoggedIn, isXhrRequest, removeObsoleteForm |
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 java.lang.String DETAILS_OP
public static final java.lang.String GATEWAY_KEY
public static final java.lang.String TRACKING_VIEW_KEY
Constructor Detail |
---|
public GatewayActions()
Method Detail |
---|
public void setResourceManager(ResourceManager manager)
setResourceManager
in class ResourceActions
manager
- The ResourceManager implementation to usepublic org.apache.struts.action.ActionForward doExecute(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
JoinAction
doExecute
in class ResourceActions
operation
- String representing the operation to invoke on Actionmapping
- Mapping between forwards name and path for this actionform
- The form object containing request parametersrequest
- The servlet container request wrapperresponse
- The servlet container response wrapper
java.lang.Exception
- such as InfraStructureExceptions ...protected org.apache.struts.action.ActionForward getGatewayDetails(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
protected org.apache.struts.action.ActionForward getGatewayChanges(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |