|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BudgetConstructionDao
This interface defines the methods that a BudgetConstructionDao must provide.
| Method Summary | |
|---|---|
void |
deleteBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
This deletes a BudgetConstructionFundingLock from the database |
void |
deleteBudgetConstructionPullupByUserId(String principalName)
This method deletes all BudgetConstructionPullup rows associated with a user. |
void |
deleteExistingAccountOrganizationHierarchy(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
deletes an existing set of Account Organization Hierarchy objects from the DB for the account key passed in |
List<BudgetConstructionAccountOrganizationHierarchy> |
getAccountOrgHierForAccount(String chartOfAccountsCode,
String accountNumber,
Integer universityFiscalYear)
Returns a list of account organization hierarchy levels for an account |
BudgetConstructionAccountReports |
getAccountReports(String chartOfAccountsCode,
String accountNumber)
Returns a BudgetConstructionAccountReports object for the given key. |
List<PendingBudgetConstructionAppointmentFunding> |
getAllFundingForPosition(Integer universityFiscalYear,
String positionNumber)
Retrieves all PendingBudgetConstructionAppointmentFunding records for the given position key. |
List<BudgetConstructionPullup> |
getBudgetConstructionPullupChildOrgs(String principalId,
String chartOfAccountsCode,
String organizationCode)
This returns a list of BudgetConstructionPullup objects (organizations) that are children to the passed in organization for the user |
List<BudgetConstructionPullup> |
getBudgetConstructionPullupFlagSetByUserId(String principalName)
This method returns a list of BudgetConstructionPullup objects (organizations) ownded by the user that have the pullflag set |
BudgetConstructionHeader |
getByCandidateKey(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear)
This gets a BudgetConstructionHeader using the candidate key chart, account, subaccount, fiscalyear |
BudgetConstructionPosition |
getByPrimaryId(String positionNumber,
Integer fiscalYear)
Gets a BudgetConstructionPosition from the database by the primary key positionNumber, fiscalYear |
BudgetConstructionFundingLock |
getByPrimaryId(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear,
String principalId)
This gets a BudgetConstructionFundingLock using the primary key chart, account, subaccount, fiscalyear, pUId |
List<String> |
getDetailSalarySettingLaborObjects(Integer universityFiscalYear,
String chartOfAccountsCode)
Returns a list of labor objects that are Salary Setting detail related |
List |
getDocumentPBGLFringeLines(String documentNumber,
List fringeObjects)
returns a list of fringe benefit accounting lines for a document |
Collection<BudgetConstructionFundingLock> |
getFlocksForAccount(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear)
This gets the set of BudgetConstructionFundingLocks asssociated with a BC EDoc (account). |
BudgetConstructionOrganizationReports |
getOrganizationReports(String chartOfAccountsCode,
String organizationCode)
Returns a BudgetConstructionOrganizationReports object for the given key. |
List |
getPBGLSalarySettingRows(String documentNumber,
List salarySettingObjects)
Returns a list of Pending Budget GL rows that are Salary Setting detail related, based on the set of salarySettingObjects passed in |
org.kuali.rice.kns.util.KualiInteger |
getPendingBudgetConstructionAppointmentFundingRequestSum(PendingBudgetConstructionGeneralLedger salaryDetailLine)
Returns the sum of the salary detail request amounts for an accounting line |
String |
getPositionAssociatedWithFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
Returns the position number associated with a funding lock or the not found string if the lock is an orphan. |
boolean |
insertAccountIntoAccountOrganizationHierarchy(String rootChart,
String rootOrganization,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
Integer currentLevel,
String organizationChartOfAccountsCode,
String organizationCode)
Builds an Account Organization Hierarchy by recursively calling itself inserting each Hierarchy row ( BudgetConstructionAccountOrganizationHierarchy)
while walking the organization reports to structure (BudgetConstructionOrganizationReports) stopping at the
root of the organization tree or overflow value, whatever comes first. |
boolean |
isDelegate(String chartCd,
String accountNbr,
String principalId)
Determines is a user is an active Budget Construction document delegate approver for the Budget Construction document type or the 'ALL' document type |
void |
saveBudgetConstructionDocument(BudgetConstructionDocument bcDocument)
Save a BudgetConstructionDocument object to the database |
void |
saveBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
This saves a BudgetConstructionFundingLock to the database |
void |
saveBudgetConstructionHeader(BudgetConstructionHeader bcHeader)
This saves a BudgetConstructionHeader object to the database |
void |
saveBudgetConstructionPosition(BudgetConstructionPosition bcPosition)
Saves a BudgetConstructionPosition to the database |
| Method Detail |
|---|
BudgetConstructionHeader getByCandidateKey(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear)
chartOfAccountsCode - accountNumber - subAccountNumber - fiscalYear -
void saveBudgetConstructionHeader(BudgetConstructionHeader bcHeader)
bcHeader - void saveBudgetConstructionDocument(BudgetConstructionDocument bcDocument)
bcDocument -
BudgetConstructionFundingLock getByPrimaryId(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear,
String principalId)
chartOfAccountsCode - accountNumber - subAccountNumber - fiscalYear - principalId -
void saveBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
budgetConstructionFundingLock - void deleteBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
budgetConstructionFundingLock -
Collection<BudgetConstructionFundingLock> getFlocksForAccount(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear)
chartOfAccountsCode - accountNumber - subAccountNumber - fiscalYear -
String getPositionAssociatedWithFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
budgetConstructionFundingLock - - funding lock to get position for
BudgetConstructionPosition getByPrimaryId(String positionNumber,
Integer fiscalYear)
positionNumber - fiscalYear -
void saveBudgetConstructionPosition(BudgetConstructionPosition bcPosition)
bcPosition - void deleteBudgetConstructionPullupByUserId(String principalName)
principalName - List<BudgetConstructionPullup> getBudgetConstructionPullupFlagSetByUserId(String principalName)
principalName -
List<BudgetConstructionPullup> getBudgetConstructionPullupChildOrgs(String principalId,
String chartOfAccountsCode,
String organizationCode)
principalId - chartOfAccountsCode - organizationCode -
org.kuali.rice.kns.util.KualiInteger getPendingBudgetConstructionAppointmentFundingRequestSum(PendingBudgetConstructionGeneralLedger salaryDetailLine)
salaryDetailLine -
List getDocumentPBGLFringeLines(String documentNumber,
List fringeObjects)
documentNumber - fringeObjects -
boolean isDelegate(String chartCd,
String accountNbr,
String principalId)
chartCd - accountNbr - principalId -
List<BudgetConstructionAccountOrganizationHierarchy> getAccountOrgHierForAccount(String chartOfAccountsCode,
String accountNumber,
Integer universityFiscalYear)
chartOfAccountsCode - accountNumber - universityFiscalYear -
List<String> getDetailSalarySettingLaborObjects(Integer universityFiscalYear,
String chartOfAccountsCode)
universityFiscalYear - chartOfAccountsCode -
List getPBGLSalarySettingRows(String documentNumber,
List salarySettingObjects)
documentNumber - salarySettingObjects -
List<PendingBudgetConstructionAppointmentFunding> getAllFundingForPosition(Integer universityFiscalYear,
String positionNumber)
PendingBudgetConstructionAppointmentFunding records for the given position key.
universityFiscalYear - budget fiscal year, primary key field for position recordpositionNumber - position number, primary key field for position record
BudgetConstructionAccountReports getAccountReports(String chartOfAccountsCode,
String accountNumber)
BudgetConstructionAccountReports object for the given key.
chartOfAccountsCode - accountNumber -
BudgetConstructionOrganizationReports getOrganizationReports(String chartOfAccountsCode,
String organizationCode)
BudgetConstructionOrganizationReports object for the given key.
chartOfAccountsCode - organizationCode -
boolean insertAccountIntoAccountOrganizationHierarchy(String rootChart,
String rootOrganization,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
Integer currentLevel,
String organizationChartOfAccountsCode,
String organizationCode)
BudgetConstructionAccountOrganizationHierarchy)
while walking the organization reports to structure (BudgetConstructionOrganizationReports) stopping at the
root of the organization tree or overflow value, whatever comes first.
rootChart - rootOrganization - universityFiscalYear - chartOfAccountsCode - accountNumber - currentLevel - organizationChartOfAccountsCode - organizationCode -
void deleteExistingAccountOrganizationHierarchy(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
universityFiscalYear - chartOfAccountsCode - accountNumber -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||