public class RoleFinderImpl extends RoleFinderBaseImpl implements com.liferay.portal.kernel.service.persistence.RoleFinder
| Modifier and Type | Field and Description |
|---|---|
static String |
COUNT_BY_C_N_D_T |
static String |
COUNT_BY_GROUP_ROLE_AND_TEAM_ROLE |
static String |
COUNT_BY_ORGANIZATION |
static String |
COUNT_BY_ORGANIZATION_SITE |
static String |
COUNT_BY_SITE |
static String |
COUNT_BY_U_G_R |
static String |
COUNT_BY_USER |
static String |
COUNT_BY_USER_GROUP |
static String |
COUNT_BY_USER_GROUP_GROUP_ROLE |
static String |
COUNT_BY_USER_GROUP_SITE |
static String |
FIND_BY_C_N |
static String |
FIND_BY_C_N_D_T |
static String |
FIND_BY_C_N_S_P |
static String |
FIND_BY_C_N_S_P_A |
static String |
FIND_BY_GROUP_ROLE_AND_TEAM_ROLE |
static String |
FIND_BY_R_N_A |
static String |
FIND_BY_SYSTEM |
static String |
FIND_BY_TEAMS_USER |
static String |
FIND_BY_U_G |
static String |
FIND_BY_USER_GROUP_GROUP_ROLE |
static String |
FIND_BY_USER_GROUP_ROLE |
static String |
JOIN_BY_USERS_ROLES |
rolePersistenceCAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
RoleFinderImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
countByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId) |
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) |
protected int |
doCountByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
boolean inlineSQLHelper) |
protected int |
doCountByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
boolean inlineSQLHelper) |
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> obc,
boolean inlineSQLHelper) |
protected List<com.liferay.portal.kernel.model.Role> |
doFindByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end,
boolean inlineSQLHelper) |
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 |
filterCountByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId) |
int |
filterCountByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params) |
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> obc) |
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> obc) |
List<com.liferay.portal.kernel.model.Role> |
filterFindByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end) |
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> obc) |
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> obc) |
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> obc) |
List<com.liferay.portal.kernel.model.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) |
com.liferay.portal.kernel.model.Role |
findByC_N(long companyId,
String name) |
List<com.liferay.portal.kernel.model.Role> |
findByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end) |
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> obc) |
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> obc) |
List<com.liferay.portal.kernel.model.Role> |
findByR_N_A(long resourceBlockId,
String className,
String actionId)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
List<com.liferay.portal.kernel.model.Role> |
findBySystem(long companyId) |
List<com.liferay.portal.kernel.model.Role> |
findByTeamsUser(long userId,
long groupId) |
List<com.liferay.portal.kernel.model.Role> |
findByU_G(long userId,
List<com.liferay.portal.kernel.model.Group> groups) |
List<com.liferay.portal.kernel.model.Role> |
findByU_G(long userId,
long groupId) |
List<com.liferay.portal.kernel.model.Role> |
findByU_G(long userId,
long[] groupIds) |
List<com.liferay.portal.kernel.model.Role> |
findByUserGroupGroupRole(long userId,
long groupId) |
List<com.liferay.portal.kernel.model.Role> |
findByUserGroupGroupRole(long userId,
long groupId,
int start,
int end) |
List<com.liferay.portal.kernel.model.Role> |
findByUserGroupRole(long userId,
long groupId) |
protected String |
getCountByR_U_SQL() |
protected String |
getExcludedNames(List<String> excludedNames) |
protected String |
getGroupIds(long[] groupIds,
String table) |
protected String |
getJoin(LinkedHashMap<String,Object> params) |
protected String |
getJoin(String key) |
protected String |
getTypes(int size) |
protected String |
getWhere(LinkedHashMap<String,Object> params) |
protected String |
getWhere(String key) |
protected void |
setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
LinkedHashMap<String,Object> params) |
getBadColumnNames, getRolePersistence, setRolePersistenceappendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, cacheResult, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getEntityCache, getListeners, getModelClass, getPKDBName, getSelectSQL, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, update, updateImplpublic static final String COUNT_BY_GROUP_ROLE_AND_TEAM_ROLE
public static final String COUNT_BY_ORGANIZATION
public static final String COUNT_BY_ORGANIZATION_SITE
public static final String COUNT_BY_SITE
public static final String COUNT_BY_USER
public static final String COUNT_BY_USER_GROUP
public static final String COUNT_BY_USER_GROUP_GROUP_ROLE
public static final String COUNT_BY_USER_GROUP_SITE
public static final String COUNT_BY_U_G_R
public static final String COUNT_BY_C_N_D_T
public static final String FIND_BY_GROUP_ROLE_AND_TEAM_ROLE
public static final String FIND_BY_SYSTEM
public static final String FIND_BY_TEAMS_USER
public static final String FIND_BY_USER_GROUP_GROUP_ROLE
public static final String FIND_BY_USER_GROUP_ROLE
public static final String FIND_BY_C_N
public static final String FIND_BY_U_G
public static final String FIND_BY_R_N_A
public static final String FIND_BY_C_N_D_T
public static final String FIND_BY_C_N_S_P
public static final String FIND_BY_C_N_S_P_A
public static final String JOIN_BY_USERS_ROLES
public int countByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId)
countByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int countByKeywords(long companyId,
String keywords,
Integer[] types)
countByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int countByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params)
countByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int countByUserGroupGroupRole(long userId,
long groupId)
countByUserGroupGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int countByR_U(long roleId,
long userId)
countByR_U in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int countByU_G_R(long userId,
long groupId,
long roleId)
countByU_G_R in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int countByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
countByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int countByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
countByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int filterCountByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId)
filterCountByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int filterCountByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params)
filterCountByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int filterCountByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
filterCountByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic int filterCountByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator)
filterCountByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> filterFindByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end)
filterFindByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic 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> obc)
filterFindByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic 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> obc)
filterFindByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic 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> obc)
filterFindByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end)
findByGroupRoleAndTeamRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic 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> obc)
findByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic 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> obc)
findByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findBySystem(long companyId)
findBySystem in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByTeamsUser(long userId,
long groupId)
findByTeamsUser in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByUserGroupGroupRole(long userId,
long groupId)
findByUserGroupGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByUserGroupGroupRole(long userId,
long groupId,
int start,
int end)
findByUserGroupGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByUserGroupRole(long userId,
long groupId)
findByUserGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic com.liferay.portal.kernel.model.Role findByC_N(long companyId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchRoleException
findByC_N in interface com.liferay.portal.kernel.service.persistence.RoleFindercom.liferay.portal.kernel.exception.NoSuchRoleExceptionpublic List<com.liferay.portal.kernel.model.Role> findByU_G(long userId,
List<com.liferay.portal.kernel.model.Group> groups)
findByU_G in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByU_G(long userId,
long groupId)
findByU_G in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByU_G(long userId,
long[] groupIds)
findByU_G in interface com.liferay.portal.kernel.service.persistence.RoleFinder@Deprecated
public List<com.liferay.portal.kernel.model.Role> findByR_N_A(long resourceBlockId,
String className,
String actionId)
findByR_N_A in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic 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> obc)
findByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic 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> obc)
findByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic Map<String,List<String>> findByC_N_S_P(long companyId,
String name,
int scope,
String primKey)
findByC_N_S_P in interface com.liferay.portal.kernel.service.persistence.RoleFinderpublic List<com.liferay.portal.kernel.model.Role> findByC_N_S_P_A(long companyId,
String name,
int scope,
String primKey,
String actionId)
findByC_N_S_P_A in interface com.liferay.portal.kernel.service.persistence.RoleFinderprotected int doCountByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
boolean inlineSQLHelper)
protected int doCountByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
boolean inlineSQLHelper)
protected List<com.liferay.portal.kernel.model.Role> doFindByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end,
boolean inlineSQLHelper)
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> obc,
boolean inlineSQLHelper)
protected String getCountByR_U_SQL()
protected String getExcludedNames(List<String> excludedNames)
protected String getGroupIds(long[] groupIds,
String table)
protected String getJoin(LinkedHashMap<String,Object> params)
protected String getJoin(String key)
protected String getTypes(int size)
protected String getWhere(LinkedHashMap<String,Object> params)
protected String getWhere(String key)
protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
LinkedHashMap<String,Object> params)