gov.grants.apply.struts.actions
Class GetOpportunityListAction

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

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

Action class for getting opportunity list.

Author:

Field Summary
(package private) static org.apache.log4j.Logger logx
           
 
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
GetOpportunityListAction()
           
 
Method Summary
 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.
 java.util.List retrieveOpportunityList(_GetOpportunityListResponse response)
          Retrieves opportunities.
 
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

logx

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

GetOpportunityListAction

public GetOpportunityListAction()
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

retrieveOpportunityList

public java.util.List retrieveOpportunityList(_GetOpportunityListResponse response)
                                       throws java.lang.Exception
Retrieves opportunities.

Parameters:
response - the GetOpportunityListResponse.
Returns:
a list of OpportunityInformationType.
Throws:
java.lang.Exception