Liferay 7.0-ce-b4

com.liferay.portal.service.persistence
Interface RoleFinder


@ProviderType
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)
           
 int countByUserGroupGroupRole(long userId, long groupId)
           
 int filterCountByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int filterCountByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int filterCountByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params)
           
 List<Role> filterFindByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator<Role> obc)
           
 List<Role> filterFindByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator<Role> obc)
           
 List<Role> filterFindByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Role> obc)
           
 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<Role> 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<Role> 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<Role> obc)
           
 List<Role> findByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Role> 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> findByUserGroupGroupRole(long userId, long groupId, int start, int end)
           
 List<Role> findByUserGroupRole(long userId, long groupId)
           
 

Method Detail

countByKeywords

int countByKeywords(long companyId,
                    String keywords,
                    Integer[] types)

countByKeywords

int countByKeywords(long companyId,
                    String keywords,
                    Integer[] types,
                    LinkedHashMap<String,Object> params)

countByUserGroupGroupRole

int countByUserGroupGroupRole(long userId,
                              long groupId)

countByR_U

int countByR_U(long roleId,
               long userId)

countByU_G_R

int countByU_G_R(long userId,
                 long groupId,
                 long roleId)

countByC_N_D_T

int countByC_N_D_T(long companyId,
                   String name,
                   String description,
                   Integer[] types,
                   LinkedHashMap<String,Object> params,
                   boolean andOperator)

countByC_N_D_T

int countByC_N_D_T(long companyId,
                   String[] names,
                   String[] descriptions,
                   Integer[] types,
                   LinkedHashMap<String,Object> params,
                   boolean andOperator)

filterCountByKeywords

int filterCountByKeywords(long companyId,
                          String keywords,
                          Integer[] types,
                          LinkedHashMap<String,Object> params)

filterCountByC_N_D_T

int filterCountByC_N_D_T(long companyId,
                         String name,
                         String description,
                         Integer[] types,
                         LinkedHashMap<String,Object> params,
                         boolean andOperator)

filterCountByC_N_D_T

int filterCountByC_N_D_T(long companyId,
                         String[] names,
                         String[] descriptions,
                         Integer[] types,
                         LinkedHashMap<String,Object> params,
                         boolean andOperator)

filterFindByKeywords

List<Role> filterFindByKeywords(long companyId,
                                String keywords,
                                Integer[] types,
                                LinkedHashMap<String,Object> params,
                                int start,
                                int end,
                                OrderByComparator<Role> obc)

filterFindByC_N_D_T

List<Role> filterFindByC_N_D_T(long companyId,
                               String name,
                               String description,
                               Integer[] types,
                               LinkedHashMap<String,Object> params,
                               boolean andOperator,
                               int start,
                               int end,
                               OrderByComparator<Role> obc)

filterFindByC_N_D_T

List<Role> filterFindByC_N_D_T(long companyId,
                               String[] names,
                               String[] descriptions,
                               Integer[] types,
                               LinkedHashMap<String,Object> params,
                               boolean andOperator,
                               int start,
                               int end,
                               OrderByComparator<Role> obc)

findByKeywords

List<Role> findByKeywords(long companyId,
                          String keywords,
                          Integer[] types,
                          int start,
                          int end,
                          OrderByComparator<Role> obc)

findByKeywords

List<Role> findByKeywords(long companyId,
                          String keywords,
                          Integer[] types,
                          LinkedHashMap<String,Object> params,
                          int start,
                          int end,
                          OrderByComparator<Role> obc)

findBySystem

List<Role> findBySystem(long companyId)

findByUserGroupGroupRole

List<Role> findByUserGroupGroupRole(long userId,
                                    long groupId)

findByUserGroupGroupRole

List<Role> findByUserGroupGroupRole(long userId,
                                    long groupId,
                                    int start,
                                    int end)

findByUserGroupRole

List<Role> findByUserGroupRole(long userId,
                               long groupId)

findByC_N

Role findByC_N(long companyId,
               String name)
               throws NoSuchRoleException
Throws:
NoSuchRoleException

findByU_G

List<Role> findByU_G(long userId,
                     List<Group> groups)

findByU_G

List<Role> findByU_G(long userId,
                     long groupId)

findByU_G

List<Role> findByU_G(long userId,
                     long[] groupIds)

findByR_N_A

List<Role> findByR_N_A(long resourceBlockId,
                       String className,
                       String actionId)

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<Role> obc)

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<Role> obc)

findByC_N_S_P

Map<String,List<String>> findByC_N_S_P(long companyId,
                                       String name,
                                       int scope,
                                       String primKey)

findByC_N_S_P_A

List<Role> findByC_N_S_P_A(long companyId,
                           String name,
                           int scope,
                           String primKey,
                           String actionId)

Liferay 7.0-ce-b4