|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrganizationDao
This interface defines data access methods for Org
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)
This method retrieves a list of root organization codes (as a string array) based on their root chart and reports to org type code |
void |
save(Organization organization)
This method saves a specific Org |
Method Detail |
---|
Organization getByPrimaryId(String chartOfAccountsCode, String organizationCode)
Org
based on primary keys
chartOfAccountsCode
- organizationCode
-
Org
based on primary keysvoid save(Organization organization)
Org
organization
- List getActiveAccountsByOrg(String chartOfAccountsCode, String organizationCode)
Org
s defined by their chart and organization code
chartOfAccountsCode
- organizationCode
-
Org
s by chart and organization codeList getActiveChildOrgs(String chartOfAccountsCode, String organizationCode)
Org
s based on their parent's organization code and chart code
chartOfAccountsCode
- organizationCode
-
Org
s by their parent's chart and organization codeList<Organization> getActiveOrgsByType(String organizationTypeCode)
organizationType
-
Org
s based on their organization type codeString[] getRootOrganizationCode(String rootChart, String selfReportsOrgTypeCode)
rootChart
- selfReportsOrgTypeCode
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |