com.liferay.portal.service
Interface UserGroupRoleLocalService
- All Known Implementing Classes:
- UserGroupRoleLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface UserGroupRoleLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.UserGroupRoleLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
UserGroupRoleLocalServiceUtil
- Generated:
Method Summary |
UserGroupRole |
addUserGroupRole(UserGroupRole userGroupRole)
|
void |
addUserGroupRoles(long[] userIds,
long groupId,
long roleId)
|
void |
addUserGroupRoles(long userId,
long groupId,
long[] roleIds)
|
UserGroupRole |
createUserGroupRole(UserGroupRolePK userGroupRolePK)
|
void |
deleteUserGroupRole(UserGroupRole userGroupRole)
|
void |
deleteUserGroupRole(UserGroupRolePK userGroupRolePK)
|
void |
deleteUserGroupRoles(long[] userIds,
long groupId)
|
void |
deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId)
|
void |
deleteUserGroupRoles(long userId,
long[] groupIds)
|
void |
deleteUserGroupRoles(long userId,
long groupId,
long[] roleIds)
|
void |
deleteUserGroupRolesByGroupId(long groupId)
|
void |
deleteUserGroupRolesByRoleId(long roleId)
|
void |
deleteUserGroupRolesByUserId(long userId)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
UserGroupRole |
getUserGroupRole(UserGroupRolePK userGroupRolePK)
|
java.util.List<UserGroupRole> |
getUserGroupRoles(int start,
int end)
|
java.util.List<UserGroupRole> |
getUserGroupRoles(long userId)
|
java.util.List<UserGroupRole> |
getUserGroupRoles(long userId,
long groupId)
|
java.util.List<UserGroupRole> |
getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
|
java.util.List<UserGroupRole> |
getUserGroupRolesByUserUserGroupAndGroup(long userId,
long groupId)
|
int |
getUserGroupRolesCount()
|
boolean |
hasUserGroupRole(long userId,
long groupId,
long roleId)
|
boolean |
hasUserGroupRole(long userId,
long groupId,
long roleId,
boolean inherit)
|
boolean |
hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName)
|
boolean |
hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName,
boolean inherit)
|
UserGroupRole |
updateUserGroupRole(UserGroupRole userGroupRole)
|
UserGroupRole |
updateUserGroupRole(UserGroupRole userGroupRole,
boolean merge)
|
addUserGroupRole
UserGroupRole addUserGroupRole(UserGroupRole userGroupRole)
throws SystemException
- Throws:
SystemException
createUserGroupRole
UserGroupRole createUserGroupRole(UserGroupRolePK userGroupRolePK)
deleteUserGroupRole
void deleteUserGroupRole(UserGroupRolePK userGroupRolePK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteUserGroupRole
void deleteUserGroupRole(UserGroupRole userGroupRole)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getUserGroupRole
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserGroupRole getUserGroupRole(UserGroupRolePK userGroupRolePK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroupRoles
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroupRole> getUserGroupRoles(int start,
int end)
throws SystemException
- Throws:
SystemException
getUserGroupRolesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getUserGroupRolesCount()
throws SystemException
- Throws:
SystemException
updateUserGroupRole
UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole)
throws SystemException
- Throws:
SystemException
updateUserGroupRole
UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole,
boolean merge)
throws SystemException
- Throws:
SystemException
addUserGroupRoles
void addUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addUserGroupRoles
void addUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteUserGroupRoles
void deleteUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws SystemException
- Throws:
SystemException
deleteUserGroupRoles
void deleteUserGroupRoles(long userId,
long[] groupIds)
throws SystemException
- Throws:
SystemException
deleteUserGroupRoles
void deleteUserGroupRoles(long[] userIds,
long groupId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRoles
void deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRolesByGroupId
void deleteUserGroupRolesByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRolesByRoleId
void deleteUserGroupRolesByRoleId(long roleId)
throws SystemException
- Throws:
SystemException
deleteUserGroupRolesByUserId
void deleteUserGroupRolesByUserId(long userId)
throws SystemException
- Throws:
SystemException
getUserGroupRoles
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroupRole> getUserGroupRoles(long userId)
throws SystemException
- Throws:
SystemException
getUserGroupRoles
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroupRole> getUserGroupRoles(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
getUserGroupRolesByGroupAndRole
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
getUserGroupRolesByUserUserGroupAndGroup
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroupRole> getUserGroupRolesByUserUserGroupAndGroup(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
hasUserGroupRole
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasUserGroupRole(long userId,
long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
hasUserGroupRole
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasUserGroupRole(long userId,
long groupId,
long roleId,
boolean inherit)
throws SystemException
- Throws:
SystemException
hasUserGroupRole
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasUserGroupRole
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName,
boolean inherit)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException