com.liferay.portal.service.persistence
Interface RoleFinder
public interface RoleFinder
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
|
int |
countByR_U(long roleId,
long userId)
|
java.util.List<Role> |
findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
Role |
findByC_N(long companyId,
java.lang.String name)
|
java.util.List<Role> |
findByU_G(long userId,
java.util.List<Group> groups)
|
java.util.List<Role> |
findByU_G(long userId,
long groupId)
|
java.util.List<Role> |
findByU_G(long userId,
long[] groupIds)
|
java.util.List<Role> |
findByUserGroupRole(long userId,
long groupId)
|
countByR_U
int countByR_U(long roleId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N_D_T
int countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserGroupRole
java.util.List<Role> findByUserGroupRole(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
Role findByC_N(long companyId,
java.lang.String name)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findByU_G
java.util.List<Role> findByU_G(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
java.util.List<Role> findByU_G(long userId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
java.util.List<Role> findByU_G(long userId,
java.util.List<Group> groups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N_D_T
java.util.List<Role> findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N_S_P
java.util.Map<java.lang.String,java.util.List<java.lang.String>> findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException