com.liferay.portal.service
Class UserGroupServiceUtil
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupServiceUtil
public UserGroupServiceUtil()
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)