public class S2SConnectorServiceBase extends Object implements S2SConnectorService
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
LOG |
protected S2SCertificateReader |
s2sCertificateReader |
protected String |
serviceHost |
protected String |
servicePort |
| Constructor and Description |
|---|
S2SConnectorServiceBase() |
| Modifier and Type | Method and Description |
|---|---|
protected ApplicantIntegrationPortType |
configureApplicantIntegrationSoapPort(String alias,
boolean mulitCampusEnabled)
This method is to get Soap Port
|
protected void |
configureKeyStoreAndTrustStore(org.apache.cxf.configuration.jsse.TLSClientParameters tlsConfig,
String alias,
boolean mulitCampusEnabled)
This method is to confgiure KeyStore and Truststore for Grants.Gov webservice client
|
protected ApplicantIntegrationPortType |
getApplicantIntegrationSoapPort(String proposalNumber)
This method is to get Soap Port in case of multicampus
|
GetApplicationListResponse |
getApplicationList(String opportunityId,
String cfdaNumber,
String proposalNumber)
This method is to get Application List from grants.gov for opportunityId, cfdaNumber and proposalNumber
|
GetApplicationStatusDetailResponse |
getApplicationStatusDetail(String ggTrackingId,
String proposalNumber)
This method is to get status of the submitted application.
|
GetOpportunityListResponse |
getOpportunityList(String cfdaNumber,
String opportunityId,
String competitionId)
This method is to get Opportunity List for the given cfda number,opportunity Id and competition Id from the grants guv.
|
S2SCertificateReader |
getS2sCertificateReader() |
protected String |
getS2SSoapHost()
This method returns the Host URL for S2S web services
|
S2SUtilService |
getS2SUtilService()
Gets the s2SUtilService attribute.
|
String |
getServiceHost() |
String |
getServicePort() |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
This method is to set businessObjectService
|
protected void |
setPossibleCypherSuites(org.apache.cxf.configuration.jsse.TLSClientParameters tlsConfig)
This method...
|
void |
setS2sCertificateReader(S2SCertificateReader s2sCertificateReader) |
void |
setS2SUtilService(S2SUtilService s2SUtilService)
Sets the s2sUtilService attribute value.
|
void |
setServiceHost(String serviceHost) |
void |
setServicePort(String servicePort) |
SubmitApplicationResponse |
submitApplication(String xmlText,
Map<String,DataHandler> attachments,
String proposalNumber)
This method is to submit a proposal to grants.gov
|
protected static final org.apache.commons.logging.Log LOG
protected String serviceHost
protected String servicePort
protected S2SCertificateReader s2sCertificateReader
public GetOpportunityListResponse getOpportunityList(String cfdaNumber, String opportunityId, String competitionId) throws S2SException
GetOpportunityListRequest object and passes it to the web service.getOpportunityList in interface S2SConnectorServicecfdaNumber - of the opportunity.opportunityId - parameter for the opportunity.competitionId - parameter for the opportunity.S2SExceptionS2SConnectorService.getOpportunityList(java.lang.String, java.lang.String,
java.lang.String)public GetApplicationStatusDetailResponse getApplicationStatusDetail(String ggTrackingId, String proposalNumber) throws S2SException
getApplicationStatusDetail in interface S2SConnectorServiceggTrackingId - grants gov tracking id for the proposal.proposalNumber - Proposal number.S2SExceptionS2SConnectorService.getApplicationStatusDetail(java.lang.String, java.lang.String)public GetApplicationListResponse getApplicationList(String opportunityId, String cfdaNumber, String proposalNumber) throws S2SException
getApplicationList in interface S2SConnectorServiceopportunityId - of the opportunity.cfdaNumber - of the opportunity.proposalNumber - proposal number.S2SExceptionS2SConnectorService.getApplicationList(java.lang.String, java.lang.String,
java.lang.String)public SubmitApplicationResponse submitApplication(String xmlText, Map<String,DataHandler> attachments, String proposalNumber) throws S2SException
submitApplication in interface S2SConnectorServicexmlText - xml format of the form object.attachments - attachments of the proposal.proposalNumber - proposal number.S2SExceptionS2SConnectorService.submitApplication(java.lang.String, java.util.Map, java.lang.String)protected ApplicantIntegrationPortType getApplicantIntegrationSoapPort(String proposalNumber) throws S2SException
proposalNumber - Proposal number.S2SExceptionprotected ApplicantIntegrationPortType configureApplicantIntegrationSoapPort(String alias, boolean mulitCampusEnabled) throws S2SException
S2SExceptionprotected void setPossibleCypherSuites(org.apache.cxf.configuration.jsse.TLSClientParameters tlsConfig)
tlsConfig - protected void configureKeyStoreAndTrustStore(org.apache.cxf.configuration.jsse.TLSClientParameters tlsConfig,
String alias,
boolean mulitCampusEnabled)
throws S2SException
tlsConfig - alias - mulitCampusEnabled - S2SExceptionprotected String getS2SSoapHost() throws S2SException
String host URLS2SException - if unable to read property filepublic void setS2SUtilService(S2SUtilService s2SUtilService)
generatorUtilService - The s2sUtilService to set.public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService(BusinessObjectService) - public S2SUtilService getS2SUtilService()
public String getServiceHost()
public void setServiceHost(String serviceHost)
public String getServicePort()
public void setServicePort(String servicePort)
public S2SCertificateReader getS2sCertificateReader()
public void setS2sCertificateReader(S2SCertificateReader s2sCertificateReader)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.