Class SocialActivityPersistenceImpl
- 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.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>,com.liferay.social.kernel.service.persistence.SocialActivityPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidInitializes the social activity persistence.voidcacheResult(com.liferay.social.kernel.model.SocialActivity socialActivity) Caches the social activity in the entity cache if it is enabled.voidcacheResult(List<com.liferay.social.kernel.model.SocialActivity> socialActivities) Caches the social activities in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(SocialActivityModelImpl socialActivityModelImpl) voidClears the cache for all social activities.voidclearCache(com.liferay.social.kernel.model.SocialActivity socialActivity) Clears the cache for the social activity.voidclearCache(List<com.liferay.social.kernel.model.SocialActivity> socialActivities) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of social activities.intcountByActivitySetId(long activitySetId) Returns the number of social activities where activitySetId = ?.intcountByC_C(long classNameId, long classPK) Returns the number of social activities where classNameId = ? and classPK = ?.intcountByC_C_T(long classNameId, long classPK, int type) Returns the number of social activities where classNameId = ? and classPK = ? and type = ?.intcountByC_CN(long companyId, long classNameId) Returns the number of social activities where companyId = ? and classNameId = ?.intcountByCompanyId(long companyId) Returns the number of social activities where companyId = ?.intcountByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId) Returns the number of social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.intcountByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) Returns the number of social activities where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.intcountByGroupId(long groupId) Returns the number of social activities where groupId = ?.intcountByM_C_C(long mirrorActivityId, long classNameId, long classPK) Returns the number of social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.intcountByMirrorActivityId(long mirrorActivityId) Returns the number of social activities where mirrorActivityId = ?.intcountByReceiverUserId(long receiverUserId) Returns the number of social activities where receiverUserId = ?.intcountByUserId(long userId) Returns the number of social activities where userId = ?.com.liferay.social.kernel.model.SocialActivitycreate(long activityId) Creates a new social activity with the primary key.voiddestroy()com.liferay.social.kernel.model.SocialActivityfetchByActivitySetId_First(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where activitySetId = ?.com.liferay.social.kernel.model.SocialActivityfetchByActivitySetId_Last(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where activitySetId = ?.com.liferay.social.kernel.model.SocialActivityfetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfetchByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.com.liferay.social.kernel.model.SocialActivityfetchByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.com.liferay.social.kernel.model.SocialActivityfetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where companyId = ? and classNameId = ?.com.liferay.social.kernel.model.SocialActivityfetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where companyId = ? and classNameId = ?.com.liferay.social.kernel.model.SocialActivityfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where companyId = ?.com.liferay.social.kernel.model.SocialActivityfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where companyId = ?.com.liferay.social.kernel.model.SocialActivityfetchByG_U_C_C_T_R_First(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfetchByG_U_C_C_T_R_Last(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfetchByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) Returns the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or returnsnullif it could not be found.com.liferay.social.kernel.model.SocialActivityfetchByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId, boolean useFinderCache) Returns the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.social.kernel.model.SocialActivityfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityfetchByM_C_C_First(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfetchByM_C_C_Last(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfetchByMirrorActivityId(long mirrorActivityId) Returns the social activity where mirrorActivityId = ? or returnsnullif it could not be found.com.liferay.social.kernel.model.SocialActivityfetchByMirrorActivityId(long mirrorActivityId, boolean useFinderCache) Returns the social activity where mirrorActivityId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.social.kernel.model.SocialActivityfetchByPrimaryKey(long activityId) Returns the social activity with the primary key or returnsnullif it could not be found.com.liferay.social.kernel.model.SocialActivityfetchByPrimaryKey(Serializable primaryKey) Returns the social activity with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.social.kernel.model.SocialActivity> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.social.kernel.model.SocialActivityfetchByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfetchByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where userId = ?.com.liferay.social.kernel.model.SocialActivityfetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where userId = ?.List<com.liferay.social.kernel.model.SocialActivity>findAll()Returns all the social activities.List<com.liferay.social.kernel.model.SocialActivity>findAll(int start, int end) Returns a range of all the social activities.List<com.liferay.social.kernel.model.SocialActivity>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities.List<com.liferay.social.kernel.model.SocialActivity>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities.List<com.liferay.social.kernel.model.SocialActivity>findByActivitySetId(long activitySetId) Returns all the social activities where activitySetId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByActivitySetId(long activitySetId, int start, int end) Returns a range of all the social activities where activitySetId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByActivitySetId(long activitySetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where activitySetId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByActivitySetId(long activitySetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where activitySetId = ?.com.liferay.social.kernel.model.SocialActivityfindByActivitySetId_First(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where activitySetId = ?.com.liferay.social.kernel.model.SocialActivityfindByActivitySetId_Last(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where activitySetId = ?.com.liferay.social.kernel.model.SocialActivity[]findByActivitySetId_PrevAndNext(long activityId, long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where activitySetId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C(long classNameId, long classPK) Returns all the social activities where classNameId = ? and classPK = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C(long classNameId, long classPK, int start, int end) Returns a range of all the social activities where classNameId = ? and classPK = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where classNameId = ? and classPK = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfindByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfindByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivity[]findByC_C_PrevAndNext(long activityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where classNameId = ? and classPK = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C_T(long classNameId, long classPK, int type) Returns all the social activities where classNameId = ? and classPK = ? and type = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C_T(long classNameId, long classPK, int type, int start, int end) Returns a range of all the social activities where classNameId = ? and classPK = ? and type = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where classNameId = ? and classPK = ? and type = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where classNameId = ? and classPK = ? and type = ?.com.liferay.social.kernel.model.SocialActivityfindByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.com.liferay.social.kernel.model.SocialActivityfindByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.com.liferay.social.kernel.model.SocialActivity[]findByC_C_T_PrevAndNext(long activityId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_CN(long companyId, long classNameId) Returns all the social activities where companyId = ? and classNameId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_CN(long companyId, long classNameId, int start, int end) Returns a range of all the social activities where companyId = ? and classNameId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where companyId = ? and classNameId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where companyId = ? and classNameId = ?.com.liferay.social.kernel.model.SocialActivityfindByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where companyId = ? and classNameId = ?.com.liferay.social.kernel.model.SocialActivityfindByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where companyId = ? and classNameId = ?.com.liferay.social.kernel.model.SocialActivity[]findByC_CN_PrevAndNext(long activityId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where companyId = ? and classNameId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByCompanyId(long companyId) Returns all the social activities where companyId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByCompanyId(long companyId, int start, int end) Returns a range of all the social activities where companyId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where companyId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where companyId = ?.com.liferay.social.kernel.model.SocialActivityfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where companyId = ?.com.liferay.social.kernel.model.SocialActivityfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where companyId = ?.com.liferay.social.kernel.model.SocialActivity[]findByCompanyId_PrevAndNext(long activityId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where companyId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId) Returns all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, int start, int end) Returns a range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfindByG_U_C_C_T_R_First(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfindByG_U_C_C_T_R_Last(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.com.liferay.social.kernel.model.SocialActivity[]findByG_U_C_C_T_R_PrevAndNext(long activityId, long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfindByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) Returns the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or throws aNoSuchActivityExceptionif it could not be found.List<com.liferay.social.kernel.model.SocialActivity>findByGroupId(long groupId) Returns all the social activities where groupId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByGroupId(long groupId, int start, int end) Returns a range of all the social activities where groupId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where groupId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where groupId = ?.com.liferay.social.kernel.model.SocialActivityfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivity[]findByGroupId_PrevAndNext(long activityId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where groupId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByM_C_C(long mirrorActivityId, long classNameId, long classPK) Returns all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.List<com.liferay.social.kernel.model.SocialActivity>findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end) Returns a range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.List<com.liferay.social.kernel.model.SocialActivity>findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.List<com.liferay.social.kernel.model.SocialActivity>findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfindByM_C_C_First(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfindByM_C_C_Last(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivity[]findByM_C_C_PrevAndNext(long activityId, long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.com.liferay.social.kernel.model.SocialActivityfindByMirrorActivityId(long mirrorActivityId) Returns the social activity where mirrorActivityId = ? or throws aNoSuchActivityExceptionif it could not be found.com.liferay.social.kernel.model.SocialActivityfindByPrimaryKey(long activityId) Returns the social activity with the primary key or throws aNoSuchActivityExceptionif it could not be found.com.liferay.social.kernel.model.SocialActivityfindByPrimaryKey(Serializable primaryKey) Returns the social activity with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.social.kernel.model.SocialActivity>findByReceiverUserId(long receiverUserId) Returns all the social activities where receiverUserId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByReceiverUserId(long receiverUserId, int start, int end) Returns a range of all the social activities where receiverUserId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where receiverUserId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfindByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where receiverUserId = ?.com.liferay.social.kernel.model.SocialActivityfindByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where receiverUserId = ?.com.liferay.social.kernel.model.SocialActivity[]findByReceiverUserId_PrevAndNext(long activityId, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where receiverUserId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByUserId(long userId) Returns all the social activities where userId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByUserId(long userId, int start, int end) Returns a range of all the social activities where userId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where userId = ?.List<com.liferay.social.kernel.model.SocialActivity>findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where userId = ?.com.liferay.social.kernel.model.SocialActivityfindByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where userId = ?.com.liferay.social.kernel.model.SocialActivityfindByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where userId = ?.com.liferay.social.kernel.model.SocialActivity[]findByUserId_PrevAndNext(long activityId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the social activities before and after the current social activity in the ordered set where userId = ?.protected com.liferay.social.kernel.model.SocialActivitygetByActivitySetId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByC_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByC_CN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByG_U_C_C_T_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByM_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByReceiverUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivitygetByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.social.kernel.model.SocialActivityremove(long activityId) Removes the social activity with the primary key from the database.com.liferay.social.kernel.model.SocialActivityremove(Serializable primaryKey) Removes the social activity with the primary key from the database.voidRemoves all the social activities from the database.voidremoveByActivitySetId(long activitySetId) Removes all the social activities where activitySetId = ? from the database.voidremoveByC_C(long classNameId, long classPK) Removes all the social activities where classNameId = ? and classPK = ? from the database.voidremoveByC_C_T(long classNameId, long classPK, int type) Removes all the social activities where classNameId = ? and classPK = ? and type = ? from the database.voidremoveByC_CN(long companyId, long classNameId) Removes all the social activities where companyId = ? and classNameId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the social activities where companyId = ? from the database.voidremoveByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId) Removes all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? from the database.com.liferay.social.kernel.model.SocialActivityremoveByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) Removes the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? from the database.voidremoveByGroupId(long groupId) Removes all the social activities where groupId = ? from the database.voidremoveByM_C_C(long mirrorActivityId, long classNameId, long classPK) Removes all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ? from the database.com.liferay.social.kernel.model.SocialActivityremoveByMirrorActivityId(long mirrorActivityId) Removes the social activity where mirrorActivityId = ? from the database.voidremoveByReceiverUserId(long receiverUserId) Removes all the social activities where receiverUserId = ? from the database.voidremoveByUserId(long userId) Removes all the social activities where userId = ? from the database.protected com.liferay.social.kernel.model.SocialActivityremoveImpl(com.liferay.social.kernel.model.SocialActivity socialActivity) com.liferay.social.kernel.model.SocialActivityupdateImpl(com.liferay.social.kernel.model.SocialActivity socialActivity) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods 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
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
SocialActivityPersistenceImpl
public SocialActivityPersistenceImpl()
-
-
Method Details
-
findByGroupId
Returns all the social activities where groupId = ?.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group ID- Returns:
- the matching social activities
-
findByGroupId
public List<com.liferay.social.kernel.model.SocialActivity> findByGroupId(long groupId, int start, int end) Returns a range of all the social activities where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByGroupId
public List<com.liferay.social.kernel.model.SocialActivity> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByGroupId
public List<com.liferay.social.kernel.model.SocialActivity> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByGroupId_First
public com.liferay.social.kernel.model.SocialActivity findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where groupId = ?.- Specified by:
findByGroupId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByGroupId_First
public com.liferay.social.kernel.model.SocialActivity fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByGroupId_Last
public com.liferay.social.kernel.model.SocialActivity findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where groupId = ?.- Specified by:
findByGroupId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByGroupId_Last
public com.liferay.social.kernel.model.SocialActivity fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByGroupId_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByGroupId_PrevAndNext(long activityId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activitygroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the social activities where groupId = ? from the database.- Specified by:
removeByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of social activities where groupId = ?.- Specified by:
countByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching social activities
-
findByCompanyId
Returns all the social activities where companyId = ?.- Specified by:
findByCompanyIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company ID- Returns:
- the matching social activities
-
findByCompanyId
public List<com.liferay.social.kernel.model.SocialActivity> findByCompanyId(long companyId, int start, int end) Returns a range of all the social activities where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByCompanyId
public List<com.liferay.social.kernel.model.SocialActivity> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByCompanyId
public List<com.liferay.social.kernel.model.SocialActivity> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByCompanyId_First
public com.liferay.social.kernel.model.SocialActivity findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByCompanyId_First
public com.liferay.social.kernel.model.SocialActivity fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByCompanyId_Last
public com.liferay.social.kernel.model.SocialActivity findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByCompanyId_Last
public com.liferay.social.kernel.model.SocialActivity fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByCompanyId_PrevAndNext(long activityId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activitycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the social activities where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of social activities where companyId = ?.- Specified by:
countByCompanyIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching social activities
-
findByUserId
Returns all the social activities where userId = ?.- Specified by:
findByUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user ID- Returns:
- the matching social activities
-
findByUserId
public List<com.liferay.social.kernel.model.SocialActivity> findByUserId(long userId, int start, int end) Returns a range of all the social activities where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByUserId
public List<com.liferay.social.kernel.model.SocialActivity> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByUserId
public List<com.liferay.social.kernel.model.SocialActivity> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByUserId_First
public com.liferay.social.kernel.model.SocialActivity findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where userId = ?.- Specified by:
findByUserId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByUserId_First
public com.liferay.social.kernel.model.SocialActivity fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where userId = ?.- Specified by:
fetchByUserId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByUserId_Last
public com.liferay.social.kernel.model.SocialActivity findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where userId = ?.- Specified by:
findByUserId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByUserId_Last
public com.liferay.social.kernel.model.SocialActivity fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where userId = ?.- Specified by:
fetchByUserId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByUserId_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByUserId_PrevAndNext(long activityId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where userId = ?.- Specified by:
findByUserId_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activityuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByUserId_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByUserId
public void removeByUserId(long userId) Removes all the social activities where userId = ? from the database.- Specified by:
removeByUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user ID
-
countByUserId
public int countByUserId(long userId) Returns the number of social activities where userId = ?.- Specified by:
countByUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
userId- the user ID- Returns:
- the number of matching social activities
-
findByActivitySetId
Returns all the social activities where activitySetId = ?.- Specified by:
findByActivitySetIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set ID- Returns:
- the matching social activities
-
findByActivitySetId
public List<com.liferay.social.kernel.model.SocialActivity> findByActivitySetId(long activitySetId, int start, int end) Returns a range of all the social activities where activitySetId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByActivitySetIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByActivitySetId
public List<com.liferay.social.kernel.model.SocialActivity> findByActivitySetId(long activitySetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where activitySetId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByActivitySetIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByActivitySetId
public List<com.liferay.social.kernel.model.SocialActivity> findByActivitySetId(long activitySetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where activitySetId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByActivitySetIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByActivitySetId_First
public com.liferay.social.kernel.model.SocialActivity findByActivitySetId_First(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where activitySetId = ?.- Specified by:
findByActivitySetId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByActivitySetId_First
public com.liferay.social.kernel.model.SocialActivity fetchByActivitySetId_First(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where activitySetId = ?.- Specified by:
fetchByActivitySetId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByActivitySetId_Last
public com.liferay.social.kernel.model.SocialActivity findByActivitySetId_Last(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where activitySetId = ?.- Specified by:
findByActivitySetId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByActivitySetId_Last
public com.liferay.social.kernel.model.SocialActivity fetchByActivitySetId_Last(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where activitySetId = ?.- Specified by:
fetchByActivitySetId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByActivitySetId_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByActivitySetId_PrevAndNext(long activityId, long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where activitySetId = ?.- Specified by:
findByActivitySetId_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activityactivitySetId- the activity set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByActivitySetId_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByActivitySetId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByActivitySetId
public void removeByActivitySetId(long activitySetId) Removes all the social activities where activitySetId = ? from the database.- Specified by:
removeByActivitySetIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set ID
-
countByActivitySetId
public int countByActivitySetId(long activitySetId) Returns the number of social activities where activitySetId = ?.- Specified by:
countByActivitySetIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activitySetId- the activity set ID- Returns:
- the number of matching social activities
-
findByMirrorActivityId
public com.liferay.social.kernel.model.SocialActivity findByMirrorActivityId(long mirrorActivityId) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activity where mirrorActivityId = ? or throws aNoSuchActivityExceptionif it could not be found.- Specified by:
findByMirrorActivityIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity ID- Returns:
- the matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByMirrorActivityId
public com.liferay.social.kernel.model.SocialActivity fetchByMirrorActivityId(long mirrorActivityId) Returns the social activity where mirrorActivityId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByMirrorActivityIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity ID- Returns:
- the matching social activity, or
nullif a matching social activity could not be found
-
fetchByMirrorActivityId
public com.liferay.social.kernel.model.SocialActivity fetchByMirrorActivityId(long mirrorActivityId, boolean useFinderCache) Returns the social activity where mirrorActivityId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByMirrorActivityIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDuseFinderCache- whether to use the finder cache- Returns:
- the matching social activity, or
nullif a matching social activity could not be found
-
removeByMirrorActivityId
public com.liferay.social.kernel.model.SocialActivity removeByMirrorActivityId(long mirrorActivityId) throws com.liferay.social.kernel.exception.NoSuchActivityException Removes the social activity where mirrorActivityId = ? from the database.- Specified by:
removeByMirrorActivityIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity ID- Returns:
- the social activity that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException
-
countByMirrorActivityId
public int countByMirrorActivityId(long mirrorActivityId) Returns the number of social activities where mirrorActivityId = ?.- Specified by:
countByMirrorActivityIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity ID- Returns:
- the number of matching social activities
-
findByReceiverUserId
public List<com.liferay.social.kernel.model.SocialActivity> findByReceiverUserId(long receiverUserId) Returns all the social activities where receiverUserId = ?.- Specified by:
findByReceiverUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user ID- Returns:
- the matching social activities
-
findByReceiverUserId
public List<com.liferay.social.kernel.model.SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end) Returns a range of all the social activities where receiverUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByReceiverUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByReceiverUserId
public List<com.liferay.social.kernel.model.SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where receiverUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByReceiverUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByReceiverUserId
public List<com.liferay.social.kernel.model.SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where receiverUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByReceiverUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByReceiverUserId_First
public com.liferay.social.kernel.model.SocialActivity findByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where receiverUserId = ?.- Specified by:
findByReceiverUserId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByReceiverUserId_First
public com.liferay.social.kernel.model.SocialActivity fetchByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where receiverUserId = ?.- Specified by:
fetchByReceiverUserId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByReceiverUserId_Last
public com.liferay.social.kernel.model.SocialActivity findByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where receiverUserId = ?.- Specified by:
findByReceiverUserId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByReceiverUserId_Last
public com.liferay.social.kernel.model.SocialActivity fetchByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where receiverUserId = ?.- Specified by:
fetchByReceiverUserId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByReceiverUserId_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByReceiverUserId_PrevAndNext(long activityId, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where receiverUserId = ?.- Specified by:
findByReceiverUserId_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activityreceiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByReceiverUserId_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByReceiverUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByReceiverUserId
public void removeByReceiverUserId(long receiverUserId) Removes all the social activities where receiverUserId = ? from the database.- Specified by:
removeByReceiverUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user ID
-
countByReceiverUserId
public int countByReceiverUserId(long receiverUserId) Returns the number of social activities where receiverUserId = ?.- Specified by:
countByReceiverUserIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
receiverUserId- the receiver user ID- Returns:
- the number of matching social activities
-
findByC_CN
public List<com.liferay.social.kernel.model.SocialActivity> findByC_CN(long companyId, long classNameId) Returns all the social activities where companyId = ? and classNameId = ?.- Specified by:
findByC_CNin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the matching social activities
-
findByC_CN
public List<com.liferay.social.kernel.model.SocialActivity> findByC_CN(long companyId, long classNameId, int start, int end) Returns a range of all the social activities where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_CNin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByC_CN
public List<com.liferay.social.kernel.model.SocialActivity> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_CNin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByC_CN
public List<com.liferay.social.kernel.model.SocialActivity> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_CNin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByC_CN_First
public com.liferay.social.kernel.model.SocialActivity findByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_CN_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByC_CN_First
public com.liferay.social.kernel.model.SocialActivity fetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where companyId = ? and classNameId = ?.- Specified by:
fetchByC_CN_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByC_CN_Last
public com.liferay.social.kernel.model.SocialActivity findByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_CN_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByC_CN_Last
public com.liferay.social.kernel.model.SocialActivity fetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where companyId = ? and classNameId = ?.- Specified by:
fetchByC_CN_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByC_CN_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByC_CN_PrevAndNext(long activityId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_CN_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activitycompanyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByC_CN_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByC_CN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByC_CN
public void removeByC_CN(long companyId, long classNameId) Removes all the social activities where companyId = ? and classNameId = ? from the database.- Specified by:
removeByC_CNin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID
-
countByC_CN
public int countByC_CN(long companyId, long classNameId) Returns the number of social activities where companyId = ? and classNameId = ?.- Specified by:
countByC_CNin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the number of matching social activities
-
findByC_C
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C(long classNameId, long classPK) Returns all the social activities where classNameId = ? and classPK = ?.- Specified by:
findByC_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching social activities
-
findByC_C
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C(long classNameId, long classPK, int start, int end) Returns a range of all the social activities where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByC_C
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByC_C
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByC_C_First
public com.liferay.social.kernel.model.SocialActivity findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where classNameId = ? and classPK = ?.- Specified by:
findByC_C_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByC_C_First
public com.liferay.social.kernel.model.SocialActivity fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where classNameId = ? and classPK = ?.- Specified by:
fetchByC_C_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByC_C_Last
public com.liferay.social.kernel.model.SocialActivity findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where classNameId = ? and classPK = ?.- Specified by:
findByC_C_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByC_C_Last
public com.liferay.social.kernel.model.SocialActivity fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where classNameId = ? and classPK = ?.- Specified by:
fetchByC_C_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByC_C_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByC_C_PrevAndNext(long activityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where classNameId = ? and classPK = ?.- Specified by:
findByC_C_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activityclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByC_C_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByC_C
public void removeByC_C(long classNameId, long classPK) Removes all the social activities where classNameId = ? and classPK = ? from the database.- Specified by:
removeByC_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk
-
countByC_C
public int countByC_C(long classNameId, long classPK) Returns the number of social activities where classNameId = ? and classPK = ?.- Specified by:
countByC_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching social activities
-
findByM_C_C
public List<com.liferay.social.kernel.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK) Returns all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.- Specified by:
findByM_C_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching social activities
-
findByM_C_C
public List<com.liferay.social.kernel.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end) Returns a range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByM_C_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByM_C_C
public List<com.liferay.social.kernel.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByM_C_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByM_C_C
public List<com.liferay.social.kernel.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByM_C_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByM_C_C_First
public com.liferay.social.kernel.model.SocialActivity findByM_C_C_First(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.- Specified by:
findByM_C_C_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByM_C_C_First
public com.liferay.social.kernel.model.SocialActivity fetchByM_C_C_First(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.- Specified by:
fetchByM_C_C_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByM_C_C_Last
public com.liferay.social.kernel.model.SocialActivity findByM_C_C_Last(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.- Specified by:
findByM_C_C_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByM_C_C_Last
public com.liferay.social.kernel.model.SocialActivity fetchByM_C_C_Last(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.- Specified by:
fetchByM_C_C_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByM_C_C_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByM_C_C_PrevAndNext(long activityId, long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?.- Specified by:
findByM_C_C_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activitymirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByM_C_C_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByM_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByM_C_C
public void removeByM_C_C(long mirrorActivityId, long classNameId, long classPK) Removes all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ? from the database.- Specified by:
removeByM_C_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pk
-
countByM_C_C
public int countByM_C_C(long mirrorActivityId, long classNameId, long classPK) Returns the number of social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.- Specified by:
countByM_C_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
mirrorActivityId- the mirror activity IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching social activities
-
findByC_C_T
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C_T(long classNameId, long classPK, int type) Returns all the social activities where classNameId = ? and classPK = ? and type = ?.- Specified by:
findByC_C_Tin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the type- Returns:
- the matching social activities
-
findByC_C_T
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C_T(long classNameId, long classPK, int type, int start, int end) Returns a range of all the social activities where classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_C_Tin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the typestart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByC_C_T
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_C_Tin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the typestart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByC_C_T
public List<com.liferay.social.kernel.model.SocialActivity> findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByC_C_Tin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the typestart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByC_C_T_First
public com.liferay.social.kernel.model.SocialActivity findByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.- Specified by:
findByC_C_T_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByC_C_T_First
public com.liferay.social.kernel.model.SocialActivity fetchByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.- Specified by:
fetchByC_C_T_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByC_C_T_Last
public com.liferay.social.kernel.model.SocialActivity findByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.- Specified by:
findByC_C_T_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByC_C_T_Last
public com.liferay.social.kernel.model.SocialActivity fetchByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.- Specified by:
fetchByC_C_T_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByC_C_T_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByC_C_T_PrevAndNext(long activityId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.- Specified by:
findByC_C_T_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activityclassNameId- the class name IDclassPK- the class pktype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByC_C_T_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByC_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByC_C_T
public void removeByC_C_T(long classNameId, long classPK, int type) Removes all the social activities where classNameId = ? and classPK = ? and type = ? from the database.- Specified by:
removeByC_C_Tin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the type
-
countByC_C_T
public int countByC_C_T(long classNameId, long classPK, int type) Returns the number of social activities where classNameId = ? and classPK = ? and type = ?.- Specified by:
countByC_C_Tin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
classNameId- the class name IDclassPK- the class pktype- the type- Returns:
- the number of matching social activities
-
findByG_U_C_C_T_R
public List<com.liferay.social.kernel.model.SocialActivity> findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId) Returns all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
findByG_U_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user ID- Returns:
- the matching social activities
-
findByG_U_C_C_T_R
public List<com.liferay.social.kernel.model.SocialActivity> findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, int start, int end) Returns a range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByG_U_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of matching social activities
-
findByG_U_C_C_T_R
public List<com.liferay.social.kernel.model.SocialActivity> findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByG_U_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activities
-
findByG_U_C_C_T_R
public List<com.liferay.social.kernel.model.SocialActivity> findByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findByG_U_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDstart- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activities
-
findByG_U_C_C_T_R_First
public com.liferay.social.kernel.model.SocialActivity findByG_U_C_C_T_R_First(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the first social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
findByG_U_C_C_T_R_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByG_U_C_C_T_R_First
public com.liferay.social.kernel.model.SocialActivity fetchByG_U_C_C_T_R_First(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the first social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
fetchByG_U_C_C_T_R_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity, or
nullif a matching social activity could not be found
-
findByG_U_C_C_T_R_Last
public com.liferay.social.kernel.model.SocialActivity findByG_U_C_C_T_R_Last(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the last social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
findByG_U_C_C_T_R_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByG_U_C_C_T_R_Last
public com.liferay.social.kernel.model.SocialActivity fetchByG_U_C_C_T_R_Last(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns the last social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
fetchByG_U_C_C_T_R_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity, or
nullif a matching social activity could not be found
-
findByG_U_C_C_T_R_PrevAndNext
public com.liferay.social.kernel.model.SocialActivity[] findByG_U_C_C_T_R_PrevAndNext(long activityId, long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activities before and after the current social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
findByG_U_C_C_T_R_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the current social activitygroupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
getByG_U_C_C_T_R_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivity getByG_U_C_C_T_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivity socialActivity, long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean previous) -
removeByG_U_C_C_T_R
public void removeByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId) Removes all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? from the database.- Specified by:
removeByG_U_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user ID
-
countByG_U_C_C_T_R
public int countByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId) Returns the number of social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
countByG_U_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user ID- Returns:
- the number of matching social activities
-
findByG_U_CD_C_C_T_R
public com.liferay.social.kernel.model.SocialActivity findByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or throws aNoSuchActivityExceptionif it could not be found.- Specified by:
findByG_U_CD_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDcreateDate- the create dateclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user ID- Returns:
- the matching social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a matching social activity could not be found
-
fetchByG_U_CD_C_C_T_R
public com.liferay.social.kernel.model.SocialActivity fetchByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) Returns the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByG_U_CD_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDcreateDate- the create dateclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user ID- Returns:
- the matching social activity, or
nullif a matching social activity could not be found
-
fetchByG_U_CD_C_C_T_R
public com.liferay.social.kernel.model.SocialActivity fetchByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId, boolean useFinderCache) Returns the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_U_CD_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDcreateDate- the create dateclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user IDuseFinderCache- whether to use the finder cache- Returns:
- the matching social activity, or
nullif a matching social activity could not be found
-
removeByG_U_CD_C_C_T_R
public com.liferay.social.kernel.model.SocialActivity removeByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) throws com.liferay.social.kernel.exception.NoSuchActivityException Removes the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? from the database.- Specified by:
removeByG_U_CD_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDcreateDate- the create dateclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user ID- Returns:
- the social activity that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException
-
countByG_U_CD_C_C_T_R
public int countByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) Returns the number of social activities where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.- Specified by:
countByG_U_CD_C_C_T_Rin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
groupId- the group IDuserId- the user IDcreateDate- the create dateclassNameId- the class name IDclassPK- the class pktype- the typereceiverUserId- the receiver user ID- Returns:
- the number of matching social activities
-
cacheResult
public void cacheResult(com.liferay.social.kernel.model.SocialActivity socialActivity) Caches the social activity in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>- Parameters:
socialActivity- the social activity
-
cacheResult
Caches the social activities in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
socialActivities- the social activities
-
clearCache
public void clearCache()Clears the cache for all social activities.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
clearCache
public void clearCache(com.liferay.social.kernel.model.SocialActivity socialActivity) Clears the cache for the social activity.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
-
cacheUniqueFindersCache
-
create
public com.liferay.social.kernel.model.SocialActivity create(long activityId) Creates a new social activity with the primary key. Does not add the social activity to the database.- Specified by:
createin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key for the new social activity- Returns:
- the new social activity
-
remove
public com.liferay.social.kernel.model.SocialActivity remove(long activityId) throws com.liferay.social.kernel.exception.NoSuchActivityException Removes the social activity with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the social activity- Returns:
- the social activity that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
remove
public com.liferay.social.kernel.model.SocialActivity remove(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityException Removes the social activity with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>- Parameters:
primaryKey- the primary key of the social activity- Returns:
- the social activity that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
removeImpl
protected com.liferay.social.kernel.model.SocialActivity removeImpl(com.liferay.social.kernel.model.SocialActivity socialActivity) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
updateImpl
public com.liferay.social.kernel.model.SocialActivity updateImpl(com.liferay.social.kernel.model.SocialActivity socialActivity) - Specified by:
updateImplin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
findByPrimaryKey
public com.liferay.social.kernel.model.SocialActivity findByPrimaryKey(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activity with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>- Parameters:
primaryKey- the primary key of the social activity- Returns:
- the social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
findByPrimaryKey
public com.liferay.social.kernel.model.SocialActivity findByPrimaryKey(long activityId) throws com.liferay.social.kernel.exception.NoSuchActivityException Returns the social activity with the primary key or throws aNoSuchActivityExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the social activity- Returns:
- the social activity
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityException- if a social activity with the primary key could not be found
-
fetchByPrimaryKey
Returns the social activity with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>- Parameters:
primaryKey- the primary key of the social activity- Returns:
- the social activity, or
nullif a social activity with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.social.kernel.model.SocialActivity fetchByPrimaryKey(long activityId) Returns the social activity with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
activityId- the primary key of the social activity- Returns:
- the social activity, or
nullif a social activity with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.social.kernel.model.SocialActivity> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
findAll
Returns all the social activities.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Returns:
- the social activities
-
findAll
Returns a range of all the social activities.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
start- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)- Returns:
- the range of social activities
-
findAll
public List<com.liferay.social.kernel.model.SocialActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator) Returns an ordered range of all the social activities.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
start- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of social activities
-
findAll
public List<com.liferay.social.kernel.model.SocialActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activities.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Parameters:
start- the lower bound of the range of social activitiesend- the upper bound of the range of social activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of social activities
-
removeAll
public void removeAll()Removes all the social activities from the database.- Specified by:
removeAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
-
countAll
public int countAll()Returns the number of social activities.- Specified by:
countAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence- Returns:
- the number of social activities
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the social activity persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-