Class SocialActivityFinderImpl
Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderBaseImpl
com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
,com.liferay.social.kernel.service.persistence.SocialActivityFinder
public class SocialActivityFinderImpl
extends SocialActivityFinderBaseImpl
implements com.liferay.social.kernel.service.persistence.SocialActivityFinder
- Author:
- Brian Wing Shun Chan
-
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 String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderBaseImpl
socialActivityPersistence
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
countByGroupId
(long groupId) int
countByGroupUsers
(long groupId) int
countByOrganizationId
(long organizationId) int
countByOrganizationUsers
(long organizationId) int
countByRelation
(long userId) int
countByRelationType
(long userId, int type) int
countByUserGroups
(long userId) int
countByUserGroupsAndOrganizations
(long userId) int
countByUserOrganizations
(long userId) List<com.liferay.social.kernel.model.SocialActivity>
findByGroupId
(long groupId, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByGroupUsers
(long groupId, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByOrganizationId
(long organizationId, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByOrganizationUsers
(long organizationId, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByRelation
(long userId, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByRelationType
(long userId, int type, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByUserGroups
(long userId, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByUserGroupsAndOrganizations
(long userId, int start, int end) List<com.liferay.social.kernel.model.SocialActivity>
findByUserOrganizations
(long userId, int start, int end) Methods inherited from class com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderBaseImpl
getBadColumnNames, getSocialActivityPersistence, setSocialActivityPersistence
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_GROUP_ID
-
COUNT_BY_GROUP_USERS
-
COUNT_BY_ORGANIZATION_ID
-
COUNT_BY_ORGANIZATION_USERS
-
COUNT_BY_RELATION
-
COUNT_BY_RELATION_TYPE
-
COUNT_BY_USER_GROUPS
-
COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS
-
COUNT_BY_USER_ORGANIZATIONS
-
FIND_BY_GROUP_ID
-
FIND_BY_GROUP_USERS
-
FIND_BY_ORGANIZATION_ID
-
FIND_BY_ORGANIZATION_USERS
-
FIND_BY_RELATION
-
FIND_BY_RELATION_TYPE
-
FIND_BY_USER_GROUPS
-
FIND_BY_USER_GROUPS_AND_ORGANIZATIONS
-
FIND_BY_USER_ORGANIZATIONS
-
-
Constructor Details
-
SocialActivityFinderImpl
public SocialActivityFinderImpl()
-
-
Method Details
-
countByGroupId
public int countByGroupId(long groupId) - Specified by:
countByGroupId
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByGroupUsers
public int countByGroupUsers(long groupId) - Specified by:
countByGroupUsers
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByOrganizationId
public int countByOrganizationId(long organizationId) - Specified by:
countByOrganizationId
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByOrganizationUsers
public int countByOrganizationUsers(long organizationId) - Specified by:
countByOrganizationUsers
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByRelation
public int countByRelation(long userId) - Specified by:
countByRelation
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByRelationType
public int countByRelationType(long userId, int type) - Specified by:
countByRelationType
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByUserGroups
public int countByUserGroups(long userId) - Specified by:
countByUserGroups
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByUserGroupsAndOrganizations
public int countByUserGroupsAndOrganizations(long userId) - Specified by:
countByUserGroupsAndOrganizations
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByUserOrganizations
public int countByUserOrganizations(long userId) - Specified by:
countByUserOrganizations
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByGroupId
public List<com.liferay.social.kernel.model.SocialActivity> findByGroupId(long groupId, int start, int end) - Specified by:
findByGroupId
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByGroupUsers
public List<com.liferay.social.kernel.model.SocialActivity> findByGroupUsers(long groupId, int start, int end) - Specified by:
findByGroupUsers
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByOrganizationId
public List<com.liferay.social.kernel.model.SocialActivity> findByOrganizationId(long organizationId, int start, int end) - Specified by:
findByOrganizationId
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByOrganizationUsers
public List<com.liferay.social.kernel.model.SocialActivity> findByOrganizationUsers(long organizationId, int start, int end) - Specified by:
findByOrganizationUsers
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByRelation
public List<com.liferay.social.kernel.model.SocialActivity> findByRelation(long userId, int start, int end) - Specified by:
findByRelation
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByRelationType
public List<com.liferay.social.kernel.model.SocialActivity> findByRelationType(long userId, int type, int start, int end) - Specified by:
findByRelationType
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByUserGroups
public List<com.liferay.social.kernel.model.SocialActivity> findByUserGroups(long userId, int start, int end) - Specified by:
findByUserGroups
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByUserGroupsAndOrganizations
public List<com.liferay.social.kernel.model.SocialActivity> findByUserGroupsAndOrganizations(long userId, int start, int end) - Specified by:
findByUserGroupsAndOrganizations
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
findByUserOrganizations
public List<com.liferay.social.kernel.model.SocialActivity> findByUserOrganizations(long userId, int start, int end) - Specified by:
findByUserOrganizations
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-