Liferay 6.0.5

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 name, String description, 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 name, String description, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 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> 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)
           
 

Method Detail

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)
                   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,
                     long groupId)
                     throws SystemException
Throws:
SystemException

findByU_G

List<Role> findByU_G(long userId,
                     long[] groupIds)
                     throws SystemException
Throws:
SystemException

findByU_G

List<Role> findByU_G(long userId,
                     List<Group> groups)
                     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,
                         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

Liferay 6.0.5