Class SocialActivityPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
com.liferay.portlet.social.service.persistence.impl.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

public class SocialActivityPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity> implements com.liferay.social.kernel.service.persistence.SocialActivityPersistence
The persistence implementation for the social activity service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
     
    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
    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
     
    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 returns null 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 returns null 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 returns null if it could not be found.
    com.liferay.social.kernel.model.SocialActivity
    fetchByMirrorActivityId(long mirrorActivityId, boolean useFinderCache)
    Returns the social activity where mirrorActivityId = ? or returns null 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 returns null if it could not be found.
    com.liferay.social.kernel.model.SocialActivity
    Returns the social activity with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.social.kernel.model.SocialActivity>
     
    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>
    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 a NoSuchActivityException 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 a NoSuchActivityException 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 a NoSuchActivityException if it could not be found.
    com.liferay.social.kernel.model.SocialActivity
    Returns the social activity with the primary key or throws a com.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

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
  • Constructor Details

    • SocialActivityPersistenceImpl

      public SocialActivityPersistenceImpl()
  • Method Details

    • findByGroupId

      public List<com.liferay.social.kernel.model.SocialActivity> findByGroupId(long groupId)
      Returns all the social activities where groupId = ?.
      Specified by:
      findByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching social activities
    • findByCompanyId

      public List<com.liferay.social.kernel.model.SocialActivity> findByCompanyId(long companyId)
      Returns all the social activities where companyId = ?.
      Specified by:
      findByCompanyId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching social activities
    • findByUserId

      public List<com.liferay.social.kernel.model.SocialActivity> findByUserId(long userId)
      Returns all the social activities where userId = ?.
      Specified by:
      findByUserId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByUserId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByUserId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByUserId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      userId - the user ID
      Returns:
      the number of matching social activities
    • findByActivitySetId

      public List<com.liferay.social.kernel.model.SocialActivity> findByActivitySetId(long activitySetId)
      Returns all the social activities where activitySetId = ?.
      Specified by:
      findByActivitySetId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByActivitySetId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activitySetId - the activity set ID
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByActivitySetId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activitySetId - the activity set ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByActivitySetId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activitySetId - the activity set ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activitySetId - the activity set ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activitySetId - the activity set ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activitySetId - the activity set ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activitySetId - the activity set ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      activitySetId - the activity set ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.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 a NoSuchActivityException if it could not be found.
      Specified by:
      findByMirrorActivityId in interface com.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 returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByMirrorActivityId in interface com.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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByMirrorActivityId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      useFinderCache - 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 interface com.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 interface com.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 interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByReceiverUserId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      receiverUserId - the receiver user ID
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByReceiverUserId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      receiverUserId - the receiver user ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByReceiverUserId in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      receiverUserId - the receiver user ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_CN in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_CN in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_CN in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      companyId - the company ID
      classNameId - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_C in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_C in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_C in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByM_C_C in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByM_C_C in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByM_C_C in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      mirrorActivityId - the mirror activity ID
      classNameId - the class name ID
      classPK - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_C_T in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_C_T in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByC_C_T in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByG_U_C_C_T_R in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByG_U_C_C_T_R in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findByG_U_C_C_T_R in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      activityId - the primary key of the current social activity
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - 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 a NoSuchActivityException if it could not be found.
      Specified by:
      findByG_U_CD_C_C_T_R in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      createDate - the create date
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - 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 returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByG_U_CD_C_C_T_R in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      createDate - the create date
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByG_U_CD_C_C_T_R in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      createDate - the create date
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - the receiver user ID
      useFinderCache - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      createDate - the create date
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      createDate - the create date
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      receiverUserId - 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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
      Parameters:
      socialActivity - the social activity
    • cacheResult

      public void cacheResult(List<com.liferay.social.kernel.model.SocialActivity> socialActivities)
      Caches the social activities in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      socialActivities - the social activities
    • clearCache

      public void clearCache()
      Clears the cache for all social activities.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      clearCache in class com.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 and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
    • clearCache

      public void clearCache(List<com.liferay.social.kernel.model.SocialActivity> socialActivities)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(SocialActivityModelImpl socialActivityModelImpl)
    • 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 interface com.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 interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      remove in class com.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 class com.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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Overrides:
      updateImpl in class com.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 a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      findByPrimaryKey in class com.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 a NoSuchActivityException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.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

      public com.liferay.social.kernel.model.SocialActivity fetchByPrimaryKey(Serializable primaryKey)
      Returns the social activity with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      fetchByPrimaryKey in class com.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 returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
    • findAll

      public List<com.liferay.social.kernel.model.SocialActivity> findAll()
      Returns all the social activities.
      Specified by:
      findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Returns:
      the social activities
    • findAll

      public List<com.liferay.social.kernel.model.SocialActivity> findAll(int start, int end)
      Returns a range of all the social activities.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      start - the lower bound of the range of social activities
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityModelImpl.

      Specified by:
      findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Parameters:
      start - the lower bound of the range of social activities
      end - the upper bound of the range of social activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
    • countAll

      public int countAll()
      Returns the number of social activities.
      Specified by:
      countAll in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
      Returns:
      the number of social activities
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      getBadColumnNames in class com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.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 interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>