com.liferay.portal.service
Class UserGroupRoleLocalServiceUtil
java.lang.Object
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
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
- Generated:
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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
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 java.util.List<UserGroupRole> |
getUserGroupRolesByUserUserGroupAndGroup(long userId,
long groupId)
|
static int |
getUserGroupRolesCount()
|
static boolean |
hasUserGroupRole(long userId,
long groupId,
long roleId)
|
static boolean |
hasUserGroupRole(long userId,
long groupId,
long roleId,
boolean inherit)
|
static boolean |
hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName)
|
static boolean |
hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName,
boolean inherit)
|
void |
setService(UserGroupRoleLocalService service)
|
static UserGroupRole |
updateUserGroupRole(UserGroupRole userGroupRole)
|
static UserGroupRole |
updateUserGroupRole(UserGroupRole userGroupRole,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupRoleLocalServiceUtil
public UserGroupRoleLocalServiceUtil()
addUserGroupRole
public static UserGroupRole addUserGroupRole(UserGroupRole userGroupRole)
throws SystemException
- Throws:
SystemException
createUserGroupRole
public static UserGroupRole createUserGroupRole(UserGroupRolePK userGroupRolePK)
deleteUserGroupRole
public static void deleteUserGroupRole(UserGroupRolePK userGroupRolePK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteUserGroupRole
public static void deleteUserGroupRole(UserGroupRole userGroupRole)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getUserGroupRole
public static UserGroupRole getUserGroupRole(UserGroupRolePK userGroupRolePK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroupRoles
public static java.util.List<UserGroupRole> getUserGroupRoles(int start,
int end)
throws SystemException
- Throws:
SystemException
getUserGroupRolesCount
public static int getUserGroupRolesCount()
throws SystemException
- Throws:
SystemException
updateUserGroupRole
public static UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole)
throws SystemException
- Throws:
SystemException
updateUserGroupRole
public static UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole,
boolean merge)
throws SystemException
- Throws:
SystemException
addUserGroupRoles
public static void addUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addUserGroupRoles
public static void addUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteUserGroupRoles
public static void deleteUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws SystemException
- Throws:
SystemException
deleteUserGroupRoles
public static void deleteUserGroupRoles(long userId,
long[] groupIds)
throws SystemException
- Throws:
SystemException
deleteUserGroupRoles
public static void deleteUserGroupRoles(long[] userIds,
long groupId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRoles
public static void deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRolesByGroupId
public static void deleteUserGroupRolesByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRolesByRoleId
public static void deleteUserGroupRolesByRoleId(long roleId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRolesByUserId
public static void deleteUserGroupRolesByUserId(long userId)
throws SystemException
- Throws:
SystemException
getUserGroupRoles
public static java.util.List<UserGroupRole> getUserGroupRoles(long userId)
throws SystemException
- Throws:
SystemException
getUserGroupRoles
public static java.util.List<UserGroupRole> getUserGroupRoles(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
getUserGroupRolesByGroupAndRole
public static java.util.List<UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
getUserGroupRolesByUserUserGroupAndGroup
public static java.util.List<UserGroupRole> getUserGroupRolesByUserUserGroupAndGroup(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
hasUserGroupRole
public static boolean hasUserGroupRole(long userId,
long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
hasUserGroupRole
public static boolean hasUserGroupRole(long userId,
long groupId,
long roleId,
boolean inherit)
throws SystemException
- Throws:
SystemException
hasUserGroupRole
public static boolean hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasUserGroupRole
public static boolean hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName,
boolean inherit)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static UserGroupRoleLocalService getService()
setService
public void setService(UserGroupRoleLocalService service)