public class UserGroupRoleLocalServiceImpl extends UserGroupRoleLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, userGroupRoleFinder, userGroupRoleLocalService, userGroupRolePersistence
Constructor and Description |
---|
UserGroupRoleLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.UserGroupRole |
addUserGroupRole(long userId,
long groupId,
long roleId) |
com.liferay.portal.kernel.model.UserGroupRole |
addUserGroupRole(com.liferay.portal.kernel.model.UserGroupRole userGroupRole)
Adds the user group role to the database.
|
List<com.liferay.portal.kernel.model.UserGroupRole> |
addUserGroupRoles(long[] userIds,
long groupId,
long roleId) |
List<com.liferay.portal.kernel.model.UserGroupRole> |
addUserGroupRoles(long userId,
long groupId,
long[] roleIds) |
void |
deleteUserGroupRoles(long[] userIds,
long groupId) |
void |
deleteUserGroupRoles(long[] userIds,
long groupId,
int roleType) |
void |
deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId) |
void |
deleteUserGroupRoles(long groupId,
int roleType) |
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) |
com.liferay.portal.kernel.model.UserGroupRole |
fetchUserGroupRole(long userId,
long groupId,
long roleId) |
List<com.liferay.portal.kernel.model.UserGroupRole> |
getUserGroupRoles(long userId) |
List<com.liferay.portal.kernel.model.UserGroupRole> |
getUserGroupRoles(long userId,
long groupId) |
List<com.liferay.portal.kernel.model.UserGroupRole> |
getUserGroupRoles(long userId,
long groupId,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserGroupRole> |
getUserGroupRolesByGroup(long groupId) |
List<com.liferay.portal.kernel.model.UserGroupRole> |
getUserGroupRolesByGroupAndRole(long groupId,
long roleId) |
List<com.liferay.portal.kernel.model.UserGroupRole> |
getUserGroupRolesByUserUserGroupAndGroup(long userId,
long groupId) |
int |
getUserGroupRolesCount(long userId,
long groupId) |
boolean |
hasUserGroupRole(long userId,
long groupId,
long roleId) |
boolean |
hasUserGroupRole(long userId,
long groupId,
long roleId,
boolean inherit) |
boolean |
hasUserGroupRole(long userId,
long groupId,
String roleName) |
boolean |
hasUserGroupRole(long userId,
long groupId,
String roleName,
boolean inherit) |
com.liferay.portal.kernel.model.UserGroupRole |
updateUserGroupRole(com.liferay.portal.kernel.model.UserGroupRole userGroupRole)
Updates the user group role in the database or adds it if it does not yet exist.
|
afterPropertiesSet, createPersistedModel, createUserGroupRole, deletePersistedModel, deleteUserGroupRole, deleteUserGroupRole, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchUserGroupRole, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserGroupRole, getUserGroupRoleFinder, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoles, getUserGroupRolesCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setUserGroupRoleFinder, setUserGroupRoleLocalService, setUserGroupRolePersistence, updateWithUnsafeFunction
public com.liferay.portal.kernel.model.UserGroupRole addUserGroupRole(long userId, long groupId, long roleId)
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.UserGroupRole addUserGroupRole(com.liferay.portal.kernel.model.UserGroupRole userGroupRole)
UserGroupRoleLocalServiceBaseImpl
Important: Inspect UserGroupRoleLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addUserGroupRole
in interface com.liferay.portal.kernel.service.UserGroupRoleLocalService
addUserGroupRole
in class UserGroupRoleLocalServiceBaseImpl
userGroupRole
- the user group rolepublic List<com.liferay.portal.kernel.model.UserGroupRole> addUserGroupRoles(long userId, long groupId, long[] roleIds)
public List<com.liferay.portal.kernel.model.UserGroupRole> addUserGroupRoles(long[] userIds, long groupId, long roleId)
public void deleteUserGroupRoles(long groupId, int roleType)
public void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
public void deleteUserGroupRoles(long userId, long[] groupIds)
public void deleteUserGroupRoles(long[] userIds, long groupId)
public void deleteUserGroupRoles(long[] userIds, long groupId, int roleType)
public void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
public void deleteUserGroupRolesByGroupId(long groupId)
public void deleteUserGroupRolesByRoleId(long roleId)
public void deleteUserGroupRolesByUserId(long userId)
public com.liferay.portal.kernel.model.UserGroupRole fetchUserGroupRole(long userId, long groupId, long roleId)
public List<com.liferay.portal.kernel.model.UserGroupRole> getUserGroupRoles(long userId)
public List<com.liferay.portal.kernel.model.UserGroupRole> getUserGroupRoles(long userId, long groupId)
public List<com.liferay.portal.kernel.model.UserGroupRole> getUserGroupRoles(long userId, long groupId, int start, int end)
public List<com.liferay.portal.kernel.model.UserGroupRole> getUserGroupRolesByGroup(long groupId)
public List<com.liferay.portal.kernel.model.UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId, long roleId)
public List<com.liferay.portal.kernel.model.UserGroupRole> getUserGroupRolesByUserUserGroupAndGroup(long userId, long groupId)
public int getUserGroupRolesCount(long userId, long groupId)
public boolean hasUserGroupRole(long userId, long groupId, long roleId)
public boolean hasUserGroupRole(long userId, long groupId, long roleId, boolean inherit)
public boolean hasUserGroupRole(long userId, long groupId, String roleName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public boolean hasUserGroupRole(long userId, long groupId, String roleName, boolean inherit) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.UserGroupRole updateUserGroupRole(com.liferay.portal.kernel.model.UserGroupRole userGroupRole)
UserGroupRoleLocalServiceBaseImpl
Important: Inspect UserGroupRoleLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateUserGroupRole
in interface com.liferay.portal.kernel.service.UserGroupRoleLocalService
updateUserGroupRole
in class UserGroupRoleLocalServiceBaseImpl
userGroupRole
- the user group role