com.liferay.portal.service
Class UserGroupRoleLocalServiceUtil

java.lang.Object
  extended by com.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.

Author:
Brian Wing Shun Chan
See Also:
UserGroupRoleLocalService

Constructor Summary
UserGroupRoleLocalServiceUtil()
           
 
Method Summary
static UserGroupRole addUserGroupRole(UserGroupRole userGroupRole)
           
static void addUserGroupRoles(long[] userIds, long groupId, long roleId)
           
static void addUserGroupRoles(long userId, long groupId, long[] roleIds)
           
static UserGroupRole createUserGroupRole(UserGroupRolePK userGroupRolePK)
           
static void deleteUserGroupRole(UserGroupRole userGroupRole)
           
static void deleteUserGroupRole(UserGroupRolePK userGroupRolePK)
           
static void deleteUserGroupRoles(long[] userIds, long groupId)
           
static void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
           
static void deleteUserGroupRoles(long userId, long[] groupIds)
           
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<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static UserGroupRoleLocalService getService()
           
static UserGroupRole getUserGroupRole(UserGroupRolePK userGroupRolePK)
           
static java.util.List<UserGroupRole> getUserGroupRoles(int start, int end)
           
static java.util.List<UserGroupRole> getUserGroupRoles(long userId)
           
static java.util.List<UserGroupRole> getUserGroupRoles(long userId, long groupId)
           
static java.util.List<UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId, long roleId)
           
static int getUserGroupRolesCount()
           
static boolean hasUserGroupRole(long userId, long groupId, long roleId)
           
static boolean hasUserGroupRole(long userId, long groupId, java.lang.String roleName)
           
 void setService(UserGroupRoleLocalService service)
           
static UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole)
           
 
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 userGroupRole)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createUserGroupRole

public static UserGroupRole createUserGroupRole(UserGroupRolePK userGroupRolePK)

deleteUserGroupRole

public static void deleteUserGroupRole(UserGroupRolePK userGroupRolePK)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserGroupRole

public static void deleteUserGroupRole(UserGroupRole userGroupRole)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupRole

public static UserGroupRole getUserGroupRole(UserGroupRolePK userGroupRolePK)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserGroupRoles

public static java.util.List<UserGroupRole> getUserGroupRoles(int start,
                                                              int end)
                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupRolesCount

public static int getUserGroupRolesCount()
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateUserGroupRole

public static UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole)
                                         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[] groupIds)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRoles

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

deleteUserGroupRoles

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

deleteUserGroupRoles

public static void deleteUserGroupRoles(long[] userIds,
                                        long groupId,
                                        long roleId)
                                 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<UserGroupRole> getUserGroupRoles(long userId)
                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupRoles

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

getUserGroupRolesByGroupAndRole

public static java.util.List<UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId,
                                                                            long roleId)
                                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasUserGroupRole

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

hasUserGroupRole

public static boolean hasUserGroupRole(long userId,
                                       long groupId,
                                       java.lang.String roleName)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static UserGroupRoleLocalService getService()

setService

public void setService(UserGroupRoleLocalService service)