|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.coa.service.impl.OrganizationServiceImpl
public class OrganizationServiceImpl
This class is the service implementation for the Org structure. This is the default implementation, that is delivered with Kuali.
Constructor Summary | |
---|---|
OrganizationServiceImpl()
|
Method Summary | |
---|---|
List |
getActiveAccountsByOrg(String chartOfAccountsCode,
String organizationCode)
Retrieves a List of Accounts that are active, and are tied to this Org. |
List |
getActiveChildOrgs(String chartOfAccountsCode,
String organizationCode)
Retrieves a List of Orgs that are active, and that ReportTo this Org If there are no Orgs that meet this criteria, an empty list will be returned. |
List<Organization> |
getActiveFinancialOrgs()
Returns a list of active financial processing organizations. |
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 an organization instance by its composite primary keys (parameters passed in). |
Organization |
getByPrimaryIdWithCaching(String chartOfAccountsCode,
String organizationCode)
Implements the getByPrimaryId method defined by OrganizationService. |
ChartService |
getChartService()
|
OrganizationDao |
getOrganizationDao()
|
String[] |
getRootOrganizationCode()
returns the chart and organization of the ACTIVE root-level organization |
boolean |
isParentOrganization(String childChartOfAccountsCode,
String childOrganizationCode,
String parentChartOfAccountsCode,
String parentOrganizationCode)
This method traverses the hierarchy to see if the organization represented by the potentialChildChartCode and potentialChildOrganizationCode reports to the organization represented by the potentialParentChartCode and potentialParentOrganizationCode |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService boService)
Sets the boService attribute value. |
void |
setChartService(ChartService chartService)
|
void |
setOrganizationDao(OrganizationDao organizationDao)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrganizationServiceImpl()
Method Detail |
---|
public Organization getByPrimaryId(String chartOfAccountsCode, String organizationCode)
OrganizationService
getByPrimaryId
in interface OrganizationService
OrganizationService.getByPrimaryId(java.lang.String, java.lang.String)
public Organization getByPrimaryIdWithCaching(String chartOfAccountsCode, String organizationCode)
getByPrimaryIdWithCaching
in interface OrganizationService
getByPrimaryId(java.lang.String, java.lang.String)
public List getActiveAccountsByOrg(String chartOfAccountsCode, String organizationCode)
OrganizationService
getActiveAccountsByOrg
in interface OrganizationService
chartOfAccountsCode
- - chartCode for the Org you want Accounts fororganizationCode
- - orgCode for the Org you want Accounts for
OrganizationService.getActiveAccountsByOrg(java.lang.String, java.lang.String)
public List getActiveChildOrgs(String chartOfAccountsCode, String organizationCode)
OrganizationService
getActiveChildOrgs
in interface OrganizationService
chartOfAccountsCode
- - chartCode for the Org you want Child Orgs fororganizationCode
- - orgCode for the Org you want Child Orgs for
OrganizationService.getActiveChildOrgs(java.lang.String, java.lang.String)
public boolean isParentOrganization(String childChartOfAccountsCode, String childOrganizationCode, String parentChartOfAccountsCode, String parentOrganizationCode)
OrganizationService
isParentOrganization
in interface OrganizationService
public List<Organization> getActiveOrgsByType(String organizationTypeCode)
OrganizationService
getActiveOrgsByType
in interface OrganizationService
OrganizationService.getActiveOrgsByType(java.lang.String)
public List<Organization> getActiveFinancialOrgs()
OrganizationService
getActiveFinancialOrgs
in interface OrganizationService
OrganizationService.getActiveFinancialOrgs()
public String[] getRootOrganizationCode()
OrganizationService
getRootOrganizationCode
in interface OrganizationService
OrganizationService.getRootOrganizationCode()
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
public ChartService getChartService()
public void setChartService(ChartService chartService)
public OrganizationDao getOrganizationDao()
public void setOrganizationDao(OrganizationDao organizationDao)
organizationDao
- The organizationDao to set.public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService boService)
boService
- The boService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |