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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderBaseImpl
socialActivityPersistenceFields 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 TypeMethodDescriptionintcountByGroupId(long groupId) intcountByGroupUsers(long groupId) intcountByOrganizationId(long organizationId) intcountByOrganizationUsers(long organizationId) intcountByRelation(long userId) intcountByRelationType(long userId, int type) intcountByUserGroups(long userId) intcountByUserGroupsAndOrganizations(long userId) intcountByUserOrganizations(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, setSocialActivityPersistenceMethods 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, updateImplMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
countByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByGroupUsers
public int countByGroupUsers(long groupId) - Specified by:
countByGroupUsersin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByOrganizationId
public int countByOrganizationId(long organizationId) - Specified by:
countByOrganizationIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByOrganizationUsers
public int countByOrganizationUsers(long organizationId) - Specified by:
countByOrganizationUsersin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByRelation
public int countByRelation(long userId) - Specified by:
countByRelationin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByRelationType
public int countByRelationType(long userId, int type) - Specified by:
countByRelationTypein interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByUserGroups
public int countByUserGroups(long userId) - Specified by:
countByUserGroupsin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByUserGroupsAndOrganizations
public int countByUserGroupsAndOrganizations(long userId) - Specified by:
countByUserGroupsAndOrganizationsin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-
countByUserOrganizations
public int countByUserOrganizations(long userId) - Specified by:
countByUserOrganizationsin 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:
findByGroupIdin 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:
findByGroupUsersin 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:
findByOrganizationIdin 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:
findByOrganizationUsersin 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:
findByRelationin 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:
findByRelationTypein 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:
findByUserGroupsin 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:
findByUserGroupsAndOrganizationsin 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:
findByUserOrganizationsin interfacecom.liferay.social.kernel.service.persistence.SocialActivityFinder
-