com.liferay.portal.service
Interface UserGroupRoleLocalService
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:
UserGroupRoleLocalServiceFactory
,
UserGroupRoleLocalServiceUtil
Method Summary |
UserGroupRole |
addUserGroupRole(UserGroupRole userGroupRole)
|
void |
addUserGroupRoles(long[] userIds,
long groupId,
long roleId)
|
void |
addUserGroupRoles(long userId,
long groupId,
long[] roleIds)
|
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<UserGroupRole> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<UserGroupRole> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List<UserGroupRole> |
getUserGroupRoles(long userId,
long groupId)
|
java.util.List<UserGroupRole> |
getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
|
boolean |
hasUserGroupRole(long userId,
long groupId,
long roleId)
|
boolean |
hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName)
|
UserGroupRole |
updateUserGroupRole(UserGroupRole userGroupRole)
|
addUserGroupRole
UserGroupRole addUserGroupRole(UserGroupRole userGroupRole)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserGroupRole
void deleteUserGroupRole(UserGroupRolePK userGroupRolePK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteUserGroupRole
void deleteUserGroupRole(UserGroupRole userGroupRole)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<UserGroupRole> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<UserGroupRole> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateUserGroupRole
UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroupRoles
void addUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addUserGroupRoles
void addUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteUserGroupRoles
void deleteUserGroupRoles(long userId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserGroupRoles
void deleteUserGroupRoles(long[] userIds,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserGroupRoles
void deleteUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteUserGroupRoles
void deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteUserGroupRolesByGroupId
void deleteUserGroupRolesByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserGroupRolesByRoleId
void deleteUserGroupRolesByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserGroupRolesByUserId
void deleteUserGroupRolesByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupRoles
java.util.List<UserGroupRole> getUserGroupRoles(long userId,
long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroupRolesByGroupAndRole
java.util.List<UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasUserGroupRole
boolean hasUserGroupRole(long userId,
long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasUserGroupRole
boolean hasUserGroupRole(long userId,
long groupId,
java.lang.String roleName)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException