public class RoleFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Role>
implements com.liferay.portal.service.persistence.RoleFinder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COUNT_BY_C_N_D_T |
static java.lang.String |
COUNT_BY_ORGANIZATION |
static java.lang.String |
COUNT_BY_ORGANIZATION_SITE |
static java.lang.String |
COUNT_BY_SITE |
static java.lang.String |
COUNT_BY_U_G_R |
static java.lang.String |
COUNT_BY_USER |
static java.lang.String |
COUNT_BY_USER_GROUP |
static java.lang.String |
COUNT_BY_USER_GROUP_SITE |
static java.lang.String |
FIND_BY_C_N |
static java.lang.String |
FIND_BY_C_N_D_T |
static java.lang.String |
FIND_BY_C_N_S_P |
static java.lang.String |
FIND_BY_C_N_S_P_A |
static java.lang.String |
FIND_BY_R_N_A |
static java.lang.String |
FIND_BY_SYSTEM |
static java.lang.String |
FIND_BY_U_G |
static java.lang.String |
FIND_BY_USER_GROUP_GROUP_ROLE |
static java.lang.String |
FIND_BY_USER_GROUP_ROLE |
static java.lang.String |
JOIN_BY_USERS_ROLES |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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,
java.lang.String[] names,
java.lang.String[] descriptions,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator) |
int |
countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator) |
int |
countByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types) |
int |
countByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params) |
int |
countByR_U(long roleId,
long userId) |
int |
countByU_G_R(long userId,
long groupId,
long roleId) |
java.util.List<com.liferay.portal.model.Role> |
findByC_N_D_T(long companyId,
java.lang.String[] names,
java.lang.String[] descriptions,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<com.liferay.portal.model.Role> |
findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<com.liferay.portal.model.Role> |
findByC_N_S_P_A(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
java.lang.String actionId) |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey) |
com.liferay.portal.model.Role |
findByC_N(long companyId,
java.lang.String name) |
java.util.List<com.liferay.portal.model.Role> |
findByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<com.liferay.portal.model.Role> |
findByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<com.liferay.portal.model.Role> |
findByR_N_A(long resourceBlockId,
java.lang.String className,
java.lang.String actionId) |
java.util.List<com.liferay.portal.model.Role> |
findBySystem(long companyId) |
java.util.List<com.liferay.portal.model.Role> |
findByU_G(long userId,
java.util.List<com.liferay.portal.model.Group> groups) |
java.util.List<com.liferay.portal.model.Role> |
findByU_G(long userId,
long groupId) |
java.util.List<com.liferay.portal.model.Role> |
findByU_G(long userId,
long[] groupIds) |
java.util.List<com.liferay.portal.model.Role> |
findByUserGroupGroupRole(long userId,
long groupId) |
java.util.List<com.liferay.portal.model.Role> |
findByUserGroupRole(long userId,
long groupId) |
protected java.lang.String |
getCountByR_U_SQL() |
protected java.lang.String |
getGroupIds(long[] groupIds,
java.lang.String table) |
protected java.lang.String |
getJoin(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params) |
protected java.lang.String |
getJoin(java.lang.String key) |
protected java.lang.String |
getTypes(java.lang.Integer[] types) |
protected java.lang.String |
getWhere(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params) |
protected java.lang.String |
getWhere(java.lang.String key) |
protected void |
setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params) |
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImplpublic static final java.lang.String COUNT_BY_ORGANIZATION
public static final java.lang.String COUNT_BY_ORGANIZATION_SITE
public static final java.lang.String COUNT_BY_SITE
public static final java.lang.String COUNT_BY_USER
public static final java.lang.String COUNT_BY_USER_GROUP
public static final java.lang.String COUNT_BY_USER_GROUP_SITE
public static final java.lang.String COUNT_BY_U_G_R
public static final java.lang.String COUNT_BY_C_N_D_T
public static final java.lang.String FIND_BY_SYSTEM
public static final java.lang.String FIND_BY_USER_GROUP_GROUP_ROLE
public static final java.lang.String FIND_BY_USER_GROUP_ROLE
public static final java.lang.String FIND_BY_C_N
public static final java.lang.String FIND_BY_U_G
public static final java.lang.String FIND_BY_R_N_A
public static final java.lang.String FIND_BY_C_N_D_T
public static final java.lang.String FIND_BY_C_N_S_P
public static final java.lang.String FIND_BY_C_N_S_P_A
public static final java.lang.String JOIN_BY_USERS_ROLES
public int countByR_U(long roleId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
countByR_U in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic int countByU_G_R(long userId,
long groupId,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
countByU_G_R in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic int countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator)
throws com.liferay.portal.kernel.exception.SystemException
countByC_N_D_T in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic int countByC_N_D_T(long companyId,
java.lang.String[] names,
java.lang.String[] descriptions,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator)
throws com.liferay.portal.kernel.exception.SystemException
countByC_N_D_T in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic int countByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types)
throws com.liferay.portal.kernel.exception.SystemException
countByKeywords in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic int countByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
throws com.liferay.portal.kernel.exception.SystemException
countByKeywords in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findBySystem(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findBySystem in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByUserGroupGroupRole(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByUserGroupGroupRole in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByUserGroupRole(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByUserGroupRole in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.model.Role findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.NoSuchRoleException,
com.liferay.portal.kernel.exception.SystemException
findByC_N in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.NoSuchRoleExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByU_G(long userId,
java.util.List<com.liferay.portal.model.Group> groups)
throws com.liferay.portal.kernel.exception.SystemException
findByU_G in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByU_G(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByU_G in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByU_G(long userId,
long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
findByU_G in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByR_N_A(long resourceBlockId,
java.lang.String className,
java.lang.String actionId)
throws com.liferay.portal.kernel.exception.SystemException
findByR_N_A in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
findByC_N_D_T in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByC_N_D_T(long companyId,
java.lang.String[] names,
java.lang.String[] descriptions,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
findByC_N_D_T in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByC_N_S_P_A(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
java.lang.String actionId)
throws com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P_A in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
findByKeywords in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.model.Role> findByKeywords(long companyId,
java.lang.String keywords,
java.lang.Integer[] types,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
findByKeywords in interface com.liferay.portal.service.persistence.RoleFindercom.liferay.portal.kernel.exception.SystemExceptionprotected java.lang.String getCountByR_U_SQL()
protected java.lang.String getGroupIds(long[] groupIds,
java.lang.String table)
protected java.lang.String getJoin(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
protected java.lang.String getJoin(java.lang.String key)
protected java.lang.String getTypes(java.lang.Integer[] types)
protected java.lang.String getWhere(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
protected java.lang.String getWhere(java.lang.String key)
protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)