Java com.liferay.portal.kernel.service OrganizationLocalServiceUtil fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.service OrganizationLocalServiceUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.service OrganizationLocalServiceUtil.

The text is from its open source code.

Method

com.liferay.portal.kernel.model.OrganizationaddOrganization(long userId, long parentOrganizationId, String name, String type, long regionId, long countryId, long statusId, String comments, boolean site, ServiceContext serviceContext)
Adds an organization.
com.liferay.portal.kernel.model.OrganizationaddOrganization(long userId, long parentOrganizationId, String name, boolean site)
Adds an organization.
voidaddUserOrganization(long userId, long organizationId)
voidaddUserOrganization(long userId, com.liferay.portal.kernel.model.Organization organization)
voidaddUserOrganizations(long userId, java.util.List organizations)
voidaddUserOrganizations(long userId, long[] organizationIds)
com.liferay.portal.kernel.model.OrganizationdeleteOrganization(long organizationId)
Deletes the organization with the primary key from the database.
com.liferay.portal.kernel.model.OrganizationdeleteOrganization( com.liferay.portal.kernel.model.Organization organization)
Deletes the organization from the database.
com.liferay.portal.kernel.model.OrganizationfetchOrganizationByUuidAndCompanyId(String uuid, long companyId)
Returns the organization with the matching UUID and company.
com.liferay.portal.kernel.model.OrganizationgetOrganization(long companyId, String name)
Returns the organization with the name.
com.liferay.portal.kernel.model.OrganizationgetOrganization(long organizationId)
Returns the organization with the primary key.
java.util.ListgetOrganizations(int start, int end)
Returns a range of all the organizations.
java.util.ListgetOrganizations(long companyId, long parentOrganizationId)
Returns all the organizations belonging to the parent organization.
java.util.ListgetOrganizations(long companyId, String treePath)
java.util.ListgetOrganizations( long[] organizationIds)
Returns the organizations with the primary keys.
java.util.ListgetUserOrganizations(long userId)
booleanhasPasswordPolicyOrganization(long passwordPolicyId, long organizationId)
Returns true if the password policy has been assigned to the organization.
booleanhasUserOrganization(long userId, long organizationId, boolean inheritSuborganizations, boolean includeSpecifiedOrganization)
Returns true if the user is a member of the organization, optionally focusing on suborganizations or the specified organization.
intsearchCount(long companyId, long parentOrganizationId, String keywords, String type, Long regionId, Long countryId, java.util.LinkedHashMap params)
Returns the number of organizations that match the keywords, type, region, and country.
com.liferay.portal.kernel.model.OrganizationupdateOrganization( com.liferay.portal.kernel.model.Organization organization)
Updates the organization in the database or adds it if it does not yet exist.