com.liferay.portal.service.persistence.impl
Class RoleFinderImpl
java.lang.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
| Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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 |
|
Method Summary |
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 |
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 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)
|
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 |
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> |
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> |
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)
|
List<com.liferay.portal.kernel.model.Role> |
findBySystem(long companyId)
|
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 |
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)
|
| Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_ORGANIZATION
public static final String COUNT_BY_ORGANIZATION
COUNT_BY_ORGANIZATION_SITE
public static final String COUNT_BY_ORGANIZATION_SITE
COUNT_BY_SITE
public static final String COUNT_BY_SITE
COUNT_BY_USER
public static final String COUNT_BY_USER
COUNT_BY_USER_GROUP
public static final String COUNT_BY_USER_GROUP
COUNT_BY_USER_GROUP_GROUP_ROLE
public static final String COUNT_BY_USER_GROUP_GROUP_ROLE
COUNT_BY_USER_GROUP_SITE
public static final String COUNT_BY_USER_GROUP_SITE
COUNT_BY_U_G_R
public static final String COUNT_BY_U_G_R
COUNT_BY_C_N_D_T
public static final String COUNT_BY_C_N_D_T
FIND_BY_SYSTEM
public static final String FIND_BY_SYSTEM
FIND_BY_USER_GROUP_GROUP_ROLE
public static final String FIND_BY_USER_GROUP_GROUP_ROLE
FIND_BY_USER_GROUP_ROLE
public static final String FIND_BY_USER_GROUP_ROLE
FIND_BY_C_N
public static final String FIND_BY_C_N
FIND_BY_U_G
public static final String FIND_BY_U_G
FIND_BY_R_N_A
public static final String FIND_BY_R_N_A
FIND_BY_C_N_D_T
public static final String FIND_BY_C_N_D_T
FIND_BY_C_N_S_P
public static final String FIND_BY_C_N_S_P
FIND_BY_C_N_S_P_A
public static final String FIND_BY_C_N_S_P_A
JOIN_BY_USERS_ROLES
public static final String JOIN_BY_USERS_ROLES
RoleFinderImpl
public RoleFinderImpl()
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
countByUserGroupGroupRole
public int countByUserGroupGroupRole(long userId,
long groupId)
- Specified by:
countByUserGroupGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
countByR_U
public int countByR_U(long roleId,
long userId)
- Specified by:
countByR_U in interface com.liferay.portal.kernel.service.persistence.RoleFinder
countByU_G_R
public int countByU_G_R(long userId,
long groupId,
long roleId)
- Specified by:
countByU_G_R 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
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
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> obc)
- 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> obc)
- 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> obc)
- Specified by:
filterFindByC_N_D_T 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> obc)
- 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> obc)
- Specified by:
findByKeywords in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findBySystem
public List<com.liferay.portal.kernel.model.Role> findBySystem(long companyId)
- Specified by:
findBySystem in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByUserGroupGroupRole
public List<com.liferay.portal.kernel.model.Role> findByUserGroupGroupRole(long userId,
long groupId)
- Specified by:
findByUserGroupGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByUserGroupGroupRole
public List<com.liferay.portal.kernel.model.Role> findByUserGroupGroupRole(long userId,
long groupId,
int start,
int end)
- Specified by:
findByUserGroupGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByUserGroupRole
public List<com.liferay.portal.kernel.model.Role> findByUserGroupRole(long userId,
long groupId)
- Specified by:
findByUserGroupRole in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByC_N
public com.liferay.portal.kernel.model.Role findByC_N(long companyId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchRoleException
- Specified by:
findByC_N in interface com.liferay.portal.kernel.service.persistence.RoleFinder
- Throws:
com.liferay.portal.kernel.exception.NoSuchRoleException
findByU_G
public List<com.liferay.portal.kernel.model.Role> findByU_G(long userId,
List<com.liferay.portal.kernel.model.Group> groups)
- Specified by:
findByU_G in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByU_G
public List<com.liferay.portal.kernel.model.Role> findByU_G(long userId,
long groupId)
- Specified by:
findByU_G in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByU_G
public List<com.liferay.portal.kernel.model.Role> findByU_G(long userId,
long[] groupIds)
- Specified by:
findByU_G in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByR_N_A
public List<com.liferay.portal.kernel.model.Role> findByR_N_A(long resourceBlockId,
String className,
String actionId)
- Specified by:
findByR_N_A 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> obc)
- 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> obc)
- Specified by:
findByC_N_D_T in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByC_N_S_P
public Map<String,List<String>> findByC_N_S_P(long companyId,
String name,
int scope,
String primKey)
- Specified by:
findByC_N_S_P in interface com.liferay.portal.kernel.service.persistence.RoleFinder
findByC_N_S_P_A
public List<com.liferay.portal.kernel.model.Role> findByC_N_S_P_A(long companyId,
String name,
int scope,
String primKey,
String actionId)
- Specified by:
findByC_N_S_P_A in interface com.liferay.portal.kernel.service.persistence.RoleFinder
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)
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> obc,
boolean inlineSQLHelper)
getCountByR_U_SQL
protected String getCountByR_U_SQL()
getGroupIds
protected String getGroupIds(long[] groupIds,
String table)
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 qPos,
LinkedHashMap<String,Object> params)