|
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<SocialRequest> com.liferay.portlet.social.service.persistence.SocialRequestPersistenceImpl
public class SocialRequestPersistenceImpl
The persistence implementation for the social request service.
Never modify or reference this class directly. Always use SocialRequestUtil
to access the social request persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
SocialRequestPersistence
,
SocialRequestUtil
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 | |
---|---|
SocialRequestPersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the social request persistence. |
void |
cacheResult(List<SocialRequest> socialRequests)
Caches the social requests in the entity cache if it is enabled. |
void |
cacheResult(SocialRequest socialRequest)
Caches the social request in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all social requests. |
void |
clearCache(SocialRequest socialRequest)
Clears the cache for the social request. |
int |
countAll()
Counts all the social requests. |
int |
countByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status)
Counts all the social requests where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ?. |
int |
countByCompanyId(long companyId)
Counts all the social requests where companyId = ?. |
int |
countByR_S(long receiverUserId,
int status)
Counts all the social requests where receiverUserId = ? and status = ?. |
int |
countByReceiverUserId(long receiverUserId)
Counts all the social requests where receiverUserId = ?. |
int |
countByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
Counts all the social requests where userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ?. |
int |
countByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status)
Counts all the social requests where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ?. |
int |
countByU_S(long userId,
int status)
Counts all the social requests where userId = ? and status = ?. |
int |
countByUserId(long userId)
Counts all the social requests where userId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Counts all the social requests where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Counts all the social requests where uuid = ?. |
SocialRequest |
create(long requestId)
Creates a new social request with the primary key. |
SocialRequest |
fetchByPrimaryKey(long requestId)
Finds the social request with the primary key or returns null if it could not be found. |
SocialRequest |
fetchByPrimaryKey(Serializable primaryKey)
Finds the social request with the primary key or returns null if it could not be found. |
SocialRequest |
fetchByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
Finds the social request where userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or returns null if it could not be found. |
SocialRequest |
fetchByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
boolean retrieveFromCache)
Finds the social request where userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or returns null if it could not be found, optionally using the finder cache. |
SocialRequest |
fetchByUUID_G(String uuid,
long groupId)
Finds the social request where uuid = ? and groupId = ? or returns null if it could not be found. |
SocialRequest |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Finds the social request where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
List<SocialRequest> |
findAll()
Finds all the social requests. |
List<SocialRequest> |
findAll(int start,
int end)
Finds a range of all the social requests. |
List<SocialRequest> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests. |
SocialRequest |
findByC_C_T_R_S_First(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ?. |
SocialRequest |
findByC_C_T_R_S_Last(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ?. |
SocialRequest[] |
findByC_C_T_R_S_PrevAndNext(long requestId,
long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ?. |
List<SocialRequest> |
findByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status)
Finds all the social requests where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ?. |
List<SocialRequest> |
findByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
int start,
int end)
Finds a range of all the social requests where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ?. |
List<SocialRequest> |
findByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ?. |
SocialRequest |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where companyId = ?. |
SocialRequest |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where companyId = ?. |
SocialRequest[] |
findByCompanyId_PrevAndNext(long requestId,
long companyId,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where companyId = ?. |
List<SocialRequest> |
findByCompanyId(long companyId)
Finds all the social requests where companyId = ?. |
List<SocialRequest> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the social requests where companyId = ?. |
List<SocialRequest> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where companyId = ?. |
SocialRequest |
findByPrimaryKey(long requestId)
Finds the social request with the primary key or throws a NoSuchRequestException if it could not be found. |
SocialRequest |
findByPrimaryKey(Serializable primaryKey)
Finds the social request with the primary key or throws a NoSuchModelException if it could not be found. |
SocialRequest |
findByR_S_First(long receiverUserId,
int status,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where receiverUserId = ? and status = ?. |
SocialRequest |
findByR_S_Last(long receiverUserId,
int status,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where receiverUserId = ? and status = ?. |
SocialRequest[] |
findByR_S_PrevAndNext(long requestId,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where receiverUserId = ? and status = ?. |
List<SocialRequest> |
findByR_S(long receiverUserId,
int status)
Finds all the social requests where receiverUserId = ? and status = ?. |
List<SocialRequest> |
findByR_S(long receiverUserId,
int status,
int start,
int end)
Finds a range of all the social requests where receiverUserId = ? and status = ?. |
List<SocialRequest> |
findByR_S(long receiverUserId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where receiverUserId = ? and status = ?. |
SocialRequest |
findByReceiverUserId_First(long receiverUserId,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where receiverUserId = ?. |
SocialRequest |
findByReceiverUserId_Last(long receiverUserId,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where receiverUserId = ?. |
SocialRequest[] |
findByReceiverUserId_PrevAndNext(long requestId,
long receiverUserId,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where receiverUserId = ?. |
List<SocialRequest> |
findByReceiverUserId(long receiverUserId)
Finds all the social requests where receiverUserId = ?. |
List<SocialRequest> |
findByReceiverUserId(long receiverUserId,
int start,
int end)
Finds a range of all the social requests where receiverUserId = ?. |
List<SocialRequest> |
findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where receiverUserId = ?. |
SocialRequest |
findByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
Finds the social request where userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? or throws a NoSuchRequestException if it could not be found. |
SocialRequest |
findByU_C_C_T_S_First(long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ?. |
SocialRequest |
findByU_C_C_T_S_Last(long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ?. |
SocialRequest[] |
findByU_C_C_T_S_PrevAndNext(long requestId,
long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ?. |
List<SocialRequest> |
findByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status)
Finds all the social requests where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ?. |
List<SocialRequest> |
findByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status,
int start,
int end)
Finds a range of all the social requests where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ?. |
List<SocialRequest> |
findByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ?. |
SocialRequest |
findByU_S_First(long userId,
int status,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where userId = ? and status = ?. |
SocialRequest |
findByU_S_Last(long userId,
int status,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where userId = ? and status = ?. |
SocialRequest[] |
findByU_S_PrevAndNext(long requestId,
long userId,
int status,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where userId = ? and status = ?. |
List<SocialRequest> |
findByU_S(long userId,
int status)
Finds all the social requests where userId = ? and status = ?. |
List<SocialRequest> |
findByU_S(long userId,
int status,
int start,
int end)
Finds a range of all the social requests where userId = ? and status = ?. |
List<SocialRequest> |
findByU_S(long userId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where userId = ? and status = ?. |
SocialRequest |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where userId = ?. |
SocialRequest |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where userId = ?. |
SocialRequest[] |
findByUserId_PrevAndNext(long requestId,
long userId,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where userId = ?. |
List<SocialRequest> |
findByUserId(long userId)
Finds all the social requests where userId = ?. |
List<SocialRequest> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the social requests where userId = ?. |
List<SocialRequest> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where userId = ?. |
SocialRequest |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first social request in the ordered set where uuid = ?. |
SocialRequest |
findByUUID_G(String uuid,
long groupId)
Finds the social request where uuid = ? and groupId = ? or throws a NoSuchRequestException if it could not be found. |
SocialRequest |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last social request in the ordered set where uuid = ?. |
SocialRequest[] |
findByUuid_PrevAndNext(long requestId,
String uuid,
OrderByComparator orderByComparator)
Finds the social requests before and after the current social request in the ordered set where uuid = ?. |
List<SocialRequest> |
findByUuid(String uuid)
Finds all the social requests where uuid = ?. |
List<SocialRequest> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the social requests where uuid = ?. |
List<SocialRequest> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social requests where uuid = ?. |
protected SocialRequest |
getByC_C_T_R_S_PrevAndNext(Session session,
SocialRequest socialRequest,
long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRequest |
getByCompanyId_PrevAndNext(Session session,
SocialRequest socialRequest,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRequest |
getByR_S_PrevAndNext(Session session,
SocialRequest socialRequest,
long receiverUserId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRequest |
getByReceiverUserId_PrevAndNext(Session session,
SocialRequest socialRequest,
long receiverUserId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRequest |
getByU_C_C_T_S_PrevAndNext(Session session,
SocialRequest socialRequest,
long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRequest |
getByU_S_PrevAndNext(Session session,
SocialRequest socialRequest,
long userId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRequest |
getByUserId_PrevAndNext(Session session,
SocialRequest socialRequest,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRequest |
getByUuid_PrevAndNext(Session session,
SocialRequest socialRequest,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
SocialRequest |
remove(long requestId)
Removes the social request with the primary key from the database. |
SocialRequest |
remove(Serializable primaryKey)
Removes the social request with the primary key from the database. |
void |
removeAll()
Removes all the social requests from the database. |
void |
removeByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status)
Removes all the social requests where classNameId = ? and classPK = ? and type = ? and receiverUserId = ? and status = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the social requests where companyId = ? from the database. |
void |
removeByR_S(long receiverUserId,
int status)
Removes all the social requests where receiverUserId = ? and status = ? from the database. |
void |
removeByReceiverUserId(long receiverUserId)
Removes all the social requests where receiverUserId = ? from the database. |
void |
removeByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
Removes the social request where userId = ? and classNameId = ? and classPK = ? and type = ? and receiverUserId = ? from the database. |
void |
removeByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status)
Removes all the social requests where userId = ? and classNameId = ? and classPK = ? and type = ? and status = ? from the database. |
void |
removeByU_S(long userId,
int status)
Removes all the social requests where userId = ? and status = ? from the database. |
void |
removeByUserId(long userId)
Removes all the social requests where userId = ? from the database. |
void |
removeByUUID_G(String uuid,
long groupId)
Removes the social request where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the social requests where uuid = ? from the database. |
protected SocialRequest |
removeImpl(SocialRequest socialRequest)
Removes the model instance from the database. |
protected SocialRequest |
toUnwrappedModel(SocialRequest socialRequest)
|
SocialRequest |
updateImpl(SocialRequest socialRequest,
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_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
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_FIND_BY_RECEIVERUSERID
public static final FinderPath FINDER_PATH_COUNT_BY_RECEIVERUSERID
public static final FinderPath FINDER_PATH_FIND_BY_U_S
public static final FinderPath FINDER_PATH_COUNT_BY_U_S
public static final FinderPath FINDER_PATH_FIND_BY_R_S
public static final FinderPath FINDER_PATH_COUNT_BY_R_S
public static final FinderPath FINDER_PATH_FETCH_BY_U_C_C_T_R
public static final FinderPath FINDER_PATH_COUNT_BY_U_C_C_T_R
public static final FinderPath FINDER_PATH_FIND_BY_U_C_C_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_U_C_C_T_S
public static final FinderPath FINDER_PATH_FIND_BY_C_C_T_R_S
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_T_R_S
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=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
Constructor Detail |
---|
public SocialRequestPersistenceImpl()
Method Detail |
---|
public void cacheResult(SocialRequest socialRequest)
cacheResult
in interface SocialRequestPersistence
socialRequest
- the social request to cachepublic void cacheResult(List<SocialRequest> socialRequests)
cacheResult
in interface SocialRequestPersistence
socialRequests
- the social requests to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SocialRequest>
clearCache
in class BasePersistenceImpl<SocialRequest>
public void clearCache(SocialRequest socialRequest)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SocialRequest>
clearCache
in class BasePersistenceImpl<SocialRequest>
socialRequest
- the instance of this model to clear the cache forpublic SocialRequest create(long requestId)
create
in interface SocialRequestPersistence
requestId
- the primary key for the new social request
public SocialRequest remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<SocialRequest>
remove
in class BasePersistenceImpl<SocialRequest>
primaryKey
- the primary key of the social request to remove
NoSuchModelException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialRequest remove(long requestId) throws NoSuchRequestException, SystemException
remove
in interface SocialRequestPersistence
requestId
- the primary key of the social request to remove
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest removeImpl(SocialRequest socialRequest) 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<SocialRequest>
socialRequest
- the model instance to remove
SystemException
- if a system exception occurredpublic SocialRequest updateImpl(SocialRequest socialRequest, 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 SocialRequestPersistence
updateImpl
in class BasePersistenceImpl<SocialRequest>
socialRequest
- 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 SocialRequest toUnwrappedModel(SocialRequest socialRequest)
public SocialRequest findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<SocialRequest>
findByPrimaryKey
in class BasePersistenceImpl<SocialRequest>
primaryKey
- the primary key of the social request to find
NoSuchModelException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByPrimaryKey(long requestId) throws NoSuchRequestException, SystemException
NoSuchRequestException
if it could not be found.
findByPrimaryKey
in interface SocialRequestPersistence
requestId
- the primary key of the social request to find
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialRequest fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<SocialRequest>
fetchByPrimaryKey
in class BasePersistenceImpl<SocialRequest>
primaryKey
- the primary key of the social request to find
null
if a social request with the primary key could not be found
SystemException
- if a system exception occurredpublic SocialRequest fetchByPrimaryKey(long requestId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface SocialRequestPersistence
requestId
- the primary key of the social request to find
null
if a social request with the primary key could not be found
SystemException
- if a system exception occurredpublic List<SocialRequest> findByUuid(String uuid) throws SystemException
findByUuid
in interface SocialRequestPersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> findByUuid(String uuid, 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.
findByUuid
in interface SocialRequestPersistence
uuid
- the uuid to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> findByUuid(String uuid, 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.
findByUuid
in interface SocialRequestPersistence
uuid
- the uuid to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByUuid_First
in interface SocialRequestPersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByUuid_Last
in interface SocialRequestPersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByUuid_PrevAndNext(long requestId, String uuid, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByUuid_PrevAndNext
in interface SocialRequestPersistence
requestId
- the primary key of the current social requestuuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByUuid_PrevAndNext(Session session, SocialRequest socialRequest, String uuid, OrderByComparator orderByComparator, boolean previous)
public SocialRequest findByUUID_G(String uuid, long groupId) throws NoSuchRequestException, SystemException
NoSuchRequestException
if it could not be found.
findByUUID_G
in interface SocialRequestPersistence
uuid
- the uuid to search withgroupId
- the group id to search with
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface SocialRequestPersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByUUID_G
in interface SocialRequestPersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching social request could not be found
SystemException
- if a system exception occurredpublic List<SocialRequest> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface SocialRequestPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
companyId
- the company id to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
companyId
- the company id to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByCompanyId_PrevAndNext(long requestId, long companyId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
requestId
- the primary key of the current social requestcompanyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByCompanyId_PrevAndNext(Session session, SocialRequest socialRequest, long companyId, OrderByComparator orderByComparator, boolean previous)
public List<SocialRequest> findByUserId(long userId) throws SystemException
findByUserId
in interface SocialRequestPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
userId
- the user id to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
userId
- the user id to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByUserId_First(long userId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByUserId_Last(long userId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByUserId_PrevAndNext(long requestId, long userId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
requestId
- the primary key of the current social requestuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByUserId_PrevAndNext(Session session, SocialRequest socialRequest, long userId, OrderByComparator orderByComparator, boolean previous)
public List<SocialRequest> findByReceiverUserId(long receiverUserId) throws SystemException
findByReceiverUserId
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
receiverUserId
- the receiver user id to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
receiverUserId
- the receiver user id to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByReceiverUserId_First(long receiverUserId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
receiverUserId
- the receiver user id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByReceiverUserId_Last(long receiverUserId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
receiverUserId
- the receiver user id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByReceiverUserId_PrevAndNext(long requestId, long receiverUserId, OrderByComparator orderByComparator) throws NoSuchRequestException, 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 SocialRequestPersistence
requestId
- the primary key of the current social requestreceiverUserId
- the receiver user id to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByReceiverUserId_PrevAndNext(Session session, SocialRequest socialRequest, long receiverUserId, OrderByComparator orderByComparator, boolean previous)
public List<SocialRequest> findByU_S(long userId, int status) throws SystemException
findByU_S
in interface SocialRequestPersistence
userId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> findByU_S(long userId, int status, 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.
findByU_S
in interface SocialRequestPersistence
userId
- the user id to search withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> findByU_S(long userId, int status, 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.
findByU_S
in interface SocialRequestPersistence
userId
- the user id to search withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByU_S_First(long userId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByU_S_First
in interface SocialRequestPersistence
userId
- the user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByU_S_Last(long userId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByU_S_Last
in interface SocialRequestPersistence
userId
- the user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByU_S_PrevAndNext(long requestId, long userId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByU_S_PrevAndNext
in interface SocialRequestPersistence
requestId
- the primary key of the current social requestuserId
- the user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByU_S_PrevAndNext(Session session, SocialRequest socialRequest, long userId, int status, OrderByComparator orderByComparator, boolean previous)
public List<SocialRequest> findByR_S(long receiverUserId, int status) throws SystemException
findByR_S
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> findByR_S(long receiverUserId, int status, 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.
findByR_S
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> findByR_S(long receiverUserId, int status, 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.
findByR_S
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByR_S_First(long receiverUserId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByR_S_First
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByR_S_Last(long receiverUserId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByR_S_Last
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByR_S_PrevAndNext(long requestId, long receiverUserId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByR_S_PrevAndNext
in interface SocialRequestPersistence
requestId
- the primary key of the current social requestreceiverUserId
- the receiver user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByR_S_PrevAndNext(Session session, SocialRequest socialRequest, long receiverUserId, int status, OrderByComparator orderByComparator, boolean previous)
public SocialRequest findByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId) throws NoSuchRequestException, SystemException
NoSuchRequestException
if it could not be found.
findByU_C_C_T_R
in interface SocialRequestPersistence
userId
- the user id 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
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest fetchByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByU_C_C_T_R
in interface SocialRequestPersistence
userId
- the user id 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 request could not be found
SystemException
- if a system exception occurredpublic SocialRequest fetchByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByU_C_C_T_R
in interface SocialRequestPersistence
userId
- the user id 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 request could not be found
SystemException
- if a system exception occurredpublic List<SocialRequest> findByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status) throws SystemException
findByU_C_C_T_S
in interface SocialRequestPersistence
userId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> findByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status, 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.
findByU_C_C_T_S
in interface SocialRequestPersistence
userId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> findByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status, 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.
findByU_C_C_T_S
in interface SocialRequestPersistence
userId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByU_C_C_T_S_First(long userId, long classNameId, long classPK, int type, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByU_C_C_T_S_First
in interface SocialRequestPersistence
userId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByU_C_C_T_S_Last(long userId, long classNameId, long classPK, int type, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByU_C_C_T_S_Last
in interface SocialRequestPersistence
userId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByU_C_C_T_S_PrevAndNext(long requestId, long userId, long classNameId, long classPK, int type, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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.
findByU_C_C_T_S_PrevAndNext
in interface SocialRequestPersistence
requestId
- the primary key of the current social requestuserId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByU_C_C_T_S_PrevAndNext(Session session, SocialRequest socialRequest, long userId, long classNameId, long classPK, int type, int status, OrderByComparator orderByComparator, boolean previous)
public List<SocialRequest> findByC_C_T_R_S(long classNameId, long classPK, int type, long receiverUserId, int status) throws SystemException
findByC_C_T_R_S
in interface SocialRequestPersistence
classNameId
- 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 withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<SocialRequest> findByC_C_T_R_S(long classNameId, long classPK, int type, long receiverUserId, int status, 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_T_R_S
in interface SocialRequestPersistence
classNameId
- 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 withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> findByC_C_T_R_S(long classNameId, long classPK, int type, long receiverUserId, int status, 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_T_R_S
in interface SocialRequestPersistence
classNameId
- 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 withstatus
- the status to search withstart
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic SocialRequest findByC_C_T_R_S_First(long classNameId, long classPK, int type, long receiverUserId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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_T_R_S_First
in interface SocialRequestPersistence
classNameId
- 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 withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest findByC_C_T_R_S_Last(long classNameId, long classPK, int type, long receiverUserId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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_T_R_S_Last
in interface SocialRequestPersistence
classNameId
- 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 withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a matching social request could not be found
SystemException
- if a system exception occurredpublic SocialRequest[] findByC_C_T_R_S_PrevAndNext(long requestId, long classNameId, long classPK, int type, long receiverUserId, int status, OrderByComparator orderByComparator) throws NoSuchRequestException, 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_T_R_S_PrevAndNext
in interface SocialRequestPersistence
requestId
- the primary key of the current social requestclassNameId
- 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 withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchRequestException
- if a social request with the primary key could not be found
SystemException
- if a system exception occurredprotected SocialRequest getByC_C_T_R_S_PrevAndNext(Session session, SocialRequest socialRequest, long classNameId, long classPK, int type, long receiverUserId, int status, OrderByComparator orderByComparator, boolean previous)
public List<SocialRequest> findAll() throws SystemException
findAll
in interface SocialRequestPersistence
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
start
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)
SystemException
- if a system exception occurredpublic List<SocialRequest> 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 SocialRequestPersistence
start
- the lower bound of the range of social requests to returnend
- the upper bound of the range of social requests to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface SocialRequestPersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic void removeByUUID_G(String uuid, long groupId) throws NoSuchRequestException, SystemException
removeByUUID_G
in interface SocialRequestPersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchRequestException
public void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface SocialRequestPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic void removeByUserId(long userId) throws SystemException
removeByUserId
in interface SocialRequestPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic void removeByReceiverUserId(long receiverUserId) throws SystemException
removeByReceiverUserId
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurredpublic void removeByU_S(long userId, int status) throws SystemException
removeByU_S
in interface SocialRequestPersistence
userId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByR_S(long receiverUserId, int status) throws SystemException
removeByR_S
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId) throws NoSuchRequestException, SystemException
removeByU_C_C_T_R
in interface SocialRequestPersistence
userId
- the user id 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
NoSuchRequestException
public void removeByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status) throws SystemException
removeByU_C_C_T_S
in interface SocialRequestPersistence
userId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByC_C_T_R_S(long classNameId, long classPK, int type, long receiverUserId, int status) throws SystemException
removeByC_C_T_R_S
in interface SocialRequestPersistence
classNameId
- 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 withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface SocialRequestPersistence
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface SocialRequestPersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface SocialRequestPersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface SocialRequestPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic int countByUserId(long userId) throws SystemException
countByUserId
in interface SocialRequestPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic int countByReceiverUserId(long receiverUserId) throws SystemException
countByReceiverUserId
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search with
SystemException
- if a system exception occurredpublic int countByU_S(long userId, int status) throws SystemException
countByU_S
in interface SocialRequestPersistence
userId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByR_S(long receiverUserId, int status) throws SystemException
countByR_S
in interface SocialRequestPersistence
receiverUserId
- the receiver user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId) throws SystemException
countByU_C_C_T_R
in interface SocialRequestPersistence
userId
- the user id 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 countByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status) throws SystemException
countByU_C_C_T_S
in interface SocialRequestPersistence
userId
- the user id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withtype
- the type to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByC_C_T_R_S(long classNameId, long classPK, int type, long receiverUserId, int status) throws SystemException
countByC_C_T_R_S
in interface SocialRequestPersistence
classNameId
- 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 withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface SocialRequestPersistence
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 |