gov.grants.apply.ws
Class GetOpportunityListProcessor
java.lang.Object
gov.grants.apply.ws.AbstractWSProcessor
gov.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static final org.apache.log4j.Logger log
GetOpportunityListProcessor
public GetOpportunityListProcessor()
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.