|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialActivity> com.liferay.portlet.social.service.persistence.SocialActivityPersistenceImpl
public class SocialActivityPersistenceImpl
The persistence implementation for the social activity service.
Never modify or reference this class directly. Always use SocialActivityUtil
to access the social activity persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
SocialActivityPersistence
,
SocialActivityUtil
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
Constructor Summary | |
---|---|
SocialActivityPersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the social activity persistence. |
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. |
void |
clearCache()
Clears the cache for all social activities. |
void |
clearCache(SocialActivity socialActivity)
Clears the cache for the social activity. |
int |
countAll()
Counts all the social activities. |
int |
countByC_C(long classNameId,
long classPK)
Counts all the social activities where classNameId = ? and classPK = ?. |
int |
countByClassNameId(long classNameId)
Counts all the social activities where classNameId = ?. |
int |
countByCompanyId(long companyId)
Counts all the social activities where companyId = ?. |
int |
countByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
Counts all the social activities where groupId = ? and userId = ? and createDate = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
int |
countByGroupId(long groupId)
Counts all the social activities where groupId = ?. |
int |
countByM_C_C(long mirrorActivityId,
long classNameId,
long classPK)
Counts all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
int |
countByMirrorActivityId(long mirrorActivityId)
Counts all the social activities where mirrorActivityId = ?. |
int |
countByReceiverUserId(long receiverUserId)
Counts all the social activities where receiverUserId = ?. |
int |
countByUserId(long userId)
Counts all the social activities where userId = ?. |
SocialActivity |
create(long activityId)
Creates a new social activity with the primary key. |
SocialActivity |
fetchByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
Finds 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)
Finds 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 |
fetchByMirrorActivityId(long mirrorActivityId)
Finds the social activity where mirrorActivityId = ? or returns null if it could not be found. |
SocialActivity |
fetchByMirrorActivityId(long mirrorActivityId,
boolean retrieveFromCache)
Finds the social activity where mirrorActivityId = ? or returns null if it could not be found, optionally using the finder cache. |
SocialActivity |
fetchByPrimaryKey(long activityId)
Finds the social activity with the primary key or returns null if it could not be found. |
SocialActivity |
fetchByPrimaryKey(Serializable primaryKey)
Finds the social activity with the primary key or returns null if it could not be found. |
List<SocialActivity> |
findAll()
Finds all the social activities. |
List<SocialActivity> |
findAll(int start,
int end)
Finds a range of all the social activities. |
List<SocialActivity> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social activities. |
SocialActivity |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the first social activity in the ordered set where classNameId = ? and classPK = ?. |
SocialActivity |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the last social activity in the ordered set where classNameId = ? and classPK = ?. |
SocialActivity[] |
findByC_C_PrevAndNext(long activityId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the social activities before and after the current social activity in the ordered set where classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByC_C(long classNameId,
long classPK)
Finds all the social activities where classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Finds a range of all the social activities where classNameId = ? and classPK = ?. |
List<SocialActivity> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social activities where classNameId = ? and classPK = ?. |
SocialActivity |
findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Finds the first social activity in the ordered set where classNameId = ?. |
SocialActivity |
findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Finds the last social activity in the ordered set where classNameId = ?. |
SocialActivity[] |
findByClassNameId_PrevAndNext(long activityId,
long classNameId,
OrderByComparator orderByComparator)
Finds the social activities before and after the current social activity in the ordered set where classNameId = ?. |
List<SocialActivity> |
findByClassNameId(long classNameId)
Finds all the social activities where classNameId = ?. |
List<SocialActivity> |
findByClassNameId(long classNameId,
int start,
int end)
Finds a range of all the social activities where classNameId = ?. |
List<SocialActivity> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social activities where classNameId = ?. |
SocialActivity |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first social activity in the ordered set where companyId = ?. |
SocialActivity |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last social activity in the ordered set where companyId = ?. |
SocialActivity[] |
findByCompanyId_PrevAndNext(long activityId,
long companyId,
OrderByComparator orderByComparator)
Finds the social activities before and after the current social activity in the ordered set where companyId = ?. |
List<SocialActivity> |
findByCompanyId(long companyId)
Finds all the social activities where companyId = ?. |
List<SocialActivity> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the social activities where companyId = ?. |
List<SocialActivity> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social activities where companyId = ?. |
SocialActivity |
findByG_U_CD_C_C_T_R(long groupId,
long userId,
long createDate,
long classNameId,
long classPK,
int type,
long receiverUserId)
Finds 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 orderByComparator)
Finds the first social activity in the ordered set where groupId = ?. |
SocialActivity |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last social activity in the ordered set where groupId = ?. |
SocialActivity[] |
findByGroupId_PrevAndNext(long activityId,
long groupId,
OrderByComparator orderByComparator)
Finds the social activities before and after the current social activity in the ordered set where groupId = ?. |
List<SocialActivity> |
findByGroupId(long groupId)
Finds all the social activities where groupId = ?. |
List<SocialActivity> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the social activities where groupId = ?. |
List<SocialActivity> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social activities where groupId = ?. |
SocialActivity |
findByM_C_C_First(long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds 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 orderByComparator)
Finds 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 orderByComparator)
Finds 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)
Finds 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)
Finds 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 orderByComparator)
Finds an ordered range of all the social activities where mirrorActivityId = ? and classNameId = ? and classPK = ?. |
SocialActivity |
findByMirrorActivityId(long mirrorActivityId)
Finds the social activity where mirrorActivityId = ? or throws a NoSuchActivityException if it could not be found. |
SocialActivity |
findByPrimaryKey(long activityId)
Finds the social activity with the primary key or throws a NoSuchActivityException if it could not be found. |
SocialActivity |
findByPrimaryKey(Serializable primaryKey)
Finds the social activity with the primary key or throws a NoSuchModelException if it could not be found. |
SocialActivity |
findByReceiverUserId_First(long receiverUserId,
OrderByComparator orderByComparator)
Finds the first social activity in the ordered set where receiverUserId = ?. |
SocialActivity |
findByReceiverUserId_Last(long receiverUserId,
OrderByComparator orderByComparator)
Finds the last social activity in the ordered set where receiverUserId = ?. |
SocialActivity[] |
findByReceiverUserId_PrevAndNext(long activityId,
long receiverUserId,
OrderByComparator orderByComparator)
Finds the social activities before and after the current social activity in the ordered set where receiverUserId = ?. |
List<SocialActivity> |
findByReceiverUserId(long receiverUserId)
Finds all the social activities where receiverUserId = ?. |
List<SocialActivity> |
findByReceiverUserId(long receiverUserId,
int start,
int end)
Finds a range of all the social activities where receiverUserId = ?. |
List<SocialActivity> |
findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social activities where receiverUserId = ?. |
SocialActivity |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first social activity in the ordered set where userId = ?. |
SocialActivity |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last social activity in the ordered set where userId = ?. |
SocialActivity[] |
findByUserId_PrevAndNext(long activityId,
long userId,
OrderByComparator orderByComparator)
Finds the social activities before and after the current social activity in the ordered set where userId = ?. |
List<SocialActivity> |
findByUserId(long userId)
Finds all the social activities where userId = ?. |
List<SocialActivity> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the social activities where userId = ?. |
List<SocialActivity> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social activities where userId = ?. |
protected SocialActivity |
getByC_C_PrevAndNext(Session session,
SocialActivity socialActivity,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialActivity |
getByClassNameId_PrevAndNext(Session session,
SocialActivity socialActivity,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialActivity |
getByCompanyId_PrevAndNext(Session session,
SocialActivity socialActivity,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialActivity |
getByGroupId_PrevAndNext(Session session,
SocialActivity socialActivity,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialActivity |
getByM_C_C_PrevAndNext(Session session,
SocialActivity socialActivity,
long mirrorActivityId,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialActivity |
getByReceiverUserId_PrevAndNext(Session session,
SocialActivity socialActivity,
long receiverUserId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialActivity |
getByUserId_PrevAndNext(Session session,
SocialActivity socialActivity,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
SocialActivity |
remove(long activityId)
Removes the social activity with the primary key from the database. |
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 |
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_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. |
void |
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 SocialActivity |
removeImpl(SocialActivity socialActivity)
Removes the model instance from the database. |
protected SocialActivity |
toUnwrappedModel(SocialActivity socialActivity)
|
SocialActivity |
updateImpl(SocialActivity socialActivity,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FIND_BY_USERID
public static final FinderPath FINDER_PATH_COUNT_BY_USERID
public static final FinderPath FINDER_PATH_FETCH_BY_MIRRORACTIVITYID
public static final FinderPath FINDER_PATH_COUNT_BY_MIRRORACTIVITYID
public static final FinderPath FINDER_PATH_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_FIND_BY_RECEIVERUSERID
public static final FinderPath FINDER_PATH_COUNT_BY_RECEIVERUSERID
public static final FinderPath FINDER_PATH_FIND_BY_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C
public static final FinderPath FINDER_PATH_FIND_BY_M_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_M_C_C
public static final FinderPath FINDER_PATH_FETCH_BY_G_U_CD_C_C_T_R
public static final FinderPath FINDER_PATH_COUNT_BY_G_U_CD_C_C_T_R
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
@BeanReference(type=SocialEquityAssetEntryPersistence.class) protected SocialEquityAssetEntryPersistence socialEquityAssetEntryPersistence
@BeanReference(type=SocialEquityHistoryPersistence.class) protected SocialEquityHistoryPersistence socialEquityHistoryPersistence
@BeanReference(type=SocialEquityLogPersistence.class) protected SocialEquityLogPersistence socialEquityLogPersistence
@BeanReference(type=SocialEquitySettingPersistence.class) protected SocialEquitySettingPersistence socialEquitySettingPersistence
@BeanReference(type=SocialEquityUserPersistence.class) protected SocialEquityUserPersistence socialEquityUserPersistence
@BeanReference(type=SocialRelationPersistence.class) protected SocialRelationPersistence socialRelationPersistence
@BeanReference(type=SocialRequestPersistence.class) protected SocialRequestPersistence socialRequestPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
Constructor Detail |
---|
public SocialActivityPersistenceImpl()
Method Detail |
---|
public void cacheResult(SocialActivity socialActivity)
cacheResult
in interface SocialActivityPersistence
socialActivity
- the social activity to cachepublic void cacheResult(List<SocialActivity> socialActivities)
cacheResult
in interface SocialActivityPersistence
socialActivities
- the social activities to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SocialActivity>
clearCache
in class BasePersistenceImpl<SocialActivity>
public void clearCache(SocialActivity socialActivity)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SocialActivity>
clearCache
in class BasePersistenceImpl<SocialActivity>
socialActivity
- the instance of this model to clear the cache forpublic SocialActivity create(long activityId)
create
in interface SocialActivityPersistence
activityId
- the primary key for the new social activity
public SocialActivity remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<SocialActivity>
remove
in class BasePersistenceImpl<SocialActivity>
primaryKey
- the primary key of the social activity to remove
NoSuchModelException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialActivity remove(long activityId) throws NoSuchActivityException, SystemException
remove
in interface SocialActivityPersistence
activityId
- the primary key of the social activity to remove
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity removeImpl(SocialActivity socialActivity) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<SocialActivity>
socialActivity
- the model instance to remove
SystemException
- if a system exception occurredpublic SocialActivity updateImpl(SocialActivity socialActivity, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface SocialActivityPersistence
updateImpl
in class BasePersistenceImpl<SocialActivity>
socialActivity
- the model instance to updatemerge
- whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredprotected SocialActivity toUnwrappedModel(SocialActivity socialActivity)
public SocialActivity findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<SocialActivity>
findByPrimaryKey
in class BasePersistenceImpl<SocialActivity>
primaryKey
- the primary key of the social activity to find
NoSuchModelException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByPrimaryKey(long activityId) throws NoSuchActivityException, SystemException
NoSuchActivityException
if it could not be found.
findByPrimaryKey
in interface SocialActivityPersistence
activityId
- the primary key of the social activity to find
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialActivity fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<SocialActivity>
fetchByPrimaryKey
in class BasePersistenceImpl<SocialActivity>
primaryKey
- the primary key of the social activity to find
null
if a social activity with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialActivity fetchByPrimaryKey(long activityId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface SocialActivityPersistence
activityId
- the primary key of the social activity to find
null
if a social activity with the primary key could not be found
SystemException
- if a system exception occurredpublic List<SocialActivity> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface SocialActivityPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<SocialActivity> findByGroupId(long groupId, int start, int end) throws SystemException
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.
findByGroupId
in interface SocialActivityPersistence
groupId
- the group id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByGroupId
in interface SocialActivityPersistence
groupId
- the group id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialActivity findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByGroupId_First
in interface SocialActivityPersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByGroupId_Last
in interface SocialActivityPersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity[] findByGroupId_PrevAndNext(long activityId, long groupId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByGroupId_PrevAndNext
in interface SocialActivityPersistence
activityId
- the primary key of the current social activitygroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity getByGroupId_PrevAndNext(Session session, SocialActivity socialActivity, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<SocialActivity> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface SocialActivityPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic List<SocialActivity> findByCompanyId(long companyId, int start, int end) throws SystemException
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.
findByCompanyId
in interface SocialActivityPersistence
companyId
- the company id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByCompanyId
in interface SocialActivityPersistence
companyId
- the company id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialActivity findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByCompanyId_First
in interface SocialActivityPersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByCompanyId_Last
in interface SocialActivityPersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity[] findByCompanyId_PrevAndNext(long activityId, long companyId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByCompanyId_PrevAndNext
in interface SocialActivityPersistence
activityId
- the primary key of the current social activitycompanyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity getByCompanyId_PrevAndNext(Session session, SocialActivity socialActivity, long companyId, OrderByComparator orderByComparator, boolean previous)
public List<SocialActivity> findByUserId(long userId) throws SystemException
findByUserId
in interface SocialActivityPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic List<SocialActivity> findByUserId(long userId, int start, int end) throws SystemException
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.
findByUserId
in interface SocialActivityPersistence
userId
- the user id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByUserId
in interface SocialActivityPersistence
userId
- the user id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialActivity findByUserId_First(long userId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByUserId_First
in interface SocialActivityPersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByUserId_Last(long userId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByUserId_Last
in interface SocialActivityPersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity[] findByUserId_PrevAndNext(long activityId, long userId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByUserId_PrevAndNext
in interface SocialActivityPersistence
activityId
- the primary key of the current social activityuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity getByUserId_PrevAndNext(Session session, SocialActivity socialActivity, long userId, OrderByComparator orderByComparator, boolean previous)
public SocialActivity findByMirrorActivityId(long mirrorActivityId) throws NoSuchActivityException, SystemException
NoSuchActivityException
if it could not be found.
findByMirrorActivityId
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search with
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity fetchByMirrorActivityId(long mirrorActivityId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByMirrorActivityId
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search with
null
if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity fetchByMirrorActivityId(long mirrorActivityId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByMirrorActivityId
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search with
null
if a matching social activity could not be found
SystemException
- if a system exception occurredpublic List<SocialActivity> findByClassNameId(long classNameId) throws SystemException
findByClassNameId
in interface SocialActivityPersistence
classNameId
- the class name id to search with
SystemException
- if a system exception occurredpublic List<SocialActivity> findByClassNameId(long classNameId, int start, int end) throws SystemException
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.
findByClassNameId
in interface SocialActivityPersistence
classNameId
- the class name id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findByClassNameId(long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByClassNameId
in interface SocialActivityPersistence
classNameId
- the class name id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialActivity findByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByClassNameId_First
in interface SocialActivityPersistence
classNameId
- the class name id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByClassNameId_Last
in interface SocialActivityPersistence
classNameId
- the class name id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity[] findByClassNameId_PrevAndNext(long activityId, long classNameId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByClassNameId_PrevAndNext
in interface SocialActivityPersistence
activityId
- the primary key of the current social activityclassNameId
- the class name id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity getByClassNameId_PrevAndNext(Session session, SocialActivity socialActivity, long classNameId, OrderByComparator orderByComparator, boolean previous)
public List<SocialActivity> findByReceiverUserId(long receiverUserId) throws SystemException
findByReceiverUserId
in interface SocialActivityPersistence
receiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurredpublic List<SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end) throws SystemException
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.
findByReceiverUserId
in interface SocialActivityPersistence
receiverUserId
- the receiver user id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByReceiverUserId
in interface SocialActivityPersistence
receiverUserId
- the receiver user id to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialActivity findByReceiverUserId_First(long receiverUserId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByReceiverUserId_First
in interface SocialActivityPersistence
receiverUserId
- the receiver user id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByReceiverUserId_Last(long receiverUserId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByReceiverUserId_Last
in interface SocialActivityPersistence
receiverUserId
- the receiver user id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity[] findByReceiverUserId_PrevAndNext(long activityId, long receiverUserId, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByReceiverUserId_PrevAndNext
in interface SocialActivityPersistence
activityId
- the primary key of the current social activityreceiverUserId
- the receiver user id to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity getByReceiverUserId_PrevAndNext(Session session, SocialActivity socialActivity, long receiverUserId, OrderByComparator orderByComparator, boolean previous)
public List<SocialActivity> findByC_C(long classNameId, long classPK) throws SystemException
findByC_C
in interface SocialActivityPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic List<SocialActivity> findByC_C(long classNameId, long classPK, int start, int end) throws SystemException
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.
findByC_C
in interface SocialActivityPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByC_C
in interface SocialActivityPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialActivity findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByC_C_First
in interface SocialActivityPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByC_C_Last
in interface SocialActivityPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity[] findByC_C_PrevAndNext(long activityId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByC_C_PrevAndNext
in interface SocialActivityPersistence
activityId
- the primary key of the current social activityclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity getByC_C_PrevAndNext(Session session, SocialActivity socialActivity, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
public List<SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK) throws SystemException
findByM_C_C
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic List<SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end) throws SystemException
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.
findByM_C_C
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByM_C_C
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialActivity findByM_C_C_First(long mirrorActivityId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByM_C_C_First
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity findByM_C_C_Last(long mirrorActivityId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByM_C_C_Last
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity[] findByM_C_C_PrevAndNext(long activityId, long mirrorActivityId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchActivityException, SystemException
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.
findByM_C_C_PrevAndNext
in interface SocialActivityPersistence
activityId
- the primary key of the current social activitymirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchActivityException
- if a social activity with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialActivity getByM_C_C_PrevAndNext(Session session, SocialActivity socialActivity, long mirrorActivityId, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
public SocialActivity findByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) throws NoSuchActivityException, SystemException
NoSuchActivityException
if it could not be found.
findByG_U_CD_C_C_T_R
in interface SocialActivityPersistence
groupId
- the group id to search withuserId
- the user id to search withcreateDate
- the create date to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withreceiverUserId
- the receiver user id to search with
NoSuchActivityException
- if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity fetchByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByG_U_CD_C_C_T_R
in interface SocialActivityPersistence
groupId
- the group id to search withuserId
- the user id to search withcreateDate
- the create date to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withreceiverUserId
- the receiver user id to search with
null
if a matching social activity could not be found
SystemException
- if a system exception occurredpublic SocialActivity fetchByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByG_U_CD_C_C_T_R
in interface SocialActivityPersistence
groupId
- the group id to search withuserId
- the user id to search withcreateDate
- the create date to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withreceiverUserId
- the receiver user id to search with
null
if a matching social activity could not be found
SystemException
- if a system exception occurredpublic List<SocialActivity> findAll() throws SystemException
findAll
in interface SocialActivityPersistence
SystemException
- if a system exception occurredpublic List<SocialActivity> findAll(int start, int end) throws SystemException
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.
findAll
in interface SocialActivityPersistence
start
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialActivity> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findAll
in interface SocialActivityPersistence
start
- the lower bound of the range of social activities to returnend
- the upper bound of the range of social activities to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface SocialActivityPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface SocialActivityPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic void removeByUserId(long userId) throws SystemException
removeByUserId
in interface SocialActivityPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic void removeByMirrorActivityId(long mirrorActivityId) throws NoSuchActivityException, SystemException
removeByMirrorActivityId
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search with
SystemException
- if a system exception occurred
NoSuchActivityException
public void removeByClassNameId(long classNameId) throws SystemException
removeByClassNameId
in interface SocialActivityPersistence
classNameId
- the class name id to search with
SystemException
- if a system exception occurredpublic void removeByReceiverUserId(long receiverUserId) throws SystemException
removeByReceiverUserId
in interface SocialActivityPersistence
receiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurredpublic void removeByC_C(long classNameId, long classPK) throws SystemException
removeByC_C
in interface SocialActivityPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic void removeByM_C_C(long mirrorActivityId, long classNameId, long classPK) throws SystemException
removeByM_C_C
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic void removeByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) throws NoSuchActivityException, SystemException
removeByG_U_CD_C_C_T_R
in interface SocialActivityPersistence
groupId
- the group id to search withuserId
- the user id to search withcreateDate
- the create date to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withreceiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurred
NoSuchActivityException
public void removeAll() throws SystemException
removeAll
in interface SocialActivityPersistence
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface SocialActivityPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface SocialActivityPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic int countByUserId(long userId) throws SystemException
countByUserId
in interface SocialActivityPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic int countByMirrorActivityId(long mirrorActivityId) throws SystemException
countByMirrorActivityId
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search with
SystemException
- if a system exception occurredpublic int countByClassNameId(long classNameId) throws SystemException
countByClassNameId
in interface SocialActivityPersistence
classNameId
- the class name id to search with
SystemException
- if a system exception occurredpublic int countByReceiverUserId(long receiverUserId) throws SystemException
countByReceiverUserId
in interface SocialActivityPersistence
receiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurredpublic int countByC_C(long classNameId, long classPK) throws SystemException
countByC_C
in interface SocialActivityPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic int countByM_C_C(long mirrorActivityId, long classNameId, long classPK) throws SystemException
countByM_C_C
in interface SocialActivityPersistence
mirrorActivityId
- the mirror activity id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic int countByG_U_CD_C_C_T_R(long groupId, long userId, long createDate, long classNameId, long classPK, int type, long receiverUserId) throws SystemException
countByG_U_CD_C_C_T_R
in interface SocialActivityPersistence
groupId
- the group id to search withuserId
- the user id to search withcreateDate
- the create date to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withreceiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface SocialActivityPersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |