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

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

Introduction

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

The text is from its open source code.

Method

com.liferay.portal.kernel.model.GroupaddGroup(long userId, long parentGroupId, String className, long classPK, long liveGroupId, java.util.Map nameMap, java.util.Map descriptionMap, int type, boolean manualMembership, int membershipRestriction, String friendlyURL, boolean site, boolean active, ServiceContext serviceContext)
com.liferay.portal.kernel.model.GroupaddGroup(long userId, long parentGroupId, String className, long classPK, long liveGroupId, java.util.Map nameMap, java.util.Map descriptionMap, int type, boolean manualMembership, int membershipRestriction, String friendlyURL, boolean site, boolean inheritContent, boolean active, ServiceContext serviceContext)
voidaddRoleGroup(long roleId, com.liferay.portal.kernel.model.Group group)
voidaddRoleGroup(long roleId, long groupId)
voidaddUserGroup(long userId, com.liferay.portal.kernel.model.Group group)
voidaddUserGroup(long userId, long groupId)
voidaddUserGroupGroup(long userGroupId, com.liferay.portal.kernel.model.Group group)
voidaddUserGroupGroup(long userGroupId, long groupId)
com.liferay.portal.kernel.model.GroupdeleteGroup(com.liferay.portal.kernel.model.Group group)
Deletes the group from the database.
com.liferay.portal.kernel.model.GroupdeleteGroup(long groupId)
Deletes the group with the primary key from the database.
voiddeleteUserGroup(long userId, com.liferay.portal.kernel.model.Group group)
voiddeleteUserGroup(long userId, long groupId)
java.util.ListdynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
com.liferay.portal.kernel.model.GroupfetchFriendlyURLGroup(long companyId, String friendlyURL)
Returns the group with the matching friendly URL.
com.liferay.portal.kernel.model.GroupfetchGroup(long groupId)
com.liferay.portal.kernel.model.GroupfetchGroup(long companyId, String groupKey)
Returns the group with the matching group key by first searching the system groups and then using the finder cache.
com.liferay.portal.kernel.model.GroupfetchGroupByUuidAndCompanyId(String uuid, long companyId)
Returns the group with the matching UUID and company.
java.util.ListgetActiveGroups(long companyId, boolean active)
Returns all the active or inactive groups associated with the company.
com.liferay.portal.kernel.model.GroupgetCompanyGroup(long companyId)
Returns the company group.
java.util.ListgetCompanyGroups(long companyId, int start, int end)
Returns a range of all the groups associated with the company.
intgetCompanyGroupsCount(long companyId)
Returns the number of groups associated with the company.
com.liferay.portal.kernel.model.GroupgetFriendlyURLGroup(long companyId, String friendlyURL)
Returns the group with the matching friendly URL.
com.liferay.portal.kernel.model.GroupgetGroup(long groupId)
Returns the group with the primary key.
com.liferay.portal.kernel.model.GroupgetGroup(long companyId, String groupKey)
Returns the group with the matching group key.
java.util.ListgetGroups(long[] groupIds)
Returns the groups with the matching primary keys.
java.util.ListgetGroups(long companyId, long parentGroupId, boolean site, int start, int end)
java.util.ListgetGroups(long companyId, String className, long parentGroupId, int start, int end)
Returns a range of all the groups that are direct children of the parent group with the matching className.
java.util.ListgetGroups(int start, int end)
Returns a range of all the groups.
intgetGroupsCount(long companyId, long parentGroupId, boolean site)
Returns the number of groups that are direct children of the parent group.
intgetGroupsCount(long companyId, String className, long parentGroupId)
Returns the number of groups that are direct children of the parent group with the matching className.
com.liferay.portal.kernel.model.GroupgetOrganizationGroup(long companyId, long organizationId)
Returns the specified organization group.
java.util.ListgetOrganizationsGroups( java.util.List organizations)
Returns the specified organization groups.
java.util.ListgetOrganizationsRelatedGroups( java.util.List organizations)
Returns all the groups related to the organizations.
java.util.ListgetRoleGroups(long roleId)
intgetRoleGroupsCount(long roleId)
java.util.ListgetStagedSites()
com.liferay.portal.kernel.model.GroupgetUserGroup(long companyId, long userId)
Returns the group directly associated with the user.
java.util.ListgetUserGroups(long userId)
java.util.ListgetUserGroupsGroups( java.util.List userGroups)
Returns the groups associated with the user groups.
java.util.ListgetUserGroupsRelatedGroups( java.util.List userGroups)
Returns all the groups related to the user groups.
com.liferay.portal.kernel.model.GroupgetUserPersonalSiteGroup(long companyId)
Returns the default user's personal site group.
booleanhasUserGroup(long userId, long groupId)
voidrebuildTree(long companyId)
Rebuilds the group tree.
java.util.Listsearch(long companyId, long parentGroupId, String keywords, java.util.LinkedHashMap params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
Returns an ordered range of all the groups belonging to the parent group that match the keywords, optionally including the user's inherited organization groups and user groups.
java.util.Listsearch(long companyId, long[] classNameIds, long parentGroupId, String keywords, java.util.LinkedHashMap params, int start, int end)
Returns an ordered range of all the groups belonging to the parent group that match the class name IDs and keywords, optionally including the user's inherited organization groups and user groups.
java.util.Listsearch(long companyId, long[] classNameIds, String keywords, java.util.LinkedHashMap params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
Returns an ordered range of all the groups that match the class name IDs and keywords, optionally including the user's inherited organization groups and user groups.
java.util.Listsearch(long companyId, String name, String description, java.util.LinkedHashMap params, boolean andOperator, int start, int end)
Returns an ordered range of all the site groups and organization groups that match the name and description, optionally including the user's inherited organization groups and user groups.
java.util.Listsearch(long companyId, String keywords, java.util.LinkedHashMap params, int start, int end)
Returns an ordered range of all the groups that match the keywords, optionally including the user's inherited organization groups and user groups.
intsearchCount(long companyId, long parentGroupId, String keywords, java.util.LinkedHashMap params)
Returns the number of groups belonging to the parent group that match the keywords, optionally including the user's inherited organization groups and user groups.
intsearchCount(long companyId, long[] classNameIds, String keywords, java.util.LinkedHashMap params)
Returns the number of groups that match the class name IDs, and keywords, optionally including the user's inherited organization groups and user groups.
intsearchCount(long companyId, String keywords, java.util.LinkedHashMap params)
Returns the number of groups that match the keywords, optionally including the user's inherited organization groups and user groups.
com.liferay.portal.kernel.model.GroupupdateFriendlyURL(long groupId, String friendlyURL)
Updates the group's friendly URL.
com.liferay.portal.kernel.model.GroupupdateGroup(long groupId, long parentGroupId, java.util.Map nameMap, java.util.Map descriptionMap, int type, boolean manualMembership, int membershipRestriction, String friendlyURL, boolean inheritContent, boolean active, ServiceContext serviceContext)
com.liferay.portal.kernel.model.GroupupdateGroup(com.liferay.portal.kernel.model.Group group)
Updates the group in the database or adds it if it does not yet exist.