| org.kuali.module.kra.budget.service.BudgetPeriodService
All known Subclasses: org.kuali.module.kra.budget.service.impl.BudgetPeriodServiceImpl,
BudgetPeriodService | public interface BudgetPeriodService (Code) | | This interface defines methods that a BudgetPeriod service must provide
|
Method Summary | |
public BudgetPeriod | getBudgetPeriod(String documentNumber, Integer budgetPeriodSequenceNumber) | public BudgetPeriod | getFirstBudgetPeriod(String documentNumber) | public BudgetPeriod | getPeriodAfterOffset(Integer budgetPeriodSequenceNumber, int offset, List budgetPeriodList) Finds a BudgetPeriod with an offset to the budgetPeriodSequenceNumber's BudgetPeriod. | public int | getPeriodIndex(Integer budgetPeriodSequenceNumber, List budgetPeriodList) Returns the index (zero based) of a BudgetPeriod per the passed in budgetPeriodSequenceNumber.
Parameters: budgetPeriodSequenceNumber - BudgetPeriod to find the index for. Parameters: budgetPeriodList - Budget.periods list index (zero based). | public int | getPeriodsRange(Integer budgetPeriodSequenceNumberA, Integer budgetPeriodSequenceNumberB, List budgetPeriodList) Finds the range between two BudgetPeriods.
Parameters: budgetPeriodSequenceNumberA - First BudgetPeriod to find the range for. Parameters: budgetPeriodSequenceNumberB - Second BudgetPeriod to find the range for. Parameters: budgetPeriodList - Budget.periods list range. |
getPeriodAfterOffset | public BudgetPeriod getPeriodAfterOffset(Integer budgetPeriodSequenceNumber, int offset, List budgetPeriodList)(Code) | | Finds a BudgetPeriod with an offset to the budgetPeriodSequenceNumber's BudgetPeriod.
Parameters: budgetPeriodSequenceNumber - BudgetPeriod to find the index for. Parameters: offset - may be positive or negative Parameters: budgetPeriodList - Budget.periods list in relation to budgetPeriodSequenceNumber's BudgetPeriod with offset |
getPeriodIndex | public int getPeriodIndex(Integer budgetPeriodSequenceNumber, List budgetPeriodList)(Code) | | Returns the index (zero based) of a BudgetPeriod per the passed in budgetPeriodSequenceNumber.
Parameters: budgetPeriodSequenceNumber - BudgetPeriod to find the index for. Parameters: budgetPeriodList - Budget.periods list index (zero based). -1 if it isn't found. |
getPeriodsRange | public int getPeriodsRange(Integer budgetPeriodSequenceNumberA, Integer budgetPeriodSequenceNumberB, List budgetPeriodList)(Code) | | Finds the range between two BudgetPeriods.
Parameters: budgetPeriodSequenceNumberA - First BudgetPeriod to find the range for. Parameters: budgetPeriodSequenceNumberB - Second BudgetPeriod to find the range for. Parameters: budgetPeriodList - Budget.periods list range. -1 if it isn't found. |
|
|