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
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, 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 and Description |
---|
SocialActivityPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the social activity persistence.
|
void |
cacheResult(List<com.liferay.social.kernel.model.SocialActivity> socialActivities)
Caches the social activities in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.social.kernel.model.SocialActivity socialActivity)
Caches the social activity in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(SocialActivityModelImpl socialActivityModelImpl) |
void |
clearCache()
Clears the cache for all social activities.
|
void |
clearCache(List<com.liferay.social.kernel.model.SocialActivity> socialActivities) |
void |
clearCache(Set<Serializable> primaryKeys) |
void |
clearCache(com.liferay.social.kernel.model.SocialActivity socialActivity)
Clears the cache for the social activity.
|
protected void |
clearUniqueFindersCache(SocialActivityModelImpl socialActivityModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of social activities.
|
int |
countByActivitySetId(long activitySetId)
Returns the number of social activities where activitySetId = ?.
|
int |
countByC_C_T(long classNameId,
long classPK,
int type)
Returns the number of social activities where classNameId = ? and classPK = ? and type = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of social activities where classNameId = ? and classPK = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of social activities where companyId = ?.
|
int |
countByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
Returns the number of social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.
|
int |
countByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
Returns the number of social activities where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of social activities where groupId = ?.
|
int |
countByM_C_C(long mirrorActivityId,
long classNameId,
long classPK)
Returns the number of social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?.
|
int |
countByMirrorActivityId(long mirrorActivityId)
Returns the number of social activities where mirrorActivityId = ?.
|
int |
countByReceiverUserId(long receiverUserId)
Returns the number of social activities where receiverUserId = ?.
|
int |
countByUserId(long userId)
Returns the number of social activities where userId = ?.
|
com.liferay.social.kernel.model.SocialActivity |
create(long activityId)
Creates a new social activity with the primary key.
|
void |
destroy() |
com.liferay.social.kernel.model.SocialActivity |
fetchByActivitySetId_First(long activitySetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where activitySetId = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByActivitySetId_Last(long activitySetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where activitySetId = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByC_C_T_First(long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByC_C_T_Last(long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
com.liferay.social.kernel.model.SocialActivity |
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 |
fetchByPrimaryKey(Serializable primaryKey)
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> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.social.kernel.model.SocialActivity |
fetchByReceiverUserId_First(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where receiverUserId = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByReceiverUserId_Last(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where receiverUserId = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where userId = ?.
|
com.liferay.social.kernel.model.SocialActivity |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where userId = ?.
|
List<com.liferay.social.kernel.model.SocialActivity> |
findAll()
Returns all the social activities.
|
List<com.liferay.social.kernel.model.SocialActivity> |
findAll(int start,
int end)
Returns a range of all the social activities.
|
List<com.liferay.social.kernel.model.SocialActivity> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
Returns an ordered range of all the social activities.
|
List<com.liferay.social.kernel.model.SocialActivity> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activities.
|
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> |
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 |
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 = ?.
|
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_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 = ?.
|
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 |
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> |
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 |
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 = ?.
|
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_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. |
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> |
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 |
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 = ?.
|
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 |
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 |
findByPrimaryKey(Serializable primaryKey)
Returns the social activity with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
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> |
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 |
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 = ?.
|
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 = ?.
|
Set<String> |
getBadColumnNames() |
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 |
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) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
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 |
removeAll()
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_T(long classNameId,
long classPK,
int type)
Removes all the social activities where classNameId = ? and classPK = ? and type = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the social activities where classNameId = ? and classPK = ? 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) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.social.kernel.model.SocialActivity> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByGroupId(long groupId, int start, int end)
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
.
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByGroupId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByGroupId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByGroupId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByGroupId_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activitygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByCompanyId(long companyId, int start, int end)
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
.
findByCompanyId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByCompanyId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByCompanyId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByCompanyId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByCompanyId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByCompanyId_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activitycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
companyId
- the company IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByUserId(long userId)
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByUserId(long userId, int start, int end)
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
.
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByUserId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByUserId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByUserId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByUserId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByUserId_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activityuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByUserId(long userId)
removeByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDpublic int countByUserId(long userId)
countByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
userId
- the user IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByActivitySetId(long activitySetId)
findByActivitySetId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByActivitySetId(long activitySetId, int start, int end)
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
.
findByActivitySetId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByActivitySetId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByActivitySetId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByActivitySetId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByActivitySetId_First(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByActivitySetId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByActivitySetId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByActivitySetId_Last(long activitySetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByActivitySetId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByActivitySetId_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activityactivitySetId
- the activity set IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByActivitySetId(long activitySetId)
removeByActivitySetId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDpublic int countByActivitySetId(long activitySetId)
countByActivitySetId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activitySetId
- the activity set IDpublic com.liferay.social.kernel.model.SocialActivity findByMirrorActivityId(long mirrorActivityId) throws com.liferay.social.kernel.exception.NoSuchActivityException
NoSuchActivityException
if it could not be found.findByMirrorActivityId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDcom.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByMirrorActivityId(long mirrorActivityId)
null
if it could not be found. Uses the finder cache.fetchByMirrorActivityId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDnull
if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByMirrorActivityId(long mirrorActivityId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fetchByMirrorActivityId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDuseFinderCache
- whether to use the finder cachenull
if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity removeByMirrorActivityId(long mirrorActivityId) throws com.liferay.social.kernel.exception.NoSuchActivityException
removeByMirrorActivityId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDcom.liferay.social.kernel.exception.NoSuchActivityException
public int countByMirrorActivityId(long mirrorActivityId)
countByMirrorActivityId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByReceiverUserId(long receiverUserId)
findByReceiverUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end)
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
.
findByReceiverUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByReceiverUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByReceiverUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByReceiverUserId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByReceiverUserId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByReceiverUserId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivity> orderByComparator)
fetchByReceiverUserId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByReceiverUserId_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activityreceiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByReceiverUserId(long receiverUserId)
removeByReceiverUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDpublic int countByReceiverUserId(long receiverUserId)
countByReceiverUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
receiverUserId
- the receiver user IDpublic List<com.liferay.social.kernel.model.SocialActivity> findByC_C(long classNameId, long classPK)
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.social.kernel.model.SocialActivity> findByC_C(long classNameId, long classPK, int start, int end)
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
.
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByC_C_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByC_C_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByC_C_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByC_C_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByC_C_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activityclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByC_C(long classNameId, long classPK)
removeByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkpublic int countByC_C(long classNameId, long classPK)
countByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.social.kernel.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK)
findByM_C_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.social.kernel.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end)
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
.
findByM_C_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByM_C_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByM_C_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByM_C_C_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByM_C_C_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByM_C_C_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByM_C_C_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByM_C_C_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activitymirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByM_C_C(long mirrorActivityId, long classNameId, long classPK)
removeByM_C_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkpublic int countByM_C_C(long mirrorActivityId, long classNameId, long classPK)
countByM_C_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
mirrorActivityId
- the mirror activity IDclassNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.social.kernel.model.SocialActivity> findByC_C_T(long classNameId, long classPK, int type)
findByC_C_T
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic List<com.liferay.social.kernel.model.SocialActivity> findByC_C_T(long classNameId, long classPK, int type, int start, int end)
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
.
findByC_C_T
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByC_C_T
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByC_C_T
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByC_C_T_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByC_C_T_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByC_C_T_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByC_C_T_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByC_C_T_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activityclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByC_C_T(long classNameId, long classPK, int type)
removeByC_C_T
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic int countByC_C_T(long classNameId, long classPK, int type)
countByC_C_T
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic 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)
findByG_U_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDpublic 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)
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
.
findByG_U_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findByG_U_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findByG_U_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDstart
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByG_U_C_C_T_R_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByG_U_C_C_T_R_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByG_U_C_C_T_R_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
fetchByG_U_C_C_T_R_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity could not be foundpublic 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
findByG_U_C_C_T_R_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the current social activitygroupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected 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)
public void removeByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId)
removeByG_U_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDpublic int countByG_U_C_C_T_R(long groupId, long userId, long classNameId, long classPK, int type, long receiverUserId)
countByG_U_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDpublic 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
NoSuchActivityException
if it could not be found.findByG_U_CD_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDcreateDate
- the create dateclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDcom.liferay.social.kernel.exception.NoSuchActivityException
- if a matching social activity could not be foundpublic 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)
null
if it could not be found. Uses the finder cache.fetchByG_U_CD_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDcreateDate
- the create dateclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDnull
if a matching social activity could not be foundpublic 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)
null
if it could not be found, optionally using the finder cache.fetchByG_U_CD_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDcreateDate
- the create dateclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDuseFinderCache
- whether to use the finder cachenull
if a matching social activity could not be foundpublic 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
removeByG_U_CD_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDcreateDate
- the create dateclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDcom.liferay.social.kernel.exception.NoSuchActivityException
public int countByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId)
countByG_U_CD_C_C_T_R
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
groupId
- the group IDuserId
- the user IDcreateDate
- the create dateclassNameId
- the class name IDclassPK
- the class pktype
- the typereceiverUserId
- the receiver user IDpublic void cacheResult(com.liferay.social.kernel.model.SocialActivity socialActivity)
cacheResult
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
socialActivity
- the social activitypublic void cacheResult(List<com.liferay.social.kernel.model.SocialActivity> socialActivities)
cacheResult
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
socialActivities
- the social activitiespublic void clearCache()
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public void clearCache(com.liferay.social.kernel.model.SocialActivity socialActivity)
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public void clearCache(List<com.liferay.social.kernel.model.SocialActivity> socialActivities)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
protected void cacheUniqueFindersCache(SocialActivityModelImpl socialActivityModelImpl)
protected void clearUniqueFindersCache(SocialActivityModelImpl socialActivityModelImpl, boolean clearCurrent)
public com.liferay.social.kernel.model.SocialActivity create(long activityId)
create
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key for the new social activitypublic com.liferay.social.kernel.model.SocialActivity remove(long activityId) throws com.liferay.social.kernel.exception.NoSuchActivityException
remove
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the social activitycom.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivity remove(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
primaryKey
- the primary key of the social activitycom.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivity removeImpl(com.liferay.social.kernel.model.SocialActivity socialActivity)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public com.liferay.social.kernel.model.SocialActivity updateImpl(com.liferay.social.kernel.model.SocialActivity socialActivity)
updateImpl
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public com.liferay.social.kernel.model.SocialActivity findByPrimaryKey(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
primaryKey
- the primary key of the social activitycom.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivity findByPrimaryKey(long activityId) throws com.liferay.social.kernel.exception.NoSuchActivityException
NoSuchActivityException
if it could not be found.findByPrimaryKey
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the social activitycom.liferay.social.kernel.exception.NoSuchActivityException
- if a social activity with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
primaryKey
- the primary key of the social activitynull
if a social activity with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivity fetchByPrimaryKey(long activityId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
activityId
- the primary key of the social activitynull
if a social activity with the primary key could not be foundpublic Map<Serializable,com.liferay.social.kernel.model.SocialActivity> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public List<com.liferay.social.kernel.model.SocialActivity> findAll()
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
public List<com.liferay.social.kernel.model.SocialActivity> findAll(int start, int end)
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
.
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
start
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)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)
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
.
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
start
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)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)
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
.
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
start
- the lower bound of the range of social activitiesend
- the upper bound of the range of social activities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeAll()
removeAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
public int countAll()
countAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivity>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
getCTColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
public List<String> getMappingTableNames()
getMappingTableNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivity>
public String getTableName()
getTableName
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivity>
public void afterPropertiesSet()
public void destroy()