Class GroupFinderImpl
Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
com.liferay.portal.service.persistence.impl.GroupFinderBaseImpl
com.liferay.portal.service.persistence.impl.GroupFinderImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>
,com.liferay.portal.kernel.service.persistence.GroupFinder
public class GroupFinderImpl
extends GroupFinderBaseImpl
implements com.liferay.portal.kernel.service.persistence.GroupFinder
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final com.liferay.portal.kernel.dao.orm.FinderPath
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.liferay.portal.service.persistence.impl.GroupFinderBaseImpl
groupPersistence
Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
countByC_C_PG_N_D
(long companyId, long[] classNameIds, long parentGroupId, String[] names, String[] descriptions, LinkedHashMap<String, Object> params, boolean andOperator) countByC_PG_N_D
(com.liferay.portal.kernel.dao.orm.Session session, long companyId, long parentGroupId, String parentGroupIdComparator, String[] names, String[] descriptions, Map<String, Object> params, boolean andOperator) int
countByG_U
(long groupId, long userId, boolean inherit) protected int
countByGroupId
(com.liferay.portal.kernel.dao.orm.Session session, long groupId, Map<String, Object> params) int
countByLayouts
(long companyId, long parentGroupId, boolean site) int
countByLayouts
(long companyId, long parentGroupId, boolean site, Boolean active) com.liferay.portal.kernel.model.Group
fetchByC_GK
(long companyId, String groupKey) findByActiveGroupIds
(long userId) findByC_A
(long companyId, boolean active) List<com.liferay.portal.kernel.model.Group>
findByC_C_PG_N_D
(long companyId, long[] classNameIds, long parentGroupId, String[] names, String[] descriptions, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) com.liferay.portal.kernel.model.Group
findByC_GK
(long companyId, String groupKey) findByC_P
(long companyId, long parentGroupId, long previousGroupId, int size) List<com.liferay.portal.kernel.model.Group>
findByCompanyId
(long companyId, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) List<com.liferay.portal.kernel.model.Group>
findByL_TS_S_RSGC
(long liveGroupId, String typeSettings, boolean site, int remoteStagingGroupCount) List<com.liferay.portal.kernel.model.Group>
findByLayouts
(long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) List<com.liferay.portal.kernel.model.Group>
findByLayouts
(long companyId, long parentGroupId, boolean site, Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) List<com.liferay.portal.kernel.model.Group>
protected String
protected String
protected String
replaceJoinAndWhere
(String sql, Map<String, Object> params) protected String
replaceOrderBy
(String sql, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) protected void
Methods inherited from class com.liferay.portal.service.persistence.impl.GroupFinderBaseImpl
getBadColumnNames, getGroupPersistence, setGroupPersistence
Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getEntityCache, getFinderCache, getListeners, getModelClass, getPKDBName, getSelectSQL, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeByFunction, removeConjunction, removeImpl, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update, updateImpl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, dslQueryCount
-
Field Details
-
COUNT_BY_LAYOUTS
-
COUNT_BY_GROUP_ID
-
COUNT_BY_C_PG_N_D
-
FIND_BY_ACTIVE_GROUPS
-
FIND_BY_COMPANY_ID
-
FIND_BY_LAYOUTS
-
FIND_BY_LIVE_GROUPS
-
FIND_BY_C_P
-
FIND_BY_C_GK
-
FIND_BY_C_A
-
FIND_BY_L_TS_S_RSGC
-
FIND_BY_C_PG_N_D
-
FINDER_PATH_FIND_BY_C_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_A -
JOIN_BY_ACTION_ID
-
JOIN_BY_ACTIVE
-
JOIN_BY_CREATOR_USER_ID
-
JOIN_BY_GROUP_ORG
-
JOIN_BY_GROUPS_ORGS
-
JOIN_BY_GROUPS_ROLES
-
JOIN_BY_GROUPS_USER_GROUPS
-
JOIN_BY_LAYOUT
-
JOIN_BY_MANUAL_MEMBERSHIP
-
JOIN_BY_MEMBERSHIP_RESTRICTION
-
JOIN_BY_PAGE_COUNT
-
JOIN_BY_ROLE_RESOURCE_PERMISSIONS
-
JOIN_BY_SITE
-
JOIN_BY_TYPE
-
JOIN_BY_USER_GROUP_ROLE
-
JOIN_BY_USERS_GROUPS
-
-
Constructor Details
-
GroupFinderImpl
public GroupFinderImpl()
-
-
Method Details
-
countByLayouts
public int countByLayouts(long companyId, long parentGroupId, boolean site) - Specified by:
countByLayouts
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
countByLayouts
- Specified by:
countByLayouts
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
countByG_U
public int countByG_U(long groupId, long userId, boolean inherit) - Specified by:
countByG_U
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
countByC_C_PG_N_D
public int countByC_C_PG_N_D(long companyId, long[] classNameIds, long parentGroupId, String[] names, String[] descriptions, LinkedHashMap<String, Object> params, boolean andOperator) - Specified by:
countByC_C_PG_N_D
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
fetchByC_GK
public com.liferay.portal.kernel.model.Group fetchByC_GK(long companyId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException - Specified by:
fetchByC_GK
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
findByActiveGroupIds
- Specified by:
findByActiveGroupIds
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Group> findByCompanyId(long companyId, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) - Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByLayouts
public List<com.liferay.portal.kernel.model.Group> findByLayouts(long companyId, long parentGroupId, boolean site, Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) - Specified by:
findByLayouts
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByLayouts
public List<com.liferay.portal.kernel.model.Group> findByLayouts(long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) - Specified by:
findByLayouts
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByLiveGroups
- Specified by:
findByLiveGroups
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByC_P
- Specified by:
findByC_P
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByC_GK
public com.liferay.portal.kernel.model.Group findByC_GK(long companyId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException - Specified by:
findByC_GK
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
findByC_A
- Specified by:
findByC_A
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByL_TS_S_RSGC
public List<com.liferay.portal.kernel.model.Group> findByL_TS_S_RSGC(long liveGroupId, String typeSettings, boolean site, int remoteStagingGroupCount) - Specified by:
findByL_TS_S_RSGC
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
findByC_C_PG_N_D
public List<com.liferay.portal.kernel.model.Group> findByC_C_PG_N_D(long companyId, long[] classNameIds, long parentGroupId, String[] names, String[] descriptions, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) - Specified by:
findByC_C_PG_N_D
in interfacecom.liferay.portal.kernel.service.persistence.GroupFinder
-
countByGroupId
protected int countByGroupId(com.liferay.portal.kernel.dao.orm.Session session, long groupId, Map<String, Object> params) throws Exception- Throws:
Exception
-
countByC_PG_N_D
protected List<Long> countByC_PG_N_D(com.liferay.portal.kernel.dao.orm.Session session, long companyId, long parentGroupId, String parentGroupIdComparator, String[] names, String[] descriptions, Map<String, Object> params, boolean andOperator) throws Exception- Throws:
Exception
-
getJoin
-
getWhere
-
replaceJoinAndWhere
-
replaceOrderBy
-
setJoin
protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos queryPos, Map<String, Object> params) throws Exception- Throws:
Exception
-