|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface SocialActivityPersistence
The persistence interface for the social activity service.
Caching information and settings can be found in portal.properties
com.liferay.portlet.social.service.persistence.impl.SocialActivityPersistenceImpl,
SocialActivityUtil| Method Summary | |
|---|---|
void |
cacheResult(List<SocialActivity> socialActivities)
Caches the social activities in the entity cache if it is enabled. |
void |
cacheResult(SocialActivity socialActivity)
Caches the social activity in the entity cache if it is enabled. |
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 |
countByClassNameId(long classNameId)
Returns the number of social activities where classNameId = ?. |
int |
countByCompanyId(long companyId)
Returns the number of social activities where companyId = ?. |
int |
countByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
Returns the number of social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
int |
countByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
Returns the number of social activities where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
int |
countByGroupId(long groupId)
Returns the number of social activities where groupId = ?. |
int |
countByM_C_C(long mirrorActivityId,
long classNameId,
long classPK)
Returns the number of social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
int |
countByMirrorActivityId(long mirrorActivityId)
Returns the number of social activities where mirrorActivityId = ?. |
int |
countByReceiverUserId(long receiverUserId)
Returns the number of social activities where receiverUserId = ?. |
int |
countByUserId(long userId)
Returns the number of social activities where userId = ?. |
SocialActivity |
create(long activityId)
Creates a new social activity with the primary key. |
SocialActivity |
fetchByActivitySetId_First(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where activitySetId = ?. |
SocialActivity |
fetchByActivitySetId_Last(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where activitySetId = ?. |
SocialActivity |
fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ? and classPK = ?. |
SocialActivity |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ? and classPK = ?. |
SocialActivity |
fetchByC_C_T_First(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ? and classPK = ? and type = ?. |
SocialActivity |
fetchByC_C_T_Last(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ? and classPK = ? and type = ?. |
SocialActivity |
fetchByClassNameId_First(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ?. |
SocialActivity |
fetchByClassNameId_Last(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ?. |
SocialActivity |
fetchByCompanyId_First(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where companyId = ?. |
SocialActivity |
fetchByCompanyId_Last(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where companyId = ?. |
SocialActivity |
fetchByG_U_C_C_T_R_First(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
SocialActivity |
fetchByG_U_C_C_T_R_Last(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
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. |
SocialActivity |
fetchByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId,
boolean retrieveFromCache)
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. |
SocialActivity |
fetchByGroupId_First(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where groupId = ?. |
SocialActivity |
fetchByGroupId_Last(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where groupId = ?. |
SocialActivity |
fetchByM_C_C_First(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
SocialActivity |
fetchByM_C_C_Last(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
SocialActivity |
fetchByMirrorActivityId(long mirrorActivityId)
Returns the social activity where mirrorActivityId = ? or returns null if it could not be found. |
SocialActivity |
fetchByMirrorActivityId(long mirrorActivityId,
boolean retrieveFromCache)
Returns the social activity where mirrorActivityId = ? or returns null if it could not be found, optionally using the finder cache. |
SocialActivity |
fetchByPrimaryKey(long activityId)
Returns the social activity with the primary key or returns null if it could not be found. |
Map<Serializable,SocialActivity> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
SocialActivity |
fetchByReceiverUserId_First(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where receiverUserId = ?. |
SocialActivity |
fetchByReceiverUserId_Last(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where receiverUserId = ?. |
SocialActivity |
fetchByUserId_First(long userId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where userId = ?. |
SocialActivity |
fetchByUserId_Last(long userId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where userId = ?. |
List<SocialActivity> |
findAll()
Returns all the social activities. |
List<SocialActivity> |
findAll(int start,
int end)
Returns a range of all the social activities. |
List<SocialActivity> |
findAll(int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities. |
List<SocialActivity> |
findAll(int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities. |
SocialActivity |
findByActivitySetId_First(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where activitySetId = ?. |
SocialActivity |
findByActivitySetId_Last(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where activitySetId = ?. |
SocialActivity[] |
findByActivitySetId_PrevAndNext(long activityId,
long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where activitySetId = ?. |
List<SocialActivity> |
findByActivitySetId(long activitySetId)
Returns all the social activities where activitySetId = ?. |
List<SocialActivity> |
findByActivitySetId(long activitySetId,
int start,
int end)
Returns a range of all the social activities where activitySetId = ?. |
List<SocialActivity> |
findByActivitySetId(long activitySetId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where activitySetId = ?. |
List<SocialActivity> |
findByActivitySetId(long activitySetId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where activitySetId = ?. |
SocialActivity |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ? and classPK = ?. |
SocialActivity |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ? and classPK = ?. |
SocialActivity[] |
findByC_C_PrevAndNext(long activityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where classNameId = ? and classPK = ?. |
SocialActivity |
findByC_C_T_First(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ? and classPK = ? and type = ?. |
SocialActivity |
findByC_C_T_Last(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ? and classPK = ? and type = ?. |
SocialActivity[] |
findByC_C_T_PrevAndNext(long activityId,
long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where classNameId = ? and classPK = ? and type = ?. |
List<SocialActivity> |
findByC_C_T(long classNameId,
long classPK,
int type)
Returns all the social activities where classNameId = ? and classPK = ? and type = ?. |
List<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<SocialActivity> |
findByC_C_T(long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where classNameId = ? and classPK = ? and type = ?. |
List<SocialActivity> |
findByC_C_T(long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where classNameId = ? and classPK = ? and type = ?. |
List<SocialActivity> |
findByC_C(long classNameId,
long classPK)
Returns all the social activities where classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the social activities where classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where classNameId = ? and classPK = ?. |
SocialActivity |
findByClassNameId_First(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where classNameId = ?. |
SocialActivity |
findByClassNameId_Last(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where classNameId = ?. |
SocialActivity[] |
findByClassNameId_PrevAndNext(long activityId,
long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where classNameId = ?. |
List<SocialActivity> |
findByClassNameId(long classNameId)
Returns all the social activities where classNameId = ?. |
List<SocialActivity> |
findByClassNameId(long classNameId,
int start,
int end)
Returns a range of all the social activities where classNameId = ?. |
List<SocialActivity> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where classNameId = ?. |
List<SocialActivity> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where classNameId = ?. |
SocialActivity |
findByCompanyId_First(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where companyId = ?. |
SocialActivity |
findByCompanyId_Last(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where companyId = ?. |
SocialActivity[] |
findByCompanyId_PrevAndNext(long activityId,
long companyId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where companyId = ?. |
List<SocialActivity> |
findByCompanyId(long companyId)
Returns all the social activities where companyId = ?. |
List<SocialActivity> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the social activities where companyId = ?. |
List<SocialActivity> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where companyId = ?. |
List<SocialActivity> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where companyId = ?. |
SocialActivity |
findByG_U_C_C_T_R_First(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
SocialActivity |
findByG_U_C_C_T_R_Last(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
SocialActivity[] |
findByG_U_C_C_T_R_PrevAndNext(long activityId,
long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<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<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<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<SocialActivity> |
findByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
List<SocialActivity> |
findByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
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. |
SocialActivity |
findByGroupId_First(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where groupId = ?. |
SocialActivity |
findByGroupId_Last(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where groupId = ?. |
SocialActivity[] |
findByGroupId_PrevAndNext(long activityId,
long groupId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where groupId = ?. |
List<SocialActivity> |
findByGroupId(long groupId)
Returns all the social activities where groupId = ?. |
List<SocialActivity> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activities where groupId = ?. |
List<SocialActivity> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where groupId = ?. |
List<SocialActivity> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where groupId = ?. |
SocialActivity |
findByM_C_C_First(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
SocialActivity |
findByM_C_C_Last(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
SocialActivity[] |
findByM_C_C_PrevAndNext(long activityId,
long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByM_C_C(long mirrorActivityId,
long classNameId,
long classPK)
Returns all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
List<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<SocialActivity> |
findByM_C_C(long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByM_C_C(long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
SocialActivity |
findByMirrorActivityId(long mirrorActivityId)
Returns the social activity where mirrorActivityId = ? or throws a NoSuchActivityException if it could not be found. |
SocialActivity |
findByPrimaryKey(long activityId)
Returns the social activity with the primary key or throws a NoSuchActivityException if it could not be found. |
SocialActivity |
findByReceiverUserId_First(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where receiverUserId = ?. |
SocialActivity |
findByReceiverUserId_Last(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where receiverUserId = ?. |
SocialActivity[] |
findByReceiverUserId_PrevAndNext(long activityId,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where receiverUserId = ?. |
List<SocialActivity> |
findByReceiverUserId(long receiverUserId)
Returns all the social activities where receiverUserId = ?. |
List<SocialActivity> |
findByReceiverUserId(long receiverUserId,
int start,
int end)
Returns a range of all the social activities where receiverUserId = ?. |
List<SocialActivity> |
findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where receiverUserId = ?. |
List<SocialActivity> |
findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where receiverUserId = ?. |
SocialActivity |
findByUserId_First(long userId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the first social activity in the ordered set where userId = ?. |
SocialActivity |
findByUserId_Last(long userId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the last social activity in the ordered set where userId = ?. |
SocialActivity[] |
findByUserId_PrevAndNext(long activityId,
long userId,
OrderByComparator<SocialActivity> orderByComparator)
Returns the social activities before and after the current social activity in the ordered set where userId = ?. |
List<SocialActivity> |
findByUserId(long userId)
Returns all the social activities where userId = ?. |
List<SocialActivity> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the social activities where userId = ?. |
List<SocialActivity> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator)
Returns an ordered range of all the social activities where userId = ?. |
List<SocialActivity> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activities where userId = ?. |
Set<String> |
getBadColumnNames()
|
SocialActivity |
remove(long activityId)
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 |
removeByClassNameId(long classNameId)
Removes all the social activities where classNameId = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the social activities where companyId = ? from the database. |
void |
removeByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
Removes all the social activities where groupId = ? and userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? from the database. |
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. |
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. |
SocialActivity |
updateImpl(SocialActivity socialActivity)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<SocialActivity> findByGroupId(long groupId)
groupId - the group ID
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByGroupId_First(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByGroupId_First(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByGroupId_Last(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByGroupId_Last(long groupId,
OrderByComparator<SocialActivity> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByGroupId_PrevAndNext(long activityId,
long groupId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activitygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group ID
List<SocialActivity> findByCompanyId(long companyId)
companyId - the company ID
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByCompanyId_First(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByCompanyId_First(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByCompanyId_Last(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByCompanyId_Last(long companyId,
OrderByComparator<SocialActivity> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByCompanyId_PrevAndNext(long activityId,
long companyId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activitycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId - the company IDint countByCompanyId(long companyId)
companyId - the company ID
List<SocialActivity> findByUserId(long userId)
userId - the user ID
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findByUserId(long userId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findByUserId(long userId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByUserId_First(long userId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByUserId_First(long userId,
OrderByComparator<SocialActivity> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByUserId_Last(long userId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByUserId_Last(long userId,
OrderByComparator<SocialActivity> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByUserId_PrevAndNext(long activityId,
long userId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activityuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user ID
List<SocialActivity> findByActivitySetId(long activitySetId)
activitySetId - the activity set ID
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findByActivitySetId(long activitySetId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findByActivitySetId(long activitySetId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByActivitySetId_First(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activitySetId - the activity set IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByActivitySetId_First(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
activitySetId - the activity set IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByActivitySetId_Last(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activitySetId - the activity set IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByActivitySetId_Last(long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
activitySetId - the activity set IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByActivitySetId_PrevAndNext(long activityId,
long activitySetId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activityactivitySetId - the activity set IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be foundvoid removeByActivitySetId(long activitySetId)
activitySetId - the activity set IDint countByActivitySetId(long activitySetId)
activitySetId - the activity set ID
SocialActivity findByMirrorActivityId(long mirrorActivityId)
throws NoSuchActivityException
NoSuchActivityException if it could not be found.
mirrorActivityId - the mirror activity ID
NoSuchActivityException - if a matching social activity could not be foundSocialActivity fetchByMirrorActivityId(long mirrorActivityId)
null if it could not be found. Uses the finder cache.
mirrorActivityId - the mirror activity ID
null if a matching social activity could not be found
SocialActivity fetchByMirrorActivityId(long mirrorActivityId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
mirrorActivityId - the mirror activity IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching social activity could not be found
SocialActivity removeByMirrorActivityId(long mirrorActivityId)
throws NoSuchActivityException
mirrorActivityId - the mirror activity ID
NoSuchActivityExceptionint countByMirrorActivityId(long mirrorActivityId)
mirrorActivityId - the mirror activity ID
List<SocialActivity> findByClassNameId(long classNameId)
classNameId - the class name ID
List<SocialActivity> findByClassNameId(long classNameId,
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<SocialActivity> findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByClassNameId_First(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByClassNameId_First(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByClassNameId_Last(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByClassNameId_Last(long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByClassNameId_PrevAndNext(long activityId,
long classNameId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activityclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be foundvoid removeByClassNameId(long classNameId)
classNameId - the class name IDint countByClassNameId(long classNameId)
classNameId - the class name ID
List<SocialActivity> findByReceiverUserId(long receiverUserId)
receiverUserId - the receiver user ID
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByReceiverUserId_First(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
receiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByReceiverUserId_First(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
receiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByReceiverUserId_Last(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
receiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByReceiverUserId_Last(long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
receiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByReceiverUserId_PrevAndNext(long activityId,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activityreceiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be foundvoid removeByReceiverUserId(long receiverUserId)
receiverUserId - the receiver user IDint countByReceiverUserId(long receiverUserId)
receiverUserId - the receiver user ID
List<SocialActivity> findByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - 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)
List<SocialActivity> findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - 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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByC_C_PrevAndNext(long activityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activityclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be found
void removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
int countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
List<SocialActivity> findByM_C_C(long mirrorActivityId,
long classNameId,
long classPK)
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p k
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findByM_C_C(long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p kstart - 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)
List<SocialActivity> findByM_C_C(long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p kstart - 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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByM_C_C_First(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByM_C_C_First(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByM_C_C_Last(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByM_C_C_Last(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByM_C_C_PrevAndNext(long activityId,
long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activitymirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be found
void removeByM_C_C(long mirrorActivityId,
long classNameId,
long classPK)
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p k
int countByM_C_C(long mirrorActivityId,
long classNameId,
long classPK)
mirrorActivityId - the mirror activity IDclassNameId - the class name IDclassPK - the class p k
List<SocialActivity> findByC_C_T(long classNameId,
long classPK,
int type)
classNameId - the class name IDclassPK - the class p ktype - the type
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p ktype - the typestart - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findByC_C_T(long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p ktype - 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)
List<SocialActivity> findByC_C_T(long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p ktype - 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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByC_C_T_First(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByC_C_T_First(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByC_C_T_Last(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByC_C_T_Last(long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByC_C_T_PrevAndNext(long activityId,
long classNameId,
long classPK,
int type,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activityclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be found
void removeByC_C_T(long classNameId,
long classPK,
int type)
classNameId - the class name IDclassPK - the class p ktype - the type
int countByC_C_T(long classNameId,
long classPK,
int type)
classNameId - the class name IDclassPK - the class p ktype - the type
List<SocialActivity> findByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user ID
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - 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)
List<SocialActivity> findByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - 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)
List<SocialActivity> findByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - 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)retrieveFromCache - whether to retrieve from the finder cache
SocialActivity findByG_U_C_C_T_R_First(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByG_U_C_C_T_R_First(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity findByG_U_C_C_T_R_Last(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a matching social activity could not be found
SocialActivity fetchByG_U_C_C_T_R_Last(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity could not be found
SocialActivity[] findByG_U_C_C_T_R_PrevAndNext(long activityId,
long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
OrderByComparator<SocialActivity> orderByComparator)
throws NoSuchActivityException
activityId - the primary key of the current social activitygroupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityException - if a social activity with the primary key could not be found
void removeByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user ID
int countByG_U_C_C_T_R(long groupId,
long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user ID
SocialActivity findByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
throws NoSuchActivityException
NoSuchActivityException if it could not be found.
groupId - the group IDuserId - the user IDcreateDate - the create dateclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user ID
NoSuchActivityException - if a matching social activity could not be found
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.
groupId - the group IDuserId - the user IDcreateDate - the create dateclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user ID
null if a matching social activity could not be found
SocialActivity fetchByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
groupId - the group IDuserId - the user IDcreateDate - the create dateclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching social activity could not be found
SocialActivity removeByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
throws NoSuchActivityException
groupId - the group IDuserId - the user IDcreateDate - the create dateclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user ID
NoSuchActivityException
int countByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
groupId - the group IDuserId - the user IDcreateDate - the create dateclassNameId - the class name IDclassPK - the class p ktype - the typereceiverUserId - the receiver user ID
void cacheResult(SocialActivity socialActivity)
socialActivity - the social activityvoid cacheResult(List<SocialActivity> socialActivities)
socialActivities - the social activitiesSocialActivity create(long activityId)
activityId - the primary key for the new social activity
SocialActivity remove(long activityId)
throws NoSuchActivityException
activityId - the primary key of the social activity
NoSuchActivityException - if a social activity with the primary key could not be foundSocialActivity updateImpl(SocialActivity socialActivity)
SocialActivity findByPrimaryKey(long activityId)
throws NoSuchActivityException
NoSuchActivityException if it could not be found.
activityId - the primary key of the social activity
NoSuchActivityException - if a social activity with the primary key could not be foundSocialActivity fetchByPrimaryKey(long activityId)
null if it could not be found.
activityId - the primary key of the social activity
null if a social activity with the primary key could not be foundMap<Serializable,SocialActivity> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<SocialActivity>List<SocialActivity> findAll()
List<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of social activitiesend - the upper bound of the range of social activities (not inclusive)
List<SocialActivity> findAll(int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
List<SocialActivity> findAll(int start,
int end,
OrderByComparator<SocialActivity> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cache
void removeAll()
int countAll()
Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<SocialActivity>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||