com.liferay.portal.service
Class UserGroupRoleLocalServiceUtil
java.lang.Object
com.liferay.portal.service.UserGroupRoleLocalServiceUtil
public class UserGroupRoleLocalServiceUtil
- extends Object
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.
- See Also:
UserGroupRoleLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is 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 List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static UserGroupRoleLocalService |
getService()
|
static UserGroupRole |
getUserGroupRole(UserGroupRolePK userGroupRolePK)
|
static List<UserGroupRole> |
getUserGroupRoles(int start,
int end)
|
static List<UserGroupRole> |
getUserGroupRoles(long userId)
|
static List<UserGroupRole> |
getUserGroupRoles(long userId,
long groupId)
|
static List<UserGroupRole> |
getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
|
static 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,
String roleName)
|
static boolean |
hasUserGroupRole(long userId,
long groupId,
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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 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 List<UserGroupRole> getUserGroupRoles(long userId)
throws SystemException
- Throws:
SystemException
getUserGroupRoles
public static List<UserGroupRole> getUserGroupRoles(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
getUserGroupRolesByGroupAndRole
public static List<UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
getUserGroupRolesByUserUserGroupAndGroup
public static 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,
String roleName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasUserGroupRole
public static boolean hasUserGroupRole(long userId,
long groupId,
String roleName,
boolean inherit)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static UserGroupRoleLocalService getService()
setService
public void setService(UserGroupRoleLocalService service)