1 package org.kuali.coeus.s2sgen.impl.budget;
2
3 import org.kuali.coeus.propdev.api.budget.ProposalDevelopmentBudgetExtContract;
4 import org.kuali.coeus.propdev.api.core.DevelopmentProposalContract;
5
6 /**
7 * This service contains generic budget handling code for S2S.
8 */
9 public interface S2SCommonBudgetService {
10
11 /**
12 * This method retrieves a Budget for use in S2S generators. S2S has special rules, where
13 * it first will look for a final budget and if none exists it will then look for the latest
14 * budget.
15 *
16 * @param developmentProposal the development proposal, cannot be null.
17 * @return a Budget, either a final one, the latest non-final one, or null
18 */
19 ProposalDevelopmentBudgetExtContract getBudget(DevelopmentProposalContract developmentProposal);
20 }