Example usage for Java com.liferay.portal.kernel.service GroupLocalServiceUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
com.liferay.portal.kernel.model.Group | addGroup(long userId, long parentGroupId, String className, long classPK, long liveGroupId, java.util.Map |
com.liferay.portal.kernel.model.Group | addGroup(long userId, long parentGroupId, String className, long classPK, long liveGroupId, java.util.Map |
void | addRoleGroup(long roleId, com.liferay.portal.kernel.model.Group group) |
void | addRoleGroup(long roleId, long groupId) |
void | addUserGroup(long userId, com.liferay.portal.kernel.model.Group group) |
void | addUserGroup(long userId, long groupId) |
void | addUserGroupGroup(long userGroupId, com.liferay.portal.kernel.model.Group group) |
void | addUserGroupGroup(long userGroupId, long groupId) |
com.liferay.portal.kernel.model.Group | deleteGroup(com.liferay.portal.kernel.model.Group group) Deletes the group from the database. |
com.liferay.portal.kernel.model.Group | deleteGroup(long groupId) Deletes the group with the primary key from the database. |
void | deleteUserGroup(long userId, com.liferay.portal.kernel.model.Group group) |
void | deleteUserGroup(long userId, long groupId) |
java.util.List | dynamicQuery(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.Group | fetchFriendlyURLGroup(long companyId, String friendlyURL) Returns the group with the matching friendly URL. |
com.liferay.portal.kernel.model.Group | fetchGroup(long groupId) |
com.liferay.portal.kernel.model.Group | fetchGroup(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.Group | fetchGroupByUuidAndCompanyId(String uuid, long companyId) Returns the group with the matching UUID and company. |
java.util.List | getActiveGroups(long companyId, boolean active) Returns all the active or inactive groups associated with the company. |
com.liferay.portal.kernel.model.Group | getCompanyGroup(long companyId) Returns the company group. |
java.util.List | getCompanyGroups(long companyId, int start, int end) Returns a range of all the groups associated with the company. |
int | getCompanyGroupsCount(long companyId) Returns the number of groups associated with the company. |
com.liferay.portal.kernel.model.Group | getFriendlyURLGroup(long companyId, String friendlyURL) Returns the group with the matching friendly URL. |
com.liferay.portal.kernel.model.Group | getGroup(long groupId) Returns the group with the primary key. |
com.liferay.portal.kernel.model.Group | getGroup(long companyId, String groupKey) Returns the group with the matching group key. |
java.util.List | getGroups(long[] groupIds) Returns the groups with the matching primary keys. |
java.util.List | getGroups(long companyId, long parentGroupId, boolean site, int start, int end) |
java.util.List | getGroups(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.List | getGroups(int start, int end) Returns a range of all the groups. |
int | getGroupsCount(long companyId, long parentGroupId, boolean site) Returns the number of groups that are direct children of the parent group. |
int | getGroupsCount(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.Group | getOrganizationGroup(long companyId, long organizationId) Returns the specified organization group. |
java.util.List | getOrganizationsGroups( java.util.List Returns the specified organization groups. |
java.util.List | getOrganizationsRelatedGroups( java.util.List Returns all the groups related to the organizations. |
java.util.List | getRoleGroups(long roleId) |
int | getRoleGroupsCount(long roleId) |
java.util.List | getStagedSites() |
com.liferay.portal.kernel.model.Group | getUserGroup(long companyId, long userId) Returns the group directly associated with the user. |
java.util.List | getUserGroups(long userId) |
java.util.List | getUserGroupsGroups( java.util.List Returns the groups associated with the user groups. |
java.util.List | getUserGroupsRelatedGroups( java.util.List Returns all the groups related to the user groups. |
com.liferay.portal.kernel.model.Group | getUserPersonalSiteGroup(long companyId) Returns the default user's personal site group. |
boolean | hasUserGroup(long userId, long groupId) |
void | rebuildTree(long companyId) Rebuilds the group tree. |
java.util.List | search(long companyId, long parentGroupId, String keywords, java.util.LinkedHashMap 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.List | search(long companyId, long[] classNameIds, long parentGroupId, String keywords, java.util.LinkedHashMap 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.List | search(long companyId, long[] classNameIds, String keywords, java.util.LinkedHashMap 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.List | search(long companyId, String name, String description, java.util.LinkedHashMap 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.List | search(long companyId, String keywords, java.util.LinkedHashMap Returns an ordered range of all the groups that match the keywords, optionally including the user's inherited organization groups and user groups. |
int | searchCount(long companyId, long parentGroupId, String keywords, java.util.LinkedHashMap 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. |
int | searchCount(long companyId, long[] classNameIds, String keywords, java.util.LinkedHashMap Returns the number of groups that match the class name IDs, and keywords, optionally including the user's inherited organization groups and user groups. |
int | searchCount(long companyId, String keywords, java.util.LinkedHashMap 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.Group | updateFriendlyURL(long groupId, String friendlyURL) Updates the group's friendly URL. |
com.liferay.portal.kernel.model.Group | updateGroup(long groupId, long parentGroupId, java.util.Map |
com.liferay.portal.kernel.model.Group | updateGroup(com.liferay.portal.kernel.model.Group group) Updates the group in the database or adds it if it does not yet exist. |