|
||||||||||
| 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 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)
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)
Orgs defined by their chart and organization code
chartOfAccountsCode - organizationCode -
Orgs by chart and organization code
List getActiveChildOrgs(String chartOfAccountsCode,
String organizationCode)
Orgs based on their parent's organization code and chart code
chartOfAccountsCode - organizationCode -
Orgs by their parent's chart and organization codeList<Organization> getActiveOrgsByType(String organizationTypeCode)
organizationType -
Orgs based on their organization type code
String[] getRootOrganizationCode(String rootChart,
String selfReportsOrgTypeCode)
rootChart - selfReportsOrgTypeCode -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||