|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionDaoOjb
public class BudgetConstructionDaoOjb
This class is the OJB implementation of the BudgetConstructionDao interface.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
BudgetConstructionDaoOjb()
|
|
| 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 |
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
Gets the dataDictionaryService attribute. |
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 currentLevelCode,
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 chartOfAccountsCode,
String accountNumber,
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 |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value. |
void |
setKualiModuleService(org.kuali.rice.kns.service.KualiModuleService kualiModuleService)
Sets the kualiModuleService attribute value. |
| Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb |
|---|
getDbPlatform, setDbPlatform |
| Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
|---|
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BudgetConstructionDaoOjb()
| Method Detail |
|---|
public BudgetConstructionHeader getByCandidateKey(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear)
getByCandidateKey in interface BudgetConstructionDaochartOfAccountsCode - accountNumber - subAccountNumber - fiscalYear -
public void saveBudgetConstructionHeader(BudgetConstructionHeader bcHeader)
saveBudgetConstructionHeader in interface BudgetConstructionDaobcHeader - public void saveBudgetConstructionDocument(BudgetConstructionDocument bcDocument)
BudgetConstructionDao
saveBudgetConstructionDocument in interface BudgetConstructionDaoBudgetConstructionDao.saveBudgetConstructionDocument(org.kuali.kfs.module.bc.document.BudgetConstructionDocument)
public BudgetConstructionFundingLock getByPrimaryId(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear,
String principalId)
getByPrimaryId in interface BudgetConstructionDaochartOfAccountsCode - accountNumber - subAccountNumber - fiscalYear - principalId -
public void saveBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
saveBudgetConstructionFundingLock in interface BudgetConstructionDaobudgetConstructionFundingLock - public void deleteBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
deleteBudgetConstructionFundingLock in interface BudgetConstructionDaobudgetConstructionFundingLock -
public Collection<BudgetConstructionFundingLock> getFlocksForAccount(String chartOfAccountsCode,
String accountNumber,
String subAccountNumber,
Integer fiscalYear)
getFlocksForAccount in interface BudgetConstructionDaochartOfAccountsCode - accountNumber - subAccountNumber - fiscalYear -
public String getPositionAssociatedWithFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
BudgetConstructionDao
getPositionAssociatedWithFundingLock in interface BudgetConstructionDaobudgetConstructionFundingLock - - funding lock to get position for
BudgetConstructionDao.getPositionAssociatedWithFundingLock(org.kuali.kfs.module.bc.businessobject.BudgetConstructionFundingLock)
public BudgetConstructionPosition getByPrimaryId(String positionNumber,
Integer fiscalYear)
getByPrimaryId in interface BudgetConstructionDaopositionNumber - fiscalYear -
public void saveBudgetConstructionPosition(BudgetConstructionPosition bcPosition)
saveBudgetConstructionPosition in interface BudgetConstructionDaobcPosition - public void deleteBudgetConstructionPullupByUserId(String principalName)
BudgetConstructionDao
deleteBudgetConstructionPullupByUserId in interface BudgetConstructionDaoBudgetConstructionDao.deleteBudgetConstructionPullupByUserId(java.lang.String)public List<BudgetConstructionPullup> getBudgetConstructionPullupFlagSetByUserId(String principalName)
BudgetConstructionDao
getBudgetConstructionPullupFlagSetByUserId in interface BudgetConstructionDaoBudgetConstructionDao.getBudgetConstructionPullupFlagSetByUserId(java.lang.String)
public List<BudgetConstructionPullup> getBudgetConstructionPullupChildOrgs(String principalId,
String chartOfAccountsCode,
String organizationCode)
BudgetConstructionDao
getBudgetConstructionPullupChildOrgs in interface BudgetConstructionDaoorg.kuali.kfs.module.bc.document.dataaccess.BudgetConstructionDao#getBcPullupChildOrgs(java.lang.String,
java.lang.String, java.lang.String)public org.kuali.rice.kns.util.KualiInteger getPendingBudgetConstructionAppointmentFundingRequestSum(PendingBudgetConstructionGeneralLedger salaryDetailLine)
BudgetConstructionDao
getPendingBudgetConstructionAppointmentFundingRequestSum in interface BudgetConstructionDaoBudgetConstructionDao.getPendingBudgetConstructionAppointmentFundingRequestSum(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionGeneralLedger)
public List getDocumentPBGLFringeLines(String documentNumber,
List fringeObjects)
BudgetConstructionDao
getDocumentPBGLFringeLines in interface BudgetConstructionDaoBudgetConstructionDao.getDocumentPBGLFringeLines(java.lang.String,
java.util.List)
public boolean isDelegate(String chartOfAccountsCode,
String accountNumber,
String principalId)
BudgetConstructionDao
isDelegate in interface BudgetConstructionDaoBudgetConstructionDao.isDelegate(java.lang.String, java.lang.String,
java.lang.String)
public List<BudgetConstructionAccountOrganizationHierarchy> getAccountOrgHierForAccount(String chartOfAccountsCode,
String accountNumber,
Integer universityFiscalYear)
BudgetConstructionDao
getAccountOrgHierForAccount in interface BudgetConstructionDaoBudgetConstructionDao.getAccountOrgHierForAccount(java.lang.String,
java.lang.String, java.lang.Integer)
public BudgetConstructionAccountReports getAccountReports(String chartOfAccountsCode,
String accountNumber)
BudgetConstructionDaoBudgetConstructionAccountReports object for the given key.
getAccountReports in interface BudgetConstructionDaoBudgetConstructionDao.getAccountReports(java.lang.String, java.lang.String)
public BudgetConstructionOrganizationReports getOrganizationReports(String chartOfAccountsCode,
String organizationCode)
BudgetConstructionDaoBudgetConstructionOrganizationReports object for the given key.
getOrganizationReports in interface BudgetConstructionDaoBudgetConstructionDao.getOrganizationReports(java.lang.String,
java.lang.String)
public boolean insertAccountIntoAccountOrganizationHierarchy(String rootChart,
String rootOrganization,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
Integer currentLevelCode,
String organizationChartOfAccountsCode,
String organizationCode)
BudgetConstructionDaoBudgetConstructionAccountOrganizationHierarchy)
while walking the organization reports to structure (BudgetConstructionOrganizationReports) stopping at the
root of the organization tree or overflow value, whatever comes first.
insertAccountIntoAccountOrganizationHierarchy in interface BudgetConstructionDaoBudgetConstructionDao.insertAccountIntoAccountOrganizationHierarchy(java.lang.String,
java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer, java.lang.String,
java.lang.String)
public void deleteExistingAccountOrganizationHierarchy(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
BudgetConstructionDao
deleteExistingAccountOrganizationHierarchy in interface BudgetConstructionDaoBudgetConstructionDao.deleteExistingAccountOrganizationHierarchy(java.lang.Integer,
java.lang.String, java.lang.String)
public List<String> getDetailSalarySettingLaborObjects(Integer universityFiscalYear,
String chartOfAccountsCode)
BudgetConstructionDao
getDetailSalarySettingLaborObjects in interface BudgetConstructionDaoBudgetConstructionDao.getDetailSalarySettingLaborObjects(java.lang.Integer,
java.lang.String)
public List getPBGLSalarySettingRows(String documentNumber,
List salarySettingObjects)
BudgetConstructionDao
getPBGLSalarySettingRows in interface BudgetConstructionDaoBudgetConstructionDao.getPBGLSalarySettingRows(java.lang.String,
java.util.List)
public List<PendingBudgetConstructionAppointmentFunding> getAllFundingForPosition(Integer universityFiscalYear,
String positionNumber)
BudgetConstructionDaoPendingBudgetConstructionAppointmentFunding records for the given position key.
getAllFundingForPosition in interface BudgetConstructionDaouniversityFiscalYear - budget fiscal year, primary key field for position recordpositionNumber - position number, primary key field for position record
BudgetConstructionDao.getAllFundingForPosition(java.lang.Integer,
java.lang.String)public void setKualiModuleService(org.kuali.rice.kns.service.KualiModuleService kualiModuleService)
kualiModuleService - The kualiModuleService to set.public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
dataDictionaryService - The dataDictionaryService to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||