com.liferay.portal.service
Class UserGroupServiceUtil
java.lang.Object
com.liferay.portal.service.UserGroupServiceUtil
public class UserGroupServiceUtil
- extends java.lang.Object
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.UserGroupService
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.
- Author:
- Brian Wing Shun Chan
- See Also:
UserGroupService
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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addUserGroup
public static UserGroup addUserGroup(java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteUserGroup
public static void deleteUserGroup(long userGroupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroup
public static UserGroup getUserGroup(long userGroupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroup
public static UserGroup getUserGroup(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserUserGroups
public static java.util.List<UserGroup> getUserUserGroups(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
unsetGroupUserGroups
public static void unsetGroupUserGroups(long groupId,
long[] userGroupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateUserGroup
public static UserGroup updateUserGroup(long userGroupId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static UserGroupService getService()
setService
public void setService(UserGroupService service)