com.liferay.portal.service.persistence
Interface RoleFinder
- All Known Implementing Classes:
- RoleFinderImpl
public interface RoleFinder
Method Summary |
int |
countByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
|
int |
countByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
|
int |
countByKeywords(long companyId,
String keywords,
Integer[] types)
|
int |
countByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params)
|
int |
countByR_U(long roleId,
long userId)
|
int |
countByU_G_R(long userId,
long groupId,
long roleId)
|
List<Role> |
findByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
List<Role> |
findByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
List<Role> |
findByC_N_S_P_A(long companyId,
String name,
int scope,
String primKey,
String actionId)
|
Map<String,List<String>> |
findByC_N_S_P(long companyId,
String name,
int scope,
String primKey)
|
Role |
findByC_N(long companyId,
String name)
|
List<Role> |
findByKeywords(long companyId,
String keywords,
Integer[] types,
int start,
int end,
OrderByComparator obc)
|
List<Role> |
findByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator obc)
|
List<Role> |
findByR_N_A(long resourceBlockId,
String className,
String actionId)
|
List<Role> |
findBySystem(long companyId)
|
List<Role> |
findByU_G(long userId,
List<Group> groups)
|
List<Role> |
findByU_G(long userId,
long groupId)
|
List<Role> |
findByU_G(long userId,
long[] groupIds)
|
List<Role> |
findByUserGroupGroupRole(long userId,
long groupId)
|
List<Role> |
findByUserGroupRole(long userId,
long groupId)
|
countByR_U
int countByR_U(long roleId,
long userId)
throws SystemException
- Throws:
SystemException
countByU_G_R
int countByU_G_R(long userId,
long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
countByC_N_D_T
int countByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
throws SystemException
- Throws:
SystemException
countByC_N_D_T
int countByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
throws SystemException
- Throws:
SystemException
countByKeywords
int countByKeywords(long companyId,
String keywords,
Integer[] types)
throws SystemException
- Throws:
SystemException
countByKeywords
int countByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params)
throws SystemException
- Throws:
SystemException
findBySystem
List<Role> findBySystem(long companyId)
throws SystemException
- Throws:
SystemException
findByUserGroupGroupRole
List<Role> findByUserGroupGroupRole(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
findByUserGroupRole
List<Role> findByUserGroupRole(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
findByC_N
Role findByC_N(long companyId,
String name)
throws NoSuchRoleException,
SystemException
- Throws:
NoSuchRoleException
SystemException
findByU_G
List<Role> findByU_G(long userId,
List<Group> groups)
throws SystemException
- Throws:
SystemException
findByU_G
List<Role> findByU_G(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
findByU_G
List<Role> findByU_G(long userId,
long[] groupIds)
throws SystemException
- Throws:
SystemException
findByR_N_A
List<Role> findByR_N_A(long resourceBlockId,
String className,
String actionId)
throws SystemException
- Throws:
SystemException
findByC_N_D_T
List<Role> findByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
findByC_N_D_T
List<Role> findByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
findByC_N_S_P
Map<String,List<String>> findByC_N_S_P(long companyId,
String name,
int scope,
String primKey)
throws SystemException
- Throws:
SystemException
findByC_N_S_P_A
List<Role> findByC_N_S_P_A(long companyId,
String name,
int scope,
String primKey,
String actionId)
throws SystemException
- Throws:
SystemException
findByKeywords
List<Role> findByKeywords(long companyId,
String keywords,
Integer[] types,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
findByKeywords
List<Role> findByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException