com.liferay.portal.service
Class UserGroupServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.UserGroupServiceUtil

public class UserGroupServiceUtil
extends java.lang.Object

The utility for the user group remote service. This utility wraps com.liferay.portal.service.impl.UserGroupServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to com.liferay.portal.service.impl.UserGroupServiceImpl and rerun ServiceBuilder to regenerate this class.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
UserGroupService, UserGroupServiceBaseImpl, com.liferay.portal.service.impl.UserGroupServiceImpl
Generated:

Constructor Summary
UserGroupServiceUtil()
           
 
Method Summary
static void addGroupUserGroups(long groupId, long[] userGroupIds)
           
static UserGroup addUserGroup(java.lang.String name, java.lang.String description)
           
static void deleteUserGroup(long userGroupId)
           
static UserGroupService getService()
           
static UserGroup getUserGroup(long userGroupId)
           
static UserGroup getUserGroup(java.lang.String name)
           
static java.util.List<UserGroup> getUserUserGroups(long userId)
           
 void setService(UserGroupService service)
           
static void unsetGroupUserGroups(long groupId, long[] userGroupIds)
           
static UserGroup updateUserGroup(long userGroupId, java.lang.String name, java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupServiceUtil

public UserGroupServiceUtil()
Method Detail

addGroupUserGroups

public static void addGroupUserGroups(long groupId,
                                      long[] userGroupIds)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addUserGroup

public static UserGroup addUserGroup(java.lang.String name,
                                     java.lang.String description)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deleteUserGroup

public static void deleteUserGroup(long userGroupId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getUserGroup

public static UserGroup getUserGroup(long userGroupId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getUserGroup

public static UserGroup getUserGroup(java.lang.String name)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getUserUserGroups

public static java.util.List<UserGroup> getUserUserGroups(long userId)
                                                   throws SystemException
Throws:
SystemException

unsetGroupUserGroups

public static void unsetGroupUserGroups(long groupId,
                                        long[] userGroupIds)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

updateUserGroup

public static UserGroup updateUserGroup(long userGroupId,
                                        java.lang.String name,
                                        java.lang.String description)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getService

public static UserGroupService getService()

setService

public void setService(UserGroupService service)