|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BudgetDocumentService
This defines the methods a BudgetDocumentService must implement
Method Summary | |
---|---|
BudgetConstructionDocument |
addOrUpdatePBGLRow(BudgetConstructionDocument bcDoc,
PendingBudgetConstructionGeneralLedger sourceRow)
Adds or Updates a Pending Budget GL row to a BudgetConstruction document with the passed in Pending Budget GL object. |
void |
calculateBenefits(BudgetConstructionDocument bcDoc)
Explicitly calls both the annual and monthly benefits calculation methods |
void |
calculateBenefitsIfNeeded(BudgetConstructionDocument bcDoc)
Checks if annual and/or monthly benefits need calculated and calls the associated calculation method |
void |
callForBenefitsCalcIfNeeded(BudgetConstructionDocument bcDoc,
BudgetConstructionMonthly budgetConstructionMonthly,
org.kuali.rice.kns.util.KualiInteger pbglChangeAmount)
Sets benefits calculation flags in Budget Construction Document associated with the monthly screen |
BudgetConstructionDocument |
getBudgetConstructionDocument(PendingBudgetConstructionAppointmentFunding appointmentFunding)
get the budget document with the information provided by the given appointment funding |
BudgetConstructionDocument |
getBudgetConstructionDocument(SalarySettingExpansion salarySettingExpansion)
get the budget document with the information provided by the given salary setting expansion |
BudgetConstructionHeader |
getBudgetConstructionHeader(PendingBudgetConstructionAppointmentFunding appointmentFunding)
get the budget document with the information provided by the given appointment funding |
BudgetConstructionHeader |
getByCandidateKey(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear)
Gets a BudgetConstructionHeader by the candidate key instead of primary key |
List<PendingBudgetConstructionGeneralLedger> |
getPBGLSalarySettingRows(BudgetConstructionDocument bcDocument)
Returns a list of Pending Budget GL rows from the DB for the BudgetConstructionDocument that are associated with Salary Setting including any 2PLG rows. |
org.kuali.rice.kns.util.KualiInteger |
getPendingBudgetConstructionAppointmentFundingRequestSum(PendingBudgetConstructionGeneralLedger salaryDetailLine)
Gets the salary detail lines request sum for a budget document expenditure accounting line |
List<BudgetConstructionAccountOrganizationHierarchy> |
getPushPullLevelList(BudgetConstructionDocument bcDoc,
org.kuali.rice.kim.bo.Person u)
|
BudgetConstructionDocument |
instantiateNewBudgetConstructionDocument(BudgetConstructionDocument budgetConstructionDocument)
Persists a brand new (blank) Budget Construction Document and prepares it to accept revenue/expenditure lines. |
boolean |
isAccountReportsExist(String chartOfAccountsCode,
String accountNumber)
Determine if account reports exists for the key passed in. |
boolean |
isAssociatedWithBudgetableDocument(PendingBudgetConstructionAppointmentFunding appointmentFunding)
determine whether the given appointment funding is associated with a budgetable document |
boolean |
isBudgetableAccount(Integer budgetYear,
Account account,
boolean isWagesCheck)
determine whether the given account is budgetable for the specified budget year |
boolean |
isBudgetableDocument(BudgetConstructionDocument document)
determine whether the given document is budgetable |
boolean |
isBudgetableDocument(BudgetConstructionHeader bcHeader)
determine whether the given document is budgetable |
boolean |
isBudgetableDocumentNoWagesCheck(BudgetConstructionDocument document)
determine whether the given document is budgetable skipping the wages allowed check |
boolean |
isBudgetableDocumentNoWagesCheck(BudgetConstructionHeader bcHeader)
determine whether the given document is budgetable skipping the wages allowed check |
boolean |
isBudgetableSubAccount(SubAccount subAccount,
String subAccountNumber)
determine whether the given subaccount is budgetable |
void |
populatePBGLLine(PendingBudgetConstructionGeneralLedger line)
Populates references for a given Pending Budget GL row. |
List<BudgetConstructionAccountOrganizationHierarchy> |
retrieveOrBuildAccountOrganizationHierarchy(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
Retrieves the Account Organization Hierarchy for the primary key passed in. |
List<PendingBudgetConstructionGeneralLedger> |
retrievePendingBudgetConstructionGeneralLedger(BudgetConstructionHeader budgetConstructionHeader)
retrieve all pending budget construction GL records associated with the given budget contruction header |
org.kuali.rice.kns.document.Document |
saveDocument(BudgetConstructionDocument budgetConstructionDocument)
Performs all actions needed to validate and save a Budget Construction document to the database and workflow. |
org.kuali.rice.kns.document.Document |
saveDocumentNoWorkflow(BudgetConstructionDocument budgetConstructionDocument)
Performs all actions needed to validate and save a Budget Construction document to the database only. |
org.kuali.rice.kns.document.Document |
saveDocumentNoWorkFlow(BudgetConstructionDocument bcDoc,
BCConstants.MonthSpreadDeleteType monthSpreadDeleteType,
boolean doMonthRICheck)
Performs all actions needed to validate and save a Budget Construction document to the database only. |
void |
saveMonthlyBudget(MonthlyBudgetForm monthlyBudgetForm,
BudgetConstructionMonthly budgetConstructionMonthly)
Saves a single BudgetConstructionMonthly row |
void |
updatePendingBudgetGeneralLedger(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.KualiInteger updateAmount)
update the pending budget construction GL record assocating with the given appointment funding. |
PendingBudgetConstructionGeneralLedger |
updatePendingBudgetGeneralLedgerPlug(BudgetConstructionDocument bcDoc,
org.kuali.rice.kns.util.KualiInteger updateAmount)
Adds or updates the 2PLG row in a BudgetConstructionDocument adding the updateAmount into any existing request amount |
void |
updatePendingBudgetGeneralLedgerPlug(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.KualiInteger updateAmount)
update the pending budget construction GL plug record assocating with the given appointment funding. |
void |
validateDocument(org.kuali.rice.kns.document.Document document)
Performs Budgetconstructiondocument validation as if saving, but does not perform the actual save. |
Method Detail |
---|
BudgetConstructionHeader getByCandidateKey(String chartOfAccountsCode, String accountNumber, String subAccountNumber, Integer fiscalYear)
chartOfAccountsCode
- accountNumber
- subAccountNumber
- fiscalYear
-
org.kuali.rice.kns.document.Document saveDocument(BudgetConstructionDocument budgetConstructionDocument) throws org.kuali.rice.kew.exception.WorkflowException, org.kuali.rice.kns.exception.ValidationException
document
-
org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kns.exception.ValidationException
org.kuali.rice.kns.document.Document saveDocumentNoWorkflow(BudgetConstructionDocument budgetConstructionDocument) throws org.kuali.rice.kns.exception.ValidationException
document
-
org.kuali.rice.kns.exception.ValidationException
org.kuali.rice.kns.document.Document saveDocumentNoWorkFlow(BudgetConstructionDocument bcDoc, BCConstants.MonthSpreadDeleteType monthSpreadDeleteType, boolean doMonthRICheck) throws org.kuali.rice.kns.exception.ValidationException
bcDoc
- doMonthRICheck
-
org.kuali.rice.kns.exception.ValidationException
void saveMonthlyBudget(MonthlyBudgetForm monthlyBudgetForm, BudgetConstructionMonthly budgetConstructionMonthly)
budgetConstructionMonthly
- void callForBenefitsCalcIfNeeded(BudgetConstructionDocument bcDoc, BudgetConstructionMonthly budgetConstructionMonthly, org.kuali.rice.kns.util.KualiInteger pbglChangeAmount)
bcDoc
- budgetConstructionMonthly
- pbglChangeAmount
- void calculateBenefitsIfNeeded(BudgetConstructionDocument bcDoc)
bcDoc
- void calculateBenefits(BudgetConstructionDocument bcDoc)
bcDoc
- org.kuali.rice.kns.util.KualiInteger getPendingBudgetConstructionAppointmentFundingRequestSum(PendingBudgetConstructionGeneralLedger salaryDetailLine)
salaryDetailLine
-
List<BudgetConstructionAccountOrganizationHierarchy> getPushPullLevelList(BudgetConstructionDocument bcDoc, org.kuali.rice.kim.bo.Person u)
void updatePendingBudgetGeneralLedger(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.KualiInteger updateAmount)
appointmentFunding
- the given appointment fundingupdateAmount
- the amount that can be used to update the amounts of the pending budget construction GL recordvoid updatePendingBudgetGeneralLedgerPlug(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.KualiInteger updateAmount)
appointmentFunding
- the given appointment fundingupdateAmount
- the amount that can be used to update the amounts of the pending budget construction GL plug recordBudgetConstructionHeader getBudgetConstructionHeader(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funding
BudgetConstructionDocument getBudgetConstructionDocument(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funding
BudgetConstructionDocument getBudgetConstructionDocument(SalarySettingExpansion salarySettingExpansion)
salarySettingExpansion
-
boolean isBudgetableDocument(BudgetConstructionHeader bcHeader)
bcHeader
- the given budget document
boolean isBudgetableDocumentNoWagesCheck(BudgetConstructionHeader bcHeader)
bcHeader
- the given budget document
boolean isBudgetableDocument(BudgetConstructionDocument document)
document
- the given budget document
boolean isBudgetableDocumentNoWagesCheck(BudgetConstructionDocument document)
document
- the given budget document
boolean isAssociatedWithBudgetableDocument(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funding
boolean isBudgetableAccount(Integer budgetYear, Account account, boolean isWagesCheck)
budgetYear
- the specified budget yearaccount
- the given accountisWagesCheck
- whether or not to include the no wages check
boolean isBudgetableSubAccount(SubAccount subAccount, String subAccountNumber)
subAccount
- the given subaccountsubAccountNumber
- the sub account number associated with the given sub account. If sub account is null, the number can
be empty or the default.
boolean isAccountReportsExist(String chartOfAccountsCode, String accountNumber)
chartOfAccountsCode
- accountNumber
-
List<PendingBudgetConstructionGeneralLedger> retrievePendingBudgetConstructionGeneralLedger(BudgetConstructionHeader budgetConstructionHeader)
budgetConstructionHeader
- the budget construction header associated with the pending budget construction GL records to
be retrieved
List<PendingBudgetConstructionGeneralLedger> getPBGLSalarySettingRows(BudgetConstructionDocument bcDocument)
bcDocument
-
BudgetConstructionDocument addOrUpdatePBGLRow(BudgetConstructionDocument bcDoc, PendingBudgetConstructionGeneralLedger sourceRow)
bcDoc
- sourceRow
-
PendingBudgetConstructionGeneralLedger updatePendingBudgetGeneralLedgerPlug(BudgetConstructionDocument bcDoc, org.kuali.rice.kns.util.KualiInteger updateAmount)
bcDoc
- updateAmount
-
void validateDocument(org.kuali.rice.kns.document.Document document) throws org.kuali.rice.kns.exception.ValidationException
document
-
org.kuali.rice.kns.exception.ValidationException
void populatePBGLLine(PendingBudgetConstructionGeneralLedger line)
line
- List<BudgetConstructionAccountOrganizationHierarchy> retrieveOrBuildAccountOrganizationHierarchy(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber)
universityFiscalYear
- chartOfAccountsCode
- accountNumber
-
BudgetConstructionDocument instantiateNewBudgetConstructionDocument(BudgetConstructionDocument budgetConstructionDocument) throws org.kuali.rice.kew.exception.WorkflowException
budgetConstructionDocument
-
org.kuali.rice.kew.exception.WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |