1 package org.kuali.coeus.instprop.api.sponsor;
2
3 public interface InstPropSponsorService {
4
5 /**
6 * This method updates the sponsor proposal number on an institutional proposal only if the institutional proposal
7 * does not currently have an sponsor proposal number set. If the institutional proposal is not found then nothing
8 * is updated.
9 *
10 * @param institutionalProposalId the institutional proposal id. cannot be null.
11 * @param sponsorProposalNumber the sponsor proposal number to set. cannot be blank.
12 * @throws java.lang.IllegalArgumentException if the institutionalProposalNumber is null or sponsorProposalNumber is blank
13 */
14 void updateSponsorProposalNumber(Long institutionalProposalId, String sponsorProposalNumber);
15 }