Class RoleFinderImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Role>
com.liferay.portal.service.persistence.impl.RoleFinderBaseImpl
com.liferay.portal.service.persistence.impl.RoleFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Role>, com.liferay.portal.kernel.service.persistence.RoleFinder

public class RoleFinderImpl extends RoleFinderBaseImpl implements com.liferay.portal.kernel.service.persistence.RoleFinder
Author:
Brian Wing Shun Chan, Marcellus Tavares, Connor McKay
  • Field Details

    • COUNT_BY_C_N_D_T

      public static final String COUNT_BY_C_N_D_T
    • COUNT_BY_C_N_T_D_T

      public static final String COUNT_BY_C_N_T_D_T
    • FIND_BY_C_N_D_T

      public static final String FIND_BY_C_N_D_T
    • FIND_BY_C_N_T_D_T

      public static final String FIND_BY_C_N_T_D_T
    • JOIN_BY_USERS_ROLES

      public static final String JOIN_BY_USERS_ROLES
  • Constructor Details

    • RoleFinderImpl

      public RoleFinderImpl()
  • Method Details

    • countByGroupRoleAndTeamRole

      public int countByGroupRoleAndTeamRole(long companyId, String name, List<String> excludedNames, String title, String description, int[] types, long excludedTeamRoleId, long teamGroupId)
      Specified by:
      countByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • countByKeywords

      public int countByKeywords(long companyId, String keywords, Integer[] types)
      Specified by:
      countByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • countByKeywords

      public int countByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params)
      Specified by:
      countByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • countByC_N_D_T

      public int countByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      countByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • countByC_N_D_T

      public int countByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      countByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • countByC_N_T_D_T

      public int countByC_N_T_D_T(long companyId, String name, String title, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      countByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • countByC_N_T_D_T

      public int countByC_N_T_D_T(long companyId, String[] names, String[] titles, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      countByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterCountByGroupRoleAndTeamRole

      public int filterCountByGroupRoleAndTeamRole(long companyId, String name, List<String> excludedNames, String title, String description, int[] types, long excludedTeamRoleId, long teamGroupId)
      Specified by:
      filterCountByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterCountByKeywords

      public int filterCountByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params)
      Specified by:
      filterCountByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterCountByC_N_D_T

      public int filterCountByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      filterCountByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterCountByC_N_D_T

      public int filterCountByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      filterCountByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterCountByC_N_T_D_T

      public int filterCountByC_N_T_D_T(long companyId, String name, String title, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      filterCountByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterCountByC_N_T_D_T

      public int filterCountByC_N_T_D_T(long companyId, String[] names, String[] titles, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
      Specified by:
      filterCountByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterFindByGroupRoleAndTeamRole

      public List<com.liferay.portal.kernel.model.Role> filterFindByGroupRoleAndTeamRole(long companyId, String name, List<String> excludedNames, String title, String description, int[] types, long excludedTeamRoleId, long teamGroupId, int start, int end)
      Specified by:
      filterFindByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterFindByKeywords

      public List<com.liferay.portal.kernel.model.Role> filterFindByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      filterFindByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterFindByC_N_D_T

      public List<com.liferay.portal.kernel.model.Role> filterFindByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      filterFindByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterFindByC_N_D_T

      public List<com.liferay.portal.kernel.model.Role> filterFindByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      filterFindByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterFindByC_N_T_D_T

      public List<com.liferay.portal.kernel.model.Role> filterFindByC_N_T_D_T(long companyId, String name, String title, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      filterFindByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • filterFindByC_N_T_D_T

      public List<com.liferay.portal.kernel.model.Role> filterFindByC_N_T_D_T(long companyId, String[] names, String[] titles, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      filterFindByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • findByGroupRoleAndTeamRole

      public List<com.liferay.portal.kernel.model.Role> findByGroupRoleAndTeamRole(long companyId, String name, List<String> excludedNames, String title, String description, int[] types, long excludedTeamRoleId, long teamGroupId, int start, int end)
      Specified by:
      findByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • findByKeywords

      public List<com.liferay.portal.kernel.model.Role> findByKeywords(long companyId, String keywords, Integer[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      findByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • findByKeywords

      public List<com.liferay.portal.kernel.model.Role> findByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      findByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • findByC_N_D_T

      public List<com.liferay.portal.kernel.model.Role> findByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      findByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • findByC_N_D_T

      public List<com.liferay.portal.kernel.model.Role> findByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      findByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • findByC_N_T_D_T

      public List<com.liferay.portal.kernel.model.Role> findByC_N_T_D_T(long companyId, String name, String title, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      findByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • findByC_N_T_D_T

      public List<com.liferay.portal.kernel.model.Role> findByC_N_T_D_T(long companyId, String[] names, String[] titles, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
      Specified by:
      findByC_N_T_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
    • doCountByGroupRoleAndTeamRole

      protected int doCountByGroupRoleAndTeamRole(long companyId, String name, List<String> excludedNames, String title, String description, int[] types, long excludedTeamRoleId, long teamGroupId, boolean inlineSQLHelper)
    • doCountByC_N_D_T

      protected int doCountByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, boolean inlineSQLHelper)
    • doCountByC_N_T_D_T

      protected int doCountByC_N_T_D_T(long companyId, String[] names, String[] titles, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, boolean inlineSQLHelper)
    • doFindByGroupRoleAndTeamRole

      protected List<com.liferay.portal.kernel.model.Role> doFindByGroupRoleAndTeamRole(long companyId, String name, List<String> excludedNames, String title, String description, int[] types, long excludedTeamRoleId, long teamGroupId, int start, int end, boolean inlineSQLHelper)
    • doFindByC_N_D_T

      protected List<com.liferay.portal.kernel.model.Role> doFindByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator, boolean inlineSQLHelper)
    • doFindByC_N_T_D_T

      protected List<com.liferay.portal.kernel.model.Role> doFindByC_N_T_D_T(long companyId, String[] names, String[] titles, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator, boolean inlineSQLHelper)
    • getExcludedNames

      protected String getExcludedNames(List<String> excludedNames)
    • getJoin

      protected String getJoin(LinkedHashMap<String,Object> params)
    • getJoin

      protected String getJoin(String key)
    • getTypes

      protected String getTypes(int size)
    • getWhere

      protected String getWhere(LinkedHashMap<String,Object> params)
    • getWhere

      protected String getWhere(String key)
    • setJoin

      protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos queryPos, LinkedHashMap<String,Object> params)