gov.grants.apply.struts.actions
Class GetApplicationListAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bygov.grants.apply.struts.actions.GetApplicationListAction
All Implemented Interfaces:
Constants

public class GetApplicationListAction
extends org.apache.struts.action.Action
implements Constants

Action class for getting application list.

Author:
Feng Qian, Brian Husted, Mark Sommer

Field Summary
(package private) static org.apache.log4j.Logger log
           
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Fields inherited from interface gov.grants.apply.struts.Constants
ACTION_CONTINUE, ACTION_FAILURE, ACTION_SUCCESS, APP_RECEIPT_DATE, APPLICATION_INFO, APPLICATION_XML, ATTACHMENTS, ERROR_DETAIL, GETOPPORTUNITY_LIST, GG_TRACKING_ID, SOAP_SERVER_PROPERTY_FILE, STATUS_DETAIL, XML_FILE_NAME
 
Constructor Summary
GetApplicationListAction()
           
 
Method Summary
protected  _GetApplicationListRequest createRequest(GetApplicationListForm form)
          Creates an application list request
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Executes an Action.
protected  java.util.List formatReply(_GetApplicationListResponse getApplicationListResponse)
          Formats a reply
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static final org.apache.log4j.Logger log
Constructor Detail

GetApplicationListAction

public GetApplicationListAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(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
Executes an Action.

Parameters:
mapping - the ActionMapping.
request - the HttpServletRequest.
response - the HttpServletResponse.
Returns:
the ActionForward.
Throws:
Exception.
java.lang.Exception

createRequest

protected _GetApplicationListRequest createRequest(GetApplicationListForm form)
Creates an application list request

Parameters:
form - the GetApplicationListForm
Returns:
the _GetApplicationListRequest

formatReply

protected java.util.List formatReply(_GetApplicationListResponse getApplicationListResponse)
                              throws java.lang.Exception
Formats a reply

Returns:
An List of the ApplicationInformationType
Throws:
java.lang.Exception