|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.OrganizationLocalServiceWrapper
public class OrganizationLocalServiceWrapper
This class is a wrapper for OrganizationLocalService.
OrganizationLocalService| Constructor Summary | |
|---|---|
OrganizationLocalServiceWrapper(OrganizationLocalService organizationLocalService)
|
|
| Method Summary | |
|---|---|
void |
addGroupOrganizations(long groupId,
long[] organizationIds)
|
Organization |
addOrganization(long userId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
|
Organization |
addOrganization(Organization organization)
Adds the organization to the database. |
void |
addOrganizationResources(long userId,
Organization organization)
|
void |
addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
Organization |
createOrganization(long organizationId)
Creates a new organization with the primary key. |
void |
deleteLogo(long organizationId)
|
void |
deleteOrganization(long organizationId)
Deletes the organization with the primary key from the database. |
void |
deleteOrganization(Organization organization)
Deletes the organization from the database. |
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
List<Organization> |
getGroupOrganizations(long groupId)
|
Organization |
getOrganization(long organizationId)
Gets the organization with the primary key. |
Organization |
getOrganization(long companyId,
String name)
|
long |
getOrganizationId(long companyId,
String name)
|
List<Organization> |
getOrganizations(int start,
int end)
Gets a range of all the organizations. |
List<Organization> |
getOrganizations(long[] organizationIds)
|
int |
getOrganizationsCount()
Gets the number of organizations. |
List<Organization> |
getParentOrganizations(long organizationId)
|
List<Organization> |
getSuborganizations(List<Organization> organizations)
|
List<Organization> |
getSubsetOrganizations(List<Organization> allOrganizations,
List<Organization> availableOrganizations)
|
List<Organization> |
getUserOrganizations(long userId)
|
List<Organization> |
getUserOrganizations(long userId,
boolean inheritUserGroups)
|
List<Organization> |
getUserOrganizations(long userId,
boolean inheritUserGroups,
int start,
int end)
|
List<Organization> |
getUserOrganizations(long userId,
int start,
int end)
|
int |
getUserOrganizationsCount(long userId)
|
OrganizationLocalService |
getWrappedOrganizationLocalService()
|
boolean |
hasGroupOrganization(long groupId,
long organizationId)
|
boolean |
hasPasswordPolicyOrganization(long passwordPolicyId,
long organizationId)
|
boolean |
hasUserOrganization(long userId,
long organizationId)
|
boolean |
hasUserOrganization(long userId,
long organizationId,
boolean inheritSuborganizations,
boolean inheritUserGroups,
boolean includeSpecifiedOrganization)
|
void |
rebuildTree(long companyId,
boolean force)
|
Hits |
search(long companyId,
long parentOrganizationId,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
Sort sort)
|
List<Organization> |
search(long companyId,
long parentOrganizationId,
String keywords,
String type,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
int start,
int end)
|
List<Organization> |
search(long companyId,
long parentOrganizationId,
String keywords,
String type,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator obc)
|
List<Organization> |
search(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end)
|
List<Organization> |
search(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
Hits |
search(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
String region,
String country,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
Sort sort)
|
int |
searchCount(long companyId,
long parentOrganizationId,
String keywords,
String type,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params)
|
int |
searchCount(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
boolean andOperator)
|
void |
setGroupOrganizations(long groupId,
long[] organizationIds)
|
void |
unsetGroupOrganizations(long groupId,
long[] organizationIds)
|
void |
unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
void |
updateAsset(long userId,
Organization organization,
long[] assetCategoryIds,
String[] assetTagNames)
|
Organization |
updateOrganization(long companyId,
long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
|
Organization |
updateOrganization(Organization organization)
Updates the organization in the database. |
Organization |
updateOrganization(Organization organization,
boolean merge)
Updates the organization in the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrganizationLocalServiceWrapper(OrganizationLocalService organizationLocalService)
| Method Detail |
|---|
public Organization addOrganization(Organization organization)
throws SystemException
addOrganization in interface OrganizationLocalServiceorganization - the organization to add
SystemException - if a system exception occurredpublic Organization createOrganization(long organizationId)
createOrganization in interface OrganizationLocalServiceorganizationId - the primary key for the new organization
public void deleteOrganization(long organizationId)
throws PortalException,
SystemException
deleteOrganization in interface OrganizationLocalServiceorganizationId - the primary key of the organization to delete
PortalException - if a organization with the primary key could not be found
SystemException - if a system exception occurred
public void deleteOrganization(Organization organization)
throws SystemException
deleteOrganization in interface OrganizationLocalServiceorganization - the organization to delete
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface OrganizationLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface OrganizationLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface OrganizationLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface OrganizationLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public Organization getOrganization(long organizationId)
throws PortalException,
SystemException
getOrganization in interface OrganizationLocalServiceorganizationId - the primary key of the organization to get
PortalException - if a organization with the primary key could not be found
SystemException - if a system exception occurred
public List<Organization> getOrganizations(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getOrganizations in interface OrganizationLocalServicestart - the lower bound of the range of organizations to returnend - the upper bound of the range of organizations to return (not inclusive)
SystemException - if a system exception occurred
public int getOrganizationsCount()
throws SystemException
getOrganizationsCount in interface OrganizationLocalServiceSystemException - if a system exception occurred
public Organization updateOrganization(Organization organization)
throws SystemException
updateOrganization in interface OrganizationLocalServiceorganization - the organization to update
SystemException - if a system exception occurred
public Organization updateOrganization(Organization organization,
boolean merge)
throws SystemException
updateOrganization in interface OrganizationLocalServiceorganization - the organization to updatemerge - whether to merge the organization with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurred
public void addGroupOrganizations(long groupId,
long[] organizationIds)
throws PortalException,
SystemException
addGroupOrganizations in interface OrganizationLocalServicePortalException
SystemException
public Organization addOrganization(long userId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
throws PortalException,
SystemException
addOrganization in interface OrganizationLocalServicePortalException
SystemException
public void addOrganizationResources(long userId,
Organization organization)
throws PortalException,
SystemException
addOrganizationResources in interface OrganizationLocalServicePortalException
SystemException
public void addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws SystemException
addPasswordPolicyOrganizations in interface OrganizationLocalServiceSystemException
public void deleteLogo(long organizationId)
throws PortalException,
SystemException
deleteLogo in interface OrganizationLocalServicePortalException
SystemException
public List<Organization> getGroupOrganizations(long groupId)
throws SystemException
getGroupOrganizations in interface OrganizationLocalServiceSystemException
public Organization getOrganization(long companyId,
String name)
throws PortalException,
SystemException
getOrganization in interface OrganizationLocalServicePortalException
SystemException
public long getOrganizationId(long companyId,
String name)
throws SystemException
getOrganizationId in interface OrganizationLocalServiceSystemException
public List<Organization> getOrganizations(long[] organizationIds)
throws PortalException,
SystemException
getOrganizations in interface OrganizationLocalServicePortalException
SystemException
public List<Organization> getParentOrganizations(long organizationId)
throws PortalException,
SystemException
getParentOrganizations in interface OrganizationLocalServicePortalException
SystemException
public List<Organization> getSuborganizations(List<Organization> organizations)
throws SystemException
getSuborganizations in interface OrganizationLocalServiceSystemException
public List<Organization> getSubsetOrganizations(List<Organization> allOrganizations,
List<Organization> availableOrganizations)
getSubsetOrganizations in interface OrganizationLocalService
public List<Organization> getUserOrganizations(long userId)
throws PortalException,
SystemException
getUserOrganizations in interface OrganizationLocalServicePortalException
SystemException
public List<Organization> getUserOrganizations(long userId,
boolean inheritUserGroups)
throws PortalException,
SystemException
getUserOrganizations in interface OrganizationLocalServicePortalException
SystemException
public List<Organization> getUserOrganizations(long userId,
boolean inheritUserGroups,
int start,
int end)
throws PortalException,
SystemException
getUserOrganizations in interface OrganizationLocalServicePortalException
SystemException
public List<Organization> getUserOrganizations(long userId,
int start,
int end)
throws PortalException,
SystemException
getUserOrganizations in interface OrganizationLocalServicePortalException
SystemException
public int getUserOrganizationsCount(long userId)
throws SystemException
getUserOrganizationsCount in interface OrganizationLocalServiceSystemException
public boolean hasGroupOrganization(long groupId,
long organizationId)
throws SystemException
hasGroupOrganization in interface OrganizationLocalServiceSystemException
public boolean hasPasswordPolicyOrganization(long passwordPolicyId,
long organizationId)
throws SystemException
hasPasswordPolicyOrganization in interface OrganizationLocalServiceSystemException
public boolean hasUserOrganization(long userId,
long organizationId)
throws SystemException
hasUserOrganization in interface OrganizationLocalServiceSystemException
public boolean hasUserOrganization(long userId,
long organizationId,
boolean inheritSuborganizations,
boolean inheritUserGroups,
boolean includeSpecifiedOrganization)
throws PortalException,
SystemException
hasUserOrganization in interface OrganizationLocalServicePortalException
SystemException
public void rebuildTree(long companyId,
boolean force)
throws SystemException
rebuildTree in interface OrganizationLocalServiceSystemException
public Hits search(long companyId,
long parentOrganizationId,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
Sort sort)
throws SystemException
search in interface OrganizationLocalServiceSystemException
public List<Organization> search(long companyId,
long parentOrganizationId,
String keywords,
String type,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
int start,
int end)
throws SystemException
search in interface OrganizationLocalServiceSystemException
public List<Organization> search(long companyId,
long parentOrganizationId,
String keywords,
String type,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator obc)
throws SystemException
search in interface OrganizationLocalServiceSystemException
public List<Organization> search(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end)
throws SystemException
search in interface OrganizationLocalServiceSystemException
public List<Organization> search(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
search in interface OrganizationLocalServiceSystemException
public Hits search(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
String region,
String country,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
Sort sort)
throws SystemException
search in interface OrganizationLocalServiceSystemException
public int searchCount(long companyId,
long parentOrganizationId,
String keywords,
String type,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params)
throws SystemException
searchCount in interface OrganizationLocalServiceSystemException
public int searchCount(long companyId,
long parentOrganizationId,
String name,
String type,
String street,
String city,
String zip,
Long regionId,
Long countryId,
LinkedHashMap<String,Object> params,
boolean andOperator)
throws SystemException
searchCount in interface OrganizationLocalServiceSystemException
public void setGroupOrganizations(long groupId,
long[] organizationIds)
throws PortalException,
SystemException
setGroupOrganizations in interface OrganizationLocalServicePortalException
SystemException
public void unsetGroupOrganizations(long groupId,
long[] organizationIds)
throws PortalException,
SystemException
unsetGroupOrganizations in interface OrganizationLocalServicePortalException
SystemException
public void unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws SystemException
unsetPasswordPolicyOrganizations in interface OrganizationLocalServiceSystemException
public void updateAsset(long userId,
Organization organization,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException,
SystemException
updateAsset in interface OrganizationLocalServicePortalException
SystemException
public Organization updateOrganization(long companyId,
long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateOrganization in interface OrganizationLocalServicePortalException
SystemExceptionpublic OrganizationLocalService getWrappedOrganizationLocalService()
|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||