| java.lang.Object com.liferay.portal.service.base.OrganizationLocalServiceBaseImpl com.liferay.portal.service.impl.OrganizationLocalServiceImpl
Method Summary | |
public void | addGroupOrganizations(long groupId, long[] organizationIds) | public Organization | addOrganization(long userId, long parentOrganizationId, String name, int type, boolean recursable, long regionId, long countryId, int statusId, String comments) | public void | addOrganizationResources(long userId, Organization organization) | public void | addPasswordPolicyOrganizations(long passwordPolicyId, long[] organizationIds) | protected void | addSuborganizations(List allSuborganizations, List organizations) | public void | deleteOrganization(long organizationId) | public void | deleteOrganization(Organization organization) | public List | getGroupOrganizations(long groupId) | public List | getManageableOrganizations(long userId) Gets a list of organizations that a user has access to administrate. | public Organization | getOrganization(long organizationId) | public Organization | getOrganization(long companyId, String name) | public long | getOrganizationId(long companyId, String name) | public List | getOrganizations(long[] organizationIds) | protected long | getParentOrganizationId(long companyId, long parentOrganizationId) | public List | getParentOrganizations(long organizationId) | protected List | getParentOrganizations(Organization organization, boolean lastOrganization) | public List | getSuborganizations(List organizations) | public List | getSubsetOrganizations(List allOrganizations, List availableOrganizations) | public List | getUserOrganizations(long userId) | public int | getUserOrganizationsCount(long userId) | public boolean | hasGroupOrganization(long groupId, long organizationId) | public boolean | hasPasswordPolicyOrganization(long passwordPolicyId, long organizationId) | public boolean | hasUserOrganization(long userId, long organizationId) | protected boolean | isParentOrganization(long parentOrganizationId, long organizationId) | public List | search(long companyId, long parentOrganizationId, String keywords, int type, Long regionId, Long countryId, LinkedHashMap params, int begin, int end) | public List | search(long companyId, long parentOrganizationId, String keywords, int type, Long regionId, Long countryId, LinkedHashMap params, int begin, int end, OrderByComparator obc) | public List | search(long companyId, long parentOrganizationId, String name, int type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap params, boolean andOperator, int begin, int end) | public List | search(long companyId, long parentOrganizationId, String name, int type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap params, boolean andOperator, int begin, int end, OrderByComparator obc) | public int | searchCount(long companyId, long parentOrganizationId, String keywords, int type, Long regionId, Long countryId, LinkedHashMap params) | public int | searchCount(long companyId, long parentOrganizationId, String name, int type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap params, boolean andOperator) | public void | setGroupOrganizations(long groupId, long[] organizationIds) | public void | unsetGroupOrganizations(long groupId, long[] organizationIds) | public void | unsetPasswordPolicyOrganizations(long passwordPolicyId, long[] organizationIds) | public Organization | updateOrganization(long companyId, long organizationId, long parentOrganizationId, String name, int type, boolean recursable, long regionId, long countryId, int statusId, String comments) | protected void | validate(long companyId, long parentOrganizationId, String name, int type, long countryId, int statusId) | protected void | validate(long companyId, long organizationId, long parentOrganizationId, String name, int type, long countryId, int statusId) |
getManageableOrganizations | public List getManageableOrganizations(long userId) throws PortalException, SystemException(Code) | | Gets a list of organizations that a user has access to administrate. This
includes organizations that a user belongs to and all suborganizations of
those organizations.
Parameters: userId - the user id of the user a list of organizations |
search | public List search(long companyId, long parentOrganizationId, String keywords, int type, Long regionId, Long countryId, LinkedHashMap params, int begin, int end, OrderByComparator obc) throws PortalException, SystemException(Code) | | |
search | public List search(long companyId, long parentOrganizationId, String name, int type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap params, boolean andOperator, int begin, int end) throws PortalException, SystemException(Code) | | |
search | public List search(long companyId, long parentOrganizationId, String name, int type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap params, boolean andOperator, int begin, int end, OrderByComparator obc) throws PortalException, SystemException(Code) | | |
searchCount | public int searchCount(long companyId, long parentOrganizationId, String name, int type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap params, boolean andOperator) throws PortalException, SystemException(Code) | | |
updateOrganization | public Organization updateOrganization(long companyId, long organizationId, long parentOrganizationId, String name, int type, boolean recursable, long regionId, long countryId, int statusId, String comments) throws PortalException, SystemException(Code) | | |
|
|