Liferay 6.0.5

com.liferay.portal.service
Class UserGroupServiceUtil

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

public class UserGroupServiceUtil
extends Object

The utility for the user group remote service. This utility wraps 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 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.

See Also:
UserGroupService, UserGroupServiceBaseImpl, UserGroupServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
UserGroupServiceUtil()
           
 
Method Summary
static void addGroupUserGroups(long groupId, long[] userGroupIds)
           
static UserGroup addUserGroup(String name, String description)
           
static void deleteUserGroup(long userGroupId)
           
static UserGroupService getService()
           
static UserGroup getUserGroup(long userGroupId)
           
static UserGroup getUserGroup(String name)
           
static List<UserGroup> getUserUserGroups(long userId)
           
 void setService(UserGroupService service)
           
static void unsetGroupUserGroups(long groupId, long[] userGroupIds)
           
static UserGroup updateUserGroup(long userGroupId, String name, 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(String name,
                                     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(String name)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getUserUserGroups

public static 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,
                                        String name,
                                        String description)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getService

public static UserGroupService getService()

setService

public void setService(UserGroupService service)

Liferay 6.0.5