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 TypeMethodDescriptionvoid
Initializes the social activity persistence.void
cacheResult
(com.liferay.social.kernel.model.SocialActivity socialActivity) Caches the social activity in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.social.kernel.model.SocialActivity> socialActivities) Caches the social activities in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(SocialActivityModelImpl socialActivityModelImpl) void
Clears the cache for all social activities.void
clearCache
(com.liferay.social.kernel.model.SocialActivity socialActivity) Clears the cache for the social activity.void
clearCache
(List<com.liferay.social.kernel.model.SocialActivity> socialActivities) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of social activities.int
countByActivitySetId
(long activitySetId) Returns the number of social activities where activitySetId = ?.int
countByC_C
(long classNameId, long classPK) Returns the number of social activities where classNameId = ? and classPK = ?.int
countByC_C_T
(long classNameId, long classPK, int type) Returns the number of social activities where classNameId = ? and classPK = ? and type = ?.int
countByC_CN
(long companyId, long classNameId) Returns the number of social activities where companyId = ? and classNameId = ?.int
countByCompanyId
(long companyId) Returns the number of social activities where companyId = ?.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 = ?.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 = ?.int
countByGroupId
(long groupId) Returns the number of social activities where groupId = ?.int
countByM_C_C
(long mirrorActivityId, long classNameId, long classPK) Returns the number of social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.int
countByMirrorActivityId
(long mirrorActivityId) Returns the number of social activities where mirrorActivityId = ?.int
countByReceiverUserId
(long receiverUserId) Returns the number of social activities where receiverUserId = ?.int
countByUserId
(long userId) Returns the number of social activities where userId = ?.com.liferay.social.kernel.model.SocialActivity
create
(long activityId) Creates a new social activity with the primary key.void
destroy()
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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.com.liferay.social.kernel.model.SocialActivity
fetchByMirrorActivityId
(long mirrorActivityId) Returns the social activity where mirrorActivityId = ? or returnsnull
if it could not be found.com.liferay.social.kernel.model.SocialActivity
fetchByMirrorActivityId
(long mirrorActivityId, boolean useFinderCache) Returns the social activity where mirrorActivityId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.social.kernel.model.SocialActivity
fetchByPrimaryKey
(long activityId) Returns the social activity with the primary key or returnsnull
if it could not be found.com.liferay.social.kernel.model.SocialActivity
fetchByPrimaryKey
(Serializable primaryKey) Returns the social activity with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.social.kernel.model.SocialActivity> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.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 = ?.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.SocialActivity
findByActivitySetId_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.SocialActivity
findByActivitySetId_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.SocialActivity
findByC_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.SocialActivity
findByC_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.SocialActivity
findByC_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.SocialActivity
findByC_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.SocialActivity
findByC_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.SocialActivity
findByC_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.SocialActivity
findByCompanyId_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.SocialActivity
findByCompanyId_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.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) 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.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) 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.SocialActivity
findByG_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 aNoSuchActivityException
if 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.SocialActivity
findByGroupId_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.SocialActivity
findByGroupId_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.SocialActivity
findByM_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.SocialActivity
findByM_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.SocialActivity
findByMirrorActivityId
(long mirrorActivityId) Returns the social activity where mirrorActivityId = ? or throws aNoSuchActivityException
if it could not be found.com.liferay.social.kernel.model.SocialActivity
findByPrimaryKey
(long activityId) Returns the social activity with the primary key or throws aNoSuchActivityException
if it could not be found.com.liferay.social.kernel.model.SocialActivity
findByPrimaryKey
(Serializable primaryKey) Returns the social activity with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if 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.SocialActivity
findByReceiverUserId_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.SocialActivity
findByReceiverUserId_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.SocialActivity
findByUserId_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.SocialActivity
findByUserId_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.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) 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) 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) 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) 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) 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) 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) 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) 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) 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) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.social.kernel.model.SocialActivity
remove
(long activityId) Removes the social activity with the primary key from the database.com.liferay.social.kernel.model.SocialActivity
remove
(Serializable primaryKey) Removes the social activity with the primary key from the database.void
Removes all the social activities from the database.void
removeByActivitySetId
(long activitySetId) Removes all the social activities where activitySetId = ? from the database.void
removeByC_C
(long classNameId, long classPK) Removes all the social activities where classNameId = ? and classPK = ? from the database.void
removeByC_C_T
(long classNameId, long classPK, int type) Removes all the social activities where classNameId = ? and classPK = ? and type = ? from the database.void
removeByC_CN
(long companyId, long classNameId) Removes all the social activities where companyId = ? and classNameId = ? from the database.void
removeByCompanyId
(long companyId) Removes all the social activities where companyId = ? from the database.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.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) Removes the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? from the database.void
removeByGroupId
(long groupId) Removes all the social activities where groupId = ? from the database.void
removeByM_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.SocialActivity
removeByMirrorActivityId
(long mirrorActivityId) Removes the social activity where mirrorActivityId = ? from the database.void
removeByReceiverUserId
(long receiverUserId) Removes all the social activities where receiverUserId = ? from the database.void
removeByUserId
(long userId) Removes all the social activities where userId = ? from the database.protected com.liferay.social.kernel.model.SocialActivity
removeImpl
(com.liferay.social.kernel.model.SocialActivity socialActivity) com.liferay.social.kernel.model.SocialActivity
updateImpl
(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, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByGroupId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByGroupId
in 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:
countByGroupId
in 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:
findByCompanyId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByCompanyId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByCompanyId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByCompanyId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByCompanyId
in 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:
countByCompanyId
in 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:
findByUserId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByUserId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByUserId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByUserId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByUserId
in 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:
countByUserId
in 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:
findByActivitySetId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByActivitySetId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByActivitySetId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByActivitySetId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByActivitySetId
in 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:
countByActivitySetId
in 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 aNoSuchActivityException
if it could not be found.- Specified by:
findByMirrorActivityId
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByMirrorActivityId
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
- Parameters:
mirrorActivityId
- the mirror activity ID- Returns:
- the matching social activity, or
null
if 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByMirrorActivityId
in 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
null
if 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:
removeByMirrorActivityId
in 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:
countByMirrorActivityId
in 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:
findByReceiverUserId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByReceiverUserId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByReceiverUserId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByReceiverUserId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByReceiverUserId
in 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:
countByReceiverUserId
in 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_CN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_CN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_CN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_CN
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_CN
in 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_CN
in 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_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_C
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_C
in 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_C
in 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_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByM_C_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByM_C_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByM_C_C
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_C
in 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_C
in 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_T
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_C_T
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_C_T
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByC_C_T
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_T
in 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_T
in 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_R
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByG_U_C_C_T_R
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByG_U_C_C_T_R
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findByG_U_C_C_T_R
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_R
in 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_R
in 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 aNoSuchActivityException
if it could not be found.- Specified by:
findByG_U_CD_C_C_T_R
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_U_CD_C_C_T_R
in 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
null
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, boolean useFinderCache) Returns the social activity where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_U_CD_C_C_T_R
in 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
null
if 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_R
in 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_R
in 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:
cacheResult
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
- Overrides:
cacheResult
in 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:
cacheResult
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
- Parameters:
socialActivities
- the social activities
-
clearCache
public void clearCache()Clears the cache for all social activities.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
clearCache
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
clearCache
- Specified by:
clearCache
in 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:
create
in 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:
remove
in 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:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
remove
in 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:
removeImpl
in 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:
updateImpl
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
- Overrides:
updateImpl
in 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.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
findByPrimaryKey
in 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 aNoSuchActivityException
if it could not be found.- Specified by:
findByPrimaryKey
in 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
fetchByPrimaryKey
in 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
null
if 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
- Parameters:
activityId
- the primary key of the social activity- Returns:
- the social activity, or
null
if 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:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
findAll
Returns all the social activities.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivityModelImpl
.- Specified by:
findAll
in 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:
removeAll
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
-
countAll
public int countAll()Returns the number of social activities.- Specified by:
countAll
in interfacecom.liferay.social.kernel.service.persistence.SocialActivityPersistence
- Returns:
- the number of social activities
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
getBadColumnNames
in 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:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getSelectSQL
- Overrides:
getSelectSQL
in 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:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in 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:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
-