public interface S2SService
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkForSubmissionStatusChange(ProposalDevelopmentDocument pdDoc,
S2sAppSubmission appSubmission)
This method checks if status on grants.gov has changed since last check
and returns the status.
|
GetApplicationListResponse |
fetchApplicationListResponse(ProposalDevelopmentDocument pdDoc)
This method fetches the application list from Grants.gov for a given
proposal
|
String |
getStatusDetails(String ggTrackingId,
String proposalNumber)
This method is used to get the application status details.
|
List<S2sOppForms> |
parseOpportunityForms(S2sOpportunity opportunity)
This method returns the list of forms for a given opportunity
|
void |
populateAppSubmission(ProposalDevelopmentDocument pdDoc,
S2sAppSubmission appSubmission,
ApplicationInformationType ggApplication)
This method populates the
S2sAppSubmission BO with details from
ApplicationInformationType |
void |
populateSponsorProposalId(ProposalDevelopmentDocument pdDoc,
S2sAppSubmission appSubmission)
Takes the appSubmission and proposal and if a federal tracking id has been specified, will
set on both the proposal development doc and the related institutional proposal doc
if there is not a sponsor proposal id already.
|
AttachmentDataSource |
printForm(ProposalDevelopmentDocument pdDoc)
This method is used to print selected forms.
|
boolean |
refreshGrantsGov(ProposalDevelopmentDocument pdDoc)
This method checks for the status of submission for the given
ProposalDevelopmentDocument on Grants.gov |
List<S2sOpportunity> |
searchOpportunity(String providerCode,
String cfdaNumber,
String opportunityId,
String competitionId)
This method is to find the list of available opportunities
|
boolean |
submitApplication(ProposalDevelopmentDocument pdDoc)
This method is used to submit forms to the grants.guv
|
boolean |
validateApplication(ProposalDevelopmentDocument pdDoc)
This method is used to validate application before submission.
|
boolean |
validateApplication(ProposalDevelopmentDocument pdDoc,
List<org.kuali.rice.kns.util.AuditError> auditErrors)
This method is used to validate application before submission.
|
List<S2sOpportunity> searchOpportunity(String providerCode, String cfdaNumber, String opportunityId, String competitionId) throws S2SException
cfdaNumber - of the opportunity.opportunityId - parameter for the opportunity.competitionId - parameter for the opportunity.S2SExceptionList<S2sOppForms> parseOpportunityForms(S2sOpportunity opportunity) throws S2SException
opportunity - Listof S2sOppForms which are included in the
given S2sOpportunityS2SExceptionboolean refreshGrantsGov(ProposalDevelopmentDocument pdDoc) throws S2SException
ProposalDevelopmentDocument on Grants.govpdDoc - for which status has to be checkedtrue if status has changed, false
otherwiseS2SExceptionString getStatusDetails(String ggTrackingId, String proposalNumber) throws S2SException
ggTrackingId - grants gov tracking id for the application.proposalNumber - Proposal number.S2SExceptionAttachmentDataSource printForm(ProposalDevelopmentDocument pdDoc) throws S2SException, PrintingException
pdDoc - Proposal Development Document.S2SExceptionPrintingExceptionboolean submitApplication(ProposalDevelopmentDocument pdDoc) throws S2SException
pdDoc - Proposal Development Document.S2SExceptionboolean validateApplication(ProposalDevelopmentDocument pdDoc) throws S2SException
pdDoc - Proposal Development Document.S2SExceptionboolean validateApplication(ProposalDevelopmentDocument pdDoc, List<org.kuali.rice.kns.util.AuditError> auditErrors) throws S2SException
pdDoc - Proposal Development Document.S2SExceptionvoid populateAppSubmission(ProposalDevelopmentDocument pdDoc, S2sAppSubmission appSubmission, ApplicationInformationType ggApplication)
S2sAppSubmission BO with details from
ApplicationInformationTypeappSubmission - ggApplication - void populateSponsorProposalId(ProposalDevelopmentDocument pdDoc, S2sAppSubmission appSubmission)
pdDoc - appSubmission - GetApplicationListResponse fetchApplicationListResponse(ProposalDevelopmentDocument pdDoc) throws S2SException
pdDoc - GetApplicationListResponseS2SExceptionboolean checkForSubmissionStatusChange(ProposalDevelopmentDocument pdDoc, S2sAppSubmission appSubmission) throws S2SException
pdDoc - appSubmission - S2SExceptionCopyright © 2013 The Kuali Foundation. All Rights Reserved.