| java.lang.Object com.liferay.portal.service.GroupServiceUtil
GroupServiceUtil | public class GroupServiceUtil (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portal.service.GroupService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
com.liferay.portal.service.GroupServiceFactory
is responsible for the lookup of the bean.
author: Brian Wing Shun Chan See Also: com.liferay.portal.service.GroupService See Also: com.liferay.portal.service.GroupServiceFactory |
Method Summary | |
public static com.liferay.portal.model.Group | addGroup(java.lang.String name, java.lang.String description, int type, java.lang.String friendlyURL, boolean active) | public static com.liferay.portal.model.Group | addGroup(long liveGroupId, java.lang.String name, java.lang.String description, int type, java.lang.String friendlyURL, boolean active) | public static void | addRoleGroups(long roleId, long[] groupIds) | public static void | deleteGroup(long groupId) | public static com.liferay.portal.model.Group | getGroup(long groupId) | public static com.liferay.portal.model.Group | getGroup(long companyId, java.lang.String name) | public static java.util.List | getOrganizationsGroups(java.util.List organizations) | public static java.util.List | getUserGroupsGroups(java.util.List userGroups) | public static boolean | hasUserGroup(long userId, long groupId) | public static java.util.List | search(long companyId, java.lang.String name, java.lang.String description, java.lang.String[] params, int begin, int end) | public static int | searchCount(long companyId, java.lang.String name, java.lang.String description, java.lang.String[] params) | public static void | setRoleGroups(long roleId, long[] groupIds) | public static void | unsetRoleGroups(long roleId, long[] groupIds) | public static com.liferay.portal.model.Group | updateGroup(long groupId, java.lang.String name, java.lang.String description, int type, java.lang.String friendlyURL, boolean active) | public static com.liferay.portal.model.Group | updateGroup(long groupId, java.lang.String typeSettings) |
|
|