public class GroupFinderImpl extends GroupFinderBaseImpl implements com.liferay.portal.kernel.service.persistence.GroupFinder
groupPersistence
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, 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 |
---|
GroupFinderImpl() |
Modifier and Type | Method and Description |
---|---|
int |
countByC_C_PG_N_D(long companyId,
long[] classNameIds,
long parentGroupId,
String[] names,
String[] descriptions,
LinkedHashMap<String,Object> params,
boolean andOperator) |
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) |
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) |
List<Long> |
findByActiveGroupIds(long userId) |
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> obc) |
com.liferay.portal.kernel.model.Group |
findByC_GK(long companyId,
String groupKey) |
List<Long> |
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> obc) |
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,
Boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> obc) |
List<com.liferay.portal.kernel.model.Group> |
findByLayouts(long companyId,
long parentGroupId,
boolean site,
int start,
int end)
Deprecated.
As of Wilberforce (7.0.x)
|
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> obc) |
List<com.liferay.portal.kernel.model.Group> |
findByLiveGroups() |
List<com.liferay.portal.kernel.model.Group> |
findByNoLayouts(long classNameId,
boolean privateLayout,
int start,
int end) |
List<com.liferay.portal.kernel.model.Group> |
findByNullFriendlyURL() |
List<com.liferay.portal.kernel.model.Group> |
findBySystem(long companyId) |
protected String |
getJoin(Map<String,Object> params) |
protected String |
getWhere(Map<String,Object> params) |
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> obc) |
protected void |
setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
Map<String,Object> params) |
getBadColumnNames, getGroupPersistence, setGroupPersistence
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, updateImpl
public static final String COUNT_BY_LAYOUTS
public static final String COUNT_BY_GROUP_ID
public static final String COUNT_BY_C_PG_N_D
public static final String FIND_BY_ACTIVE_GROUPS
public static final String FIND_BY_COMPANY_ID
public static final String FIND_BY_LAYOUTS
public static final String FIND_BY_LIVE_GROUPS
public static final String FIND_BY_NO_LAYOUTS
public static final String FIND_BY_NULL_FRIENDLY_URL
public static final String FIND_BY_SYSTEM
public static final String FIND_BY_C_P
public static final String FIND_BY_C_GK
public static final String FIND_BY_L_TS_S_RSGC
public static final String FIND_BY_C_PG_N_D
public static final String JOIN_BY_ACTIVE
public static final String JOIN_BY_CREATOR_USER_ID
public static final String JOIN_BY_GROUP_ORG
public static final String JOIN_BY_GROUPS_ORGS
public static final String JOIN_BY_GROUPS_ROLES
public static final String JOIN_BY_GROUPS_USER_GROUPS
public static final String JOIN_BY_LAYOUT_SET
public static final String JOIN_BY_MANUAL_MEMBERSHIP
public static final String JOIN_BY_MEMBERSHIP_RESTRICTION
public static final String JOIN_BY_PAGE_COUNT
public static final String JOIN_BY_ROLE_RESOURCE_PERMISSIONS
public static final String JOIN_BY_ROLE_RESOURCE_TYPE_PERMISSIONS
public static final String JOIN_BY_SITE
public static final String JOIN_BY_TYPE
public static final String JOIN_BY_USER_GROUP_ROLE
public static final String JOIN_BY_USERS_GROUPS
public int countByLayouts(long companyId, long parentGroupId, boolean site)
countByLayouts
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public int countByLayouts(long companyId, long parentGroupId, boolean site, Boolean active)
countByLayouts
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public int countByG_U(long groupId, long userId, boolean inherit)
countByG_U
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public int countByC_C_PG_N_D(long companyId, long[] classNameIds, long parentGroupId, String[] names, String[] descriptions, LinkedHashMap<String,Object> params, boolean andOperator)
countByC_C_PG_N_D
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public List<Long> findByActiveGroupIds(long userId)
findByActiveGroupIds
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
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> obc)
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
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> obc)
findByLayouts
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
@Deprecated public List<com.liferay.portal.kernel.model.Group> findByLayouts(long companyId, long parentGroupId, boolean site, int start, int end)
findByLayouts
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
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> obc)
findByLayouts
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public List<com.liferay.portal.kernel.model.Group> findByLiveGroups()
findByLiveGroups
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public List<com.liferay.portal.kernel.model.Group> findByNoLayouts(long classNameId, boolean privateLayout, int start, int end)
findByNoLayouts
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public List<com.liferay.portal.kernel.model.Group> findByNullFriendlyURL()
findByNullFriendlyURL
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public List<com.liferay.portal.kernel.model.Group> findBySystem(long companyId)
findBySystem
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public List<Long> findByC_P(long companyId, long parentGroupId, long previousGroupId, int size)
findByC_P
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
public com.liferay.portal.kernel.model.Group findByC_GK(long companyId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException
findByC_GK
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
com.liferay.portal.kernel.exception.NoSuchGroupException
public List<com.liferay.portal.kernel.model.Group> findByL_TS_S_RSGC(long liveGroupId, String typeSettings, boolean site, int remoteStagingGroupCount)
findByL_TS_S_RSGC
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
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> obc)
findByC_C_PG_N_D
in interface com.liferay.portal.kernel.service.persistence.GroupFinder
protected int countByGroupId(com.liferay.portal.kernel.dao.orm.Session session, long groupId, Map<String,Object> params) throws Exception
Exception
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
Exception
protected String getJoin(Map<String,Object> params)
protected String getWhere(Map<String,Object> params)
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> obc)
protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos, Map<String,Object> params) throws Exception
Exception