|
||||||||||
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 BudgetConstructionDao
chartOfAccountsCode
- accountNumber
- subAccountNumber
- fiscalYear
-
public void saveBudgetConstructionHeader(BudgetConstructionHeader bcHeader)
saveBudgetConstructionHeader
in interface BudgetConstructionDao
bcHeader
- public void saveBudgetConstructionDocument(BudgetConstructionDocument bcDocument)
BudgetConstructionDao
saveBudgetConstructionDocument
in interface BudgetConstructionDao
BudgetConstructionDao.saveBudgetConstructionDocument(org.kuali.kfs.module.bc.document.BudgetConstructionDocument)
public BudgetConstructionFundingLock getByPrimaryId(String chartOfAccountsCode, String accountNumber, String subAccountNumber, Integer fiscalYear, String principalId)
getByPrimaryId
in interface BudgetConstructionDao
chartOfAccountsCode
- accountNumber
- subAccountNumber
- fiscalYear
- principalId
-
public void saveBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
saveBudgetConstructionFundingLock
in interface BudgetConstructionDao
budgetConstructionFundingLock
- public void deleteBudgetConstructionFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
deleteBudgetConstructionFundingLock
in interface BudgetConstructionDao
budgetConstructionFundingLock
- public Collection<BudgetConstructionFundingLock> getFlocksForAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber, Integer fiscalYear)
getFlocksForAccount
in interface BudgetConstructionDao
chartOfAccountsCode
- accountNumber
- subAccountNumber
- fiscalYear
-
public String getPositionAssociatedWithFundingLock(BudgetConstructionFundingLock budgetConstructionFundingLock)
BudgetConstructionDao
getPositionAssociatedWithFundingLock
in interface BudgetConstructionDao
budgetConstructionFundingLock
- - 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 BudgetConstructionDao
positionNumber
- fiscalYear
-
public void saveBudgetConstructionPosition(BudgetConstructionPosition bcPosition)
saveBudgetConstructionPosition
in interface BudgetConstructionDao
bcPosition
- public void deleteBudgetConstructionPullupByUserId(String principalName)
BudgetConstructionDao
deleteBudgetConstructionPullupByUserId
in interface BudgetConstructionDao
BudgetConstructionDao.deleteBudgetConstructionPullupByUserId(java.lang.String)
public List<BudgetConstructionPullup> getBudgetConstructionPullupFlagSetByUserId(String principalName)
BudgetConstructionDao
getBudgetConstructionPullupFlagSetByUserId
in interface BudgetConstructionDao
BudgetConstructionDao.getBudgetConstructionPullupFlagSetByUserId(java.lang.String)
public List<BudgetConstructionPullup> getBudgetConstructionPullupChildOrgs(String principalId, String chartOfAccountsCode, String organizationCode)
BudgetConstructionDao
getBudgetConstructionPullupChildOrgs
in interface BudgetConstructionDao
org.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 BudgetConstructionDao
BudgetConstructionDao.getPendingBudgetConstructionAppointmentFundingRequestSum(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionGeneralLedger)
public List getDocumentPBGLFringeLines(String documentNumber, List fringeObjects)
BudgetConstructionDao
getDocumentPBGLFringeLines
in interface BudgetConstructionDao
BudgetConstructionDao.getDocumentPBGLFringeLines(java.lang.String,
java.util.List)
public boolean isDelegate(String chartOfAccountsCode, String accountNumber, String principalId)
BudgetConstructionDao
isDelegate
in interface BudgetConstructionDao
BudgetConstructionDao.isDelegate(java.lang.String, java.lang.String,
java.lang.String)
public List<BudgetConstructionAccountOrganizationHierarchy> getAccountOrgHierForAccount(String chartOfAccountsCode, String accountNumber, Integer universityFiscalYear)
BudgetConstructionDao
getAccountOrgHierForAccount
in interface BudgetConstructionDao
BudgetConstructionDao.getAccountOrgHierForAccount(java.lang.String,
java.lang.String, java.lang.Integer)
public BudgetConstructionAccountReports getAccountReports(String chartOfAccountsCode, String accountNumber)
BudgetConstructionDao
BudgetConstructionAccountReports
object for the given key.
getAccountReports
in interface BudgetConstructionDao
BudgetConstructionDao.getAccountReports(java.lang.String, java.lang.String)
public BudgetConstructionOrganizationReports getOrganizationReports(String chartOfAccountsCode, String organizationCode)
BudgetConstructionDao
BudgetConstructionOrganizationReports
object for the given key.
getOrganizationReports
in interface BudgetConstructionDao
BudgetConstructionDao.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)
BudgetConstructionDao
BudgetConstructionAccountOrganizationHierarchy
)
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 BudgetConstructionDao
BudgetConstructionDao.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 BudgetConstructionDao
BudgetConstructionDao.deleteExistingAccountOrganizationHierarchy(java.lang.Integer,
java.lang.String, java.lang.String)
public List<String> getDetailSalarySettingLaborObjects(Integer universityFiscalYear, String chartOfAccountsCode)
BudgetConstructionDao
getDetailSalarySettingLaborObjects
in interface BudgetConstructionDao
BudgetConstructionDao.getDetailSalarySettingLaborObjects(java.lang.Integer,
java.lang.String)
public List getPBGLSalarySettingRows(String documentNumber, List salarySettingObjects)
BudgetConstructionDao
getPBGLSalarySettingRows
in interface BudgetConstructionDao
BudgetConstructionDao.getPBGLSalarySettingRows(java.lang.String,
java.util.List)
public List<PendingBudgetConstructionAppointmentFunding> getAllFundingForPosition(Integer universityFiscalYear, String positionNumber)
BudgetConstructionDao
PendingBudgetConstructionAppointmentFunding
records for the given position key.
getAllFundingForPosition
in interface BudgetConstructionDao
universityFiscalYear
- 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 |