|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrganizationService
This interface defines methods that an Org Service must provide.
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)
Method is used by KualiOrgReviewAttribute to enable caching of orgs for routing. |
String[] |
getRootOrganizationCode()
returns the chart and organization of the ACTIVE root-level organization |
boolean |
isParentOrganization(String potentialChildChartCode,
String potentialChildOrganizationCode,
String potentialParentChartCode,
String potentialParentOrganizationCode)
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 |
Method Detail |
---|
Organization getByPrimaryId(String chartOfAccountsCode, String organizationCode)
chartOfAccountsCode
- organizationCode
-
Organization getByPrimaryIdWithCaching(String chartOfAccountsCode, String organizationCode)
getByPrimaryId(java.lang.String, java.lang.String)
List getActiveAccountsByOrg(String chartOfAccountsCode, String organizationCode)
chartOfAccountsCode
- - chartCode for the Org you want Accounts fororganizationCode
- - orgCode for the Org you want Accounts for
List getActiveChildOrgs(String chartOfAccountsCode, String organizationCode)
chartOfAccountsCode
- - chartCode for the Org you want Child Orgs fororganizationCode
- - orgCode for the Org you want Child Orgs for
List<Organization> getActiveOrgsByType(String organizationTypeCode)
organizationTypeCode
-
List<Organization> getActiveFinancialOrgs()
String[] getRootOrganizationCode()
boolean isParentOrganization(String potentialChildChartCode, String potentialChildOrganizationCode, String potentialParentChartCode, String potentialParentOrganizationCode)
potentialChildChartCode
- potentialChildOrganizationCode
- potentialParentChartCode
- potentialParentOrganizationCode
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |