|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialRequest>
com.liferay.portlet.social.service.persistence.SocialRequestPersistenceImpl
public class SocialRequestPersistenceImpl
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()
|
void |
cacheResult(List<SocialRequest> socialRequests)
|
void |
cacheResult(SocialRequest socialRequest)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(SocialRequest socialRequest)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status)
|
int |
countByCompanyId(long companyId)
|
int |
countByR_S(long receiverUserId,
int status)
|
int |
countByReceiverUserId(long receiverUserId)
|
int |
countByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
|
int |
countByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status)
|
int |
countByU_S(long userId,
int status)
|
int |
countByUserId(long userId)
|
int |
countByUUID_G(String uuid,
long groupId)
|
int |
countByUuid(String uuid)
|
SocialRequest |
create(long requestId)
|
SocialRequest |
fetchByPrimaryKey(long requestId)
|
SocialRequest |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
SocialRequest |
fetchByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
|
SocialRequest |
fetchByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
boolean retrieveFromCache)
|
SocialRequest |
fetchByUUID_G(String uuid,
long groupId)
|
SocialRequest |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
|
List<SocialRequest> |
findAll()
|
List<SocialRequest> |
findAll(int start,
int end)
|
List<SocialRequest> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByC_C_T_R_S_First(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
|
SocialRequest |
findByC_C_T_R_S_Last(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByC_C_T_R_S_PrevAndNext(long requestId,
long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status)
|
List<SocialRequest> |
findByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
int start,
int end)
|
List<SocialRequest> |
findByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
SocialRequest |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByCompanyId_PrevAndNext(long requestId,
long companyId,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByCompanyId(long companyId)
|
List<SocialRequest> |
findByCompanyId(long companyId,
int start,
int end)
|
List<SocialRequest> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByPrimaryKey(long requestId)
|
SocialRequest |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
SocialRequest |
findByR_S_First(long receiverUserId,
int status,
OrderByComparator orderByComparator)
|
SocialRequest |
findByR_S_Last(long receiverUserId,
int status,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByR_S_PrevAndNext(long requestId,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByR_S(long receiverUserId,
int status)
|
List<SocialRequest> |
findByR_S(long receiverUserId,
int status,
int start,
int end)
|
List<SocialRequest> |
findByR_S(long receiverUserId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByReceiverUserId_First(long receiverUserId,
OrderByComparator orderByComparator)
|
SocialRequest |
findByReceiverUserId_Last(long receiverUserId,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByReceiverUserId_PrevAndNext(long requestId,
long receiverUserId,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByReceiverUserId(long receiverUserId)
|
List<SocialRequest> |
findByReceiverUserId(long receiverUserId,
int start,
int end)
|
List<SocialRequest> |
findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
|
SocialRequest |
findByU_C_C_T_S_First(long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
|
SocialRequest |
findByU_C_C_T_S_Last(long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByU_C_C_T_S_PrevAndNext(long requestId,
long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status)
|
List<SocialRequest> |
findByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status,
int start,
int end)
|
List<SocialRequest> |
findByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByU_S_First(long userId,
int status,
OrderByComparator orderByComparator)
|
SocialRequest |
findByU_S_Last(long userId,
int status,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByU_S_PrevAndNext(long requestId,
long userId,
int status,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByU_S(long userId,
int status)
|
List<SocialRequest> |
findByU_S(long userId,
int status,
int start,
int end)
|
List<SocialRequest> |
findByU_S(long userId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
|
SocialRequest |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByUserId_PrevAndNext(long requestId,
long userId,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByUserId(long userId)
|
List<SocialRequest> |
findByUserId(long userId,
int start,
int end)
|
List<SocialRequest> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRequest |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
|
SocialRequest |
findByUUID_G(String uuid,
long groupId)
|
SocialRequest |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
|
SocialRequest[] |
findByUuid_PrevAndNext(long requestId,
String uuid,
OrderByComparator orderByComparator)
|
List<SocialRequest> |
findByUuid(String uuid)
|
List<SocialRequest> |
findByUuid(String uuid,
int start,
int end)
|
List<SocialRequest> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
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)
|
SocialRequest |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByR_S(long receiverUserId,
int status)
|
void |
removeByReceiverUserId(long receiverUserId)
|
void |
removeByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
|
void |
removeByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status)
|
void |
removeByU_S(long userId,
int status)
|
void |
removeByUserId(long userId)
|
void |
removeByUUID_G(String uuid,
long groupId)
|
void |
removeByUuid(String uuid)
|
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 SocialRequestPersistencepublic void cacheResult(List<SocialRequest> socialRequests)
cacheResult in interface SocialRequestPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<SocialRequest>clearCache in class BasePersistenceImpl<SocialRequest>public void clearCache(SocialRequest socialRequest)
BasePersistence
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
public SocialRequest remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<SocialRequest>remove in class BasePersistenceImpl<SocialRequest>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public SocialRequest remove(long requestId)
throws NoSuchRequestException,
SystemException
remove in interface SocialRequestPersistenceNoSuchRequestException
SystemException
protected SocialRequest removeImpl(SocialRequest socialRequest)
throws SystemException
BasePersistenceImplBasePersistenceImpl.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 occurred
public SocialRequest updateImpl(SocialRequest socialRequest,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SocialRequestPersistenceupdateImpl 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
BasePersistence
findByPrimaryKey in interface BasePersistence<SocialRequest>findByPrimaryKey in class BasePersistenceImpl<SocialRequest>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SocialRequest findByPrimaryKey(long requestId)
throws NoSuchRequestException,
SystemException
findByPrimaryKey in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SocialRequest>fetchByPrimaryKey in class BasePersistenceImpl<SocialRequest>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SocialRequest fetchByPrimaryKey(long requestId)
throws SystemException
fetchByPrimaryKey in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByUuid(String uuid)
throws SystemException
findByUuid in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByUuid(String uuid,
int start,
int end)
throws SystemException
findByUuid in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUuid in interface SocialRequestPersistenceSystemException
public SocialRequest findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByUuid_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByUuid_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByUuid_PrevAndNext(long requestId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByUuid_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
protected SocialRequest getByUuid_PrevAndNext(Session session,
SocialRequest socialRequest,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public SocialRequest findByUUID_G(String uuid,
long groupId)
throws NoSuchRequestException,
SystemException
findByUUID_G in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest fetchByUUID_G(String uuid,
long groupId)
throws SystemException
fetchByUUID_G in interface SocialRequestPersistenceSystemException
public SocialRequest fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
fetchByUUID_G in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
findByCompanyId in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByCompanyId in interface SocialRequestPersistenceSystemException
public SocialRequest findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByCompanyId_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByCompanyId_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByCompanyId_PrevAndNext(long requestId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByCompanyId_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
protected SocialRequest getByCompanyId_PrevAndNext(Session session,
SocialRequest socialRequest,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRequest> findByUserId(long userId)
throws SystemException
findByUserId in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByUserId(long userId,
int start,
int end)
throws SystemException
findByUserId in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUserId in interface SocialRequestPersistenceSystemException
public SocialRequest findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByUserId_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByUserId_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByUserId_PrevAndNext(long requestId,
long userId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByUserId_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
protected SocialRequest getByUserId_PrevAndNext(Session session,
SocialRequest socialRequest,
long userId,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRequest> findByReceiverUserId(long receiverUserId)
throws SystemException
findByReceiverUserId in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByReceiverUserId(long receiverUserId,
int start,
int end)
throws SystemException
findByReceiverUserId in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByReceiverUserId(long receiverUserId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByReceiverUserId in interface SocialRequestPersistenceSystemException
public SocialRequest findByReceiverUserId_First(long receiverUserId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByReceiverUserId_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByReceiverUserId_Last(long receiverUserId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByReceiverUserId_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByReceiverUserId_PrevAndNext(long requestId,
long receiverUserId,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByReceiverUserId_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
protected 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 SocialRequestPersistenceSystemException
public List<SocialRequest> findByU_S(long userId,
int status,
int start,
int end)
throws SystemException
findByU_S in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByU_S(long userId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByU_S in interface SocialRequestPersistenceSystemException
public SocialRequest findByU_S_First(long userId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByU_S_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByU_S_Last(long userId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByU_S_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByU_S_PrevAndNext(long requestId,
long userId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByU_S_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
protected 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 SocialRequestPersistenceSystemException
public List<SocialRequest> findByR_S(long receiverUserId,
int status,
int start,
int end)
throws SystemException
findByR_S in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findByR_S(long receiverUserId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByR_S in interface SocialRequestPersistenceSystemException
public SocialRequest findByR_S_First(long receiverUserId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByR_S_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByR_S_Last(long receiverUserId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByR_S_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByR_S_PrevAndNext(long requestId,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByR_S_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
protected 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
findByU_C_C_T_R in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest fetchByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId)
throws SystemException
fetchByU_C_C_T_R in interface SocialRequestPersistenceSystemException
public SocialRequest fetchByU_C_C_T_R(long userId,
long classNameId,
long classPK,
int type,
long receiverUserId,
boolean retrieveFromCache)
throws SystemException
fetchByU_C_C_T_R in interface SocialRequestPersistenceSystemException
public 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 SocialRequestPersistenceSystemException
public List<SocialRequest> findByU_C_C_T_S(long userId,
long classNameId,
long classPK,
int type,
int status,
int start,
int end)
throws SystemException
findByU_C_C_T_S in interface SocialRequestPersistenceSystemException
public 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
findByU_C_C_T_S in interface SocialRequestPersistenceSystemException
public SocialRequest findByU_C_C_T_S_First(long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByU_C_C_T_S_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByU_C_C_T_S_Last(long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByU_C_C_T_S_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByU_C_C_T_S_PrevAndNext(long requestId,
long userId,
long classNameId,
long classPK,
int type,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByU_C_C_T_S_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
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)
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 SocialRequestPersistenceSystemException
public List<SocialRequest> findByC_C_T_R_S(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
int start,
int end)
throws SystemException
findByC_C_T_R_S in interface SocialRequestPersistenceSystemException
public 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
findByC_C_T_R_S in interface SocialRequestPersistenceSystemException
public SocialRequest findByC_C_T_R_S_First(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByC_C_T_R_S_First in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest findByC_C_T_R_S_Last(long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByC_C_T_R_S_Last in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public SocialRequest[] findByC_C_T_R_S_PrevAndNext(long requestId,
long classNameId,
long classPK,
int type,
long receiverUserId,
int status,
OrderByComparator orderByComparator)
throws NoSuchRequestException,
SystemException
findByC_C_T_R_S_PrevAndNext in interface SocialRequestPersistenceNoSuchRequestException
SystemException
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)
public List<SocialRequest> findAll()
throws SystemException
findAll in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findAll(int start,
int end)
throws SystemException
findAll in interface SocialRequestPersistenceSystemException
public List<SocialRequest> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface SocialRequestPersistenceSystemException
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface SocialRequestPersistenceSystemException
public void removeByUUID_G(String uuid,
long groupId)
throws NoSuchRequestException,
SystemException
removeByUUID_G in interface SocialRequestPersistenceNoSuchRequestException
SystemException
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface SocialRequestPersistenceSystemException
public void removeByUserId(long userId)
throws SystemException
removeByUserId in interface SocialRequestPersistenceSystemException
public void removeByReceiverUserId(long receiverUserId)
throws SystemException
removeByReceiverUserId in interface SocialRequestPersistenceSystemException
public void removeByU_S(long userId,
int status)
throws SystemException
removeByU_S in interface SocialRequestPersistenceSystemException
public void removeByR_S(long receiverUserId,
int status)
throws SystemException
removeByR_S in interface SocialRequestPersistenceSystemException
public 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 SocialRequestPersistenceNoSuchRequestException
SystemException
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 SocialRequestPersistenceSystemException
public 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 SocialRequestPersistenceSystemException
public void removeAll()
throws SystemException
removeAll in interface SocialRequestPersistenceSystemException
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface SocialRequestPersistenceSystemException
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface SocialRequestPersistenceSystemException
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface SocialRequestPersistenceSystemException
public int countByUserId(long userId)
throws SystemException
countByUserId in interface SocialRequestPersistenceSystemException
public int countByReceiverUserId(long receiverUserId)
throws SystemException
countByReceiverUserId in interface SocialRequestPersistenceSystemException
public int countByU_S(long userId,
int status)
throws SystemException
countByU_S in interface SocialRequestPersistenceSystemException
public int countByR_S(long receiverUserId,
int status)
throws SystemException
countByR_S in interface SocialRequestPersistenceSystemException
public 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 SocialRequestPersistenceSystemException
public 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 SocialRequestPersistenceSystemException
public 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 SocialRequestPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface SocialRequestPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||