com.liferay.portal.service
Class UserGroupRoleLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portal.service.UserGroupRoleLocalServiceUtil

public class UserGroupRoleLocalServiceUtil
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.UserGroupRoleLocalService 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.UserGroupRoleLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
UserGroupRoleLocalService, UserGroupRoleLocalServiceFactory

Constructor Summary
UserGroupRoleLocalServiceUtil()
           
 
Method Summary
static UserGroupRole addUserGroupRole(UserGroupRole model)
           
static void addUserGroupRoles(long[] userIds, long groupId, long roleId)
           
static void addUserGroupRoles(long userId, long groupId, long[] roleIds)
           
static void deleteUserGroupRoles(long[] userIds, long groupId)
           
static void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
           
static void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
           
static void deleteUserGroupRolesByGroupId(long groupId)
           
static void deleteUserGroupRolesByRoleId(long roleId)
           
static void deleteUserGroupRolesByUserId(long userId)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static java.util.List getUserGroupRoles(long userId, long groupId)
           
static boolean hasUserGroupRole(long userId, long groupId, long roleId)
           
static UserGroupRole updateUserGroupRole(UserGroupRole model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupRoleLocalServiceUtil

public UserGroupRoleLocalServiceUtil()
Method Detail

addUserGroupRole

public static UserGroupRole addUserGroupRole(UserGroupRole model)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateUserGroupRole

public static UserGroupRole updateUserGroupRole(UserGroupRole model)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addUserGroupRoles

public static void addUserGroupRoles(long userId,
                                     long groupId,
                                     long[] roleIds)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addUserGroupRoles

public static void addUserGroupRoles(long[] userIds,
                                     long groupId,
                                     long roleId)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserGroupRoles

public static void deleteUserGroupRoles(long userId,
                                        long groupId,
                                        long[] roleIds)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserGroupRoles

public static void deleteUserGroupRoles(long[] userIds,
                                        long groupId,
                                        long roleId)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserGroupRoles

public static void deleteUserGroupRoles(long[] userIds,
                                        long groupId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRolesByGroupId

public static void deleteUserGroupRolesByGroupId(long groupId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRolesByRoleId

public static void deleteUserGroupRolesByRoleId(long roleId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRolesByUserId

public static void deleteUserGroupRolesByUserId(long userId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupRoles

public static java.util.List getUserGroupRoles(long userId,
                                               long groupId)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

hasUserGroupRole

public static boolean hasUserGroupRole(long userId,
                                       long groupId,
                                       long roleId)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException