|
||||||||||
| 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.coa.dataaccess.impl.OrganizationDaoOjb
public class OrganizationDaoOjb
This class is the OJB implementation of the OrganizationDao interface.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
OrganizationDaoOjb()
|
|
| Method Summary | |
|---|---|
List |
getActiveAccountsByOrg(String chartOfAccountsCode,
String organizationCode)
This method retrieves a list of active Orgs defined by their chart and organization code |
List |
getActiveChildOrgs(String chartOfAccountsCode,
String organizationCode)
This method retrieves a list of active child Orgs based on their parent's organization code and chart code |
List<Organization> |
getActiveOrgsByType(String organizationTypeCode)
Returns a list of active organizations with the given organization type code. |
Organization |
getByPrimaryId(String chartOfAccountsCode,
String organizationCode)
This method retrieves a Org based on primary keys |
String[] |
getRootOrganizationCode(String rootChart,
String selfReportsOrgTypeCode)
we insist that the root organization be active |
void |
save(Organization organization)
This method saves a specific Org |
| 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 OrganizationDaoOjb()
| Method Detail |
|---|
public Organization getByPrimaryId(String chartOfAccountsCode,
String organizationCode)
OrganizationDaoOrg based on primary keys
getByPrimaryId in interface OrganizationDaoOrg based on primary keysOrganizationDao.getByPrimaryId(java.lang.String, java.lang.String)public void save(Organization organization)
OrganizationDaoOrg
save in interface OrganizationDaoorg.kuali.kfs.coa.dataaccess.OrganizationDao#save(org.kuali.kfs.coa.businessobject.Org)
public List getActiveAccountsByOrg(String chartOfAccountsCode,
String organizationCode)
OrganizationDaoOrgs defined by their chart and organization code
getActiveAccountsByOrg in interface OrganizationDaoOrgs by chart and organization codeOrganizationDao.getActiveAccountsByOrg(java.lang.String, java.lang.String)
public List getActiveChildOrgs(String chartOfAccountsCode,
String organizationCode)
OrganizationDaoOrgs based on their parent's organization code and chart code
getActiveChildOrgs in interface OrganizationDaoOrgs by their parent's chart and organization codeOrganizationDao.getActiveChildOrgs(java.lang.String, java.lang.String)public List<Organization> getActiveOrgsByType(String organizationTypeCode)
OrganizationDao
getActiveOrgsByType in interface OrganizationDaoOrgs based on their organization type codeOrganizationDao.getActiveOrgsByType(java.lang.String)
public String[] getRootOrganizationCode(String rootChart,
String selfReportsOrgTypeCode)
getRootOrganizationCode in interface OrganizationDaoOrganizationDao.getRootOrganizationCode(java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||