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:
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
UserGroupRole |
getUserGroupRole(UserGroupRolePK userGroupRolePK)
|
java.util.List<UserGroupRole> |
getUserGroupRoles(int start,
int end)
|
java.util.List<UserGroupRole> |
getUserGroupRoles(long userId,
long groupId)
|
java.util.List<UserGroupRole> |
getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
|
int |
getUserGroupRolesCount()
|
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
- Throws:
com.liferay.portal.SystemException
dynamicQuery
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
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
UserGroupRole getUserGroupRole(UserGroupRolePK userGroupRolePK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroupRoles
java.util.List<UserGroupRole> getUserGroupRoles(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupRolesCount
int getUserGroupRolesCount()
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addUserGroupRoles
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
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
- Throws:
com.liferay.portal.SystemException
deleteUserGroupRoles
void deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
- Throws:
com.liferay.portal.SystemException
getUserGroupRolesByGroupAndRole
java.util.List<UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException