Liferay 7.0-ce-b4

com.liferay.portal.service.persistence
Class RoleFinderUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.RoleFinderUtil

@ProviderType
public class RoleFinderUtil
extends Object

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
RoleFinderUtil()
           
 
Method Summary
static int countByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
           
static int countByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
           
static int countByKeywords(long companyId, String keywords, Integer[] types)
           
static int countByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params)
           
static int countByR_U(long roleId, long userId)
           
static int countByU_G_R(long userId, long groupId, long roleId)
           
static int countByUserGroupGroupRole(long userId, long groupId)
           
static int filterCountByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
           
static int filterCountByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
           
static int filterCountByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params)
           
static 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)
           
static 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)
           
static List<Role> filterFindByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Role> obc)
           
static 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)
           
static 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)
           
static List<Role> findByC_N_S_P_A(long companyId, String name, int scope, String primKey, String actionId)
           
static Map<String,List<String>> findByC_N_S_P(long companyId, String name, int scope, String primKey)
           
static Role findByC_N(long companyId, String name)
           
static List<Role> findByKeywords(long companyId, String keywords, Integer[] types, int start, int end, OrderByComparator<Role> obc)
           
static List<Role> findByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Role> obc)
           
static List<Role> findByR_N_A(long resourceBlockId, String className, String actionId)
           
static List<Role> findBySystem(long companyId)
           
static List<Role> findByU_G(long userId, List<Group> groups)
           
static List<Role> findByU_G(long userId, long groupId)
           
static List<Role> findByU_G(long userId, long[] groupIds)
           
static List<Role> findByUserGroupGroupRole(long userId, long groupId)
           
static List<Role> findByUserGroupGroupRole(long userId, long groupId, int start, int end)
           
static List<Role> findByUserGroupRole(long userId, long groupId)
           
static RoleFinder getFinder()
           
 void setFinder(RoleFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleFinderUtil

public RoleFinderUtil()
Method Detail

countByKeywords

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

countByKeywords

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

countByUserGroupGroupRole

public static int countByUserGroupGroupRole(long userId,
                                            long groupId)

countByR_U

public static int countByR_U(long roleId,
                             long userId)

countByU_G_R

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

countByC_N_D_T

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

countByC_N_D_T

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

filterCountByKeywords

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

filterCountByC_N_D_T

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

filterCountByC_N_D_T

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

filterFindByKeywords

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

filterFindByC_N_D_T

public static 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

public static 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

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

findByKeywords

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

findBySystem

public static List<Role> findBySystem(long companyId)

findByUserGroupGroupRole

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

findByUserGroupGroupRole

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

findByUserGroupRole

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

findByC_N

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

findByU_G

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

findByU_G

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

findByU_G

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

findByR_N_A

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

findByC_N_D_T

public static 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

public static 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

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

findByC_N_S_P_A

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

getFinder

public static RoleFinder getFinder()

setFinder

public void setFinder(RoleFinder finder)

Liferay 7.0-ce-b4