public interface S2SBudgetCalculatorService
Modifier and Type | Method and Description |
---|---|
org.kuali.coeus.sys.api.model.ScaleTwoDecimal |
getBaseSalaryByPeriod(Long budgetId,
int budgetPeriod,
KeyPersonDto keyPerson) |
List<? extends org.kuali.coeus.common.budget.api.core.category.BudgetCategoryMapContract> |
getBudgetCategoryMapList(List<String> filterTargetCategoryCodes,
List<String> filterCategoryTypes)
This method returns a list of
BudgetCategoryMapContract based on the input. |
BudgetSummaryDto |
getBudgetInfo(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc,
List<BudgetPeriodDto> budgetperiodList)
This method does the budget related calculations for a given
ProposalDevelopmentDocumentContract and returns them in
BudgetSummaryDto |
List<BudgetPeriodDto> |
getBudgetPeriods(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
This method gets the list of
BudgetPeriodDto for the latest BudgetContract of the given
ProposalDevelopmentDocumentContract |
IndirectCostDto |
getIndirectCosts(org.kuali.coeus.common.budget.api.core.BudgetContract budget,
org.kuali.coeus.common.budget.api.period.BudgetPeriodContract budgetPeriod)
This method computes the indirect costs for a given
BudgetPeriodContract |
List<? extends org.kuali.coeus.common.budget.api.nonpersonnel.BudgetLineItemContract> |
getMatchingLineItems(List<? extends org.kuali.coeus.common.budget.api.nonpersonnel.BudgetLineItemContract> lineItems,
List<String> budgetCategoryType) |
String |
getParticipantSupportCategoryCode() |
boolean |
isPersonNonMITPerson(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson)
This method determines whether a
ProposalPersonContract is a Non MIT person |
boolean |
keyPersonEqualsBudgetPerson(KeyPersonDto keyPersonInfo,
org.kuali.coeus.common.budget.api.personnel.BudgetPersonnelDetailsContract budgetPersonnelDetails)
This method compares a key person with budget person.
|
String getParticipantSupportCategoryCode()
List<? extends org.kuali.coeus.common.budget.api.nonpersonnel.BudgetLineItemContract> getMatchingLineItems(List<? extends org.kuali.coeus.common.budget.api.nonpersonnel.BudgetLineItemContract> lineItems, List<String> budgetCategoryType)
List<? extends org.kuali.coeus.common.budget.api.core.category.BudgetCategoryMapContract> getBudgetCategoryMapList(List<String> filterTargetCategoryCodes, List<String> filterCategoryTypes)
BudgetCategoryMapContract
based on the input. The list returned will not contain the categories
that the codes passed as a list of String
and also will not contain those that match the types passed as list of
String
. In case 2 empty lists are passed as parameters, the method will return entire list without applying any
filters.filterTargetCategoryCodes
- Category Codes that must be filteredfilterCategoryTypes
- Category types that must be filteredBudgetSummaryDto getBudgetInfo(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc, List<BudgetPeriodDto> budgetperiodList) throws S2SException
ProposalDevelopmentDocumentContract
and returns them in
BudgetSummaryDto
pdDoc
- ProposalDevelopmentDocumentContract.S2SException
List<BudgetPeriodDto> getBudgetPeriods(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc) throws S2SException
BudgetPeriodDto
for the latest BudgetContract
of the given
ProposalDevelopmentDocumentContract
pdDoc
- ProposalDevelopmentDocumentContractS2SException
boolean isPersonNonMITPerson(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson)
ProposalPersonContract
is a Non MIT personproposalPerson
- ProposalPerson.IndirectCostDto getIndirectCosts(org.kuali.coeus.common.budget.api.core.BudgetContract budget, org.kuali.coeus.common.budget.api.period.BudgetPeriodContract budgetPeriod)
BudgetPeriodContract
budgetPeriod
- given BudgetPeriod.org.kuali.coeus.sys.api.model.ScaleTwoDecimal getBaseSalaryByPeriod(Long budgetId, int budgetPeriod, KeyPersonDto keyPerson)
boolean keyPersonEqualsBudgetPerson(KeyPersonDto keyPersonInfo, org.kuali.coeus.common.budget.api.personnel.BudgetPersonnelDetailsContract budgetPersonnelDetails)
BudgetPersonnelDetailsContract
keyPersonInfo
- -
key person to comparebudgetPersonnelDetails
- person from BudgetPersonnelDetailsCopyright © 2014 The Kuali Foundation. All rights reserved.