|
||||||||||
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 Org s defined by their chart and organization code |
List |
getActiveChildOrgs(String chartOfAccountsCode,
String organizationCode)
This method retrieves a list of active child Org s 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)
OrganizationDao
Org
based on primary keys
getByPrimaryId
in interface OrganizationDao
Org
based on primary keysOrganizationDao.getByPrimaryId(java.lang.String, java.lang.String)
public void save(Organization organization)
OrganizationDao
Org
save
in interface OrganizationDao
org.kuali.kfs.coa.dataaccess.OrganizationDao#save(org.kuali.kfs.coa.businessobject.Org)
public List getActiveAccountsByOrg(String chartOfAccountsCode, String organizationCode)
OrganizationDao
Org
s defined by their chart and organization code
getActiveAccountsByOrg
in interface OrganizationDao
Org
s by chart and organization codeOrganizationDao.getActiveAccountsByOrg(java.lang.String, java.lang.String)
public List getActiveChildOrgs(String chartOfAccountsCode, String organizationCode)
OrganizationDao
Org
s based on their parent's organization code and chart code
getActiveChildOrgs
in interface OrganizationDao
Org
s 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 OrganizationDao
Org
s based on their organization type codeOrganizationDao.getActiveOrgsByType(java.lang.String)
public String[] getRootOrganizationCode(String rootChart, String selfReportsOrgTypeCode)
getRootOrganizationCode
in interface OrganizationDao
OrganizationDao.getRootOrganizationCode(java.lang.String, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |