gov.grants.apply.ws
Class GetOpportunityListProcessor

java.lang.Object
  extended bygov.grants.apply.ws.AbstractWSProcessor
      extended bygov.grants.apply.ws.GetOpportunityListProcessor
All Implemented Interfaces:
WSProcessor

public class GetOpportunityListProcessor
extends AbstractWSProcessor

Processes a GetOpportunityList Web Service Request.

Author:
Brian Husted

Field Summary
(package private) static org.apache.log4j.Logger log
           
 
Constructor Summary
GetOpportunityListProcessor()
           
 
Method Summary
protected  _GetOpportunityListResponse buildResponse(java.util.List opportunities)
           
protected  java.util.List getOpportunityList(_GetOpportunityListRequest getOpportunityListRequest)
           
protected static boolean hasValue(java.lang.Object o)
           
 java.lang.Object processRequest(java.lang.Object request)
           
 
Methods inherited from class gov.grants.apply.ws.AbstractWSProcessor
getUserId
 
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

GetOpportunityListProcessor

public GetOpportunityListProcessor()
Method Detail

processRequest

public java.lang.Object processRequest(java.lang.Object request)
                                throws java.lang.Exception
Parameters:
request - the Object of the webservice request.
Returns:
the Object of the opportunities.
Throws:
java.lang.Exception

getOpportunityList

protected java.util.List getOpportunityList(_GetOpportunityListRequest getOpportunityListRequest)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

buildResponse

protected _GetOpportunityListResponse buildResponse(java.util.List opportunities)

hasValue

protected static boolean hasValue(java.lang.Object o)
Parameters:
o - an object.
Returns:
a true if the object is not null, a false if the object is null.