|
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<SocialRelation>
com.liferay.portlet.social.service.persistence.SocialRelationPersistenceImpl
public class SocialRelationPersistenceImpl
SocialRelationPersistence,
SocialRelationUtil| 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 | |
|---|---|
SocialRelationPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
cacheResult(List<SocialRelation> socialRelations)
|
void |
cacheResult(SocialRelation socialRelation)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(SocialRelation socialRelation)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByC_T(long companyId,
int type)
|
int |
countByCompanyId(long companyId)
|
int |
countByType(int type)
|
int |
countByU1_T(long userId1,
int type)
|
int |
countByU1_U2_T(long userId1,
long userId2,
int type)
|
int |
countByU2_T(long userId2,
int type)
|
int |
countByUserId1(long userId1)
|
int |
countByUserId2(long userId2)
|
int |
countByUuid(String uuid)
|
SocialRelation |
create(long relationId)
|
SocialRelation |
fetchByPrimaryKey(long relationId)
|
SocialRelation |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
SocialRelation |
fetchByU1_U2_T(long userId1,
long userId2,
int type)
|
SocialRelation |
fetchByU1_U2_T(long userId1,
long userId2,
int type,
boolean retrieveFromCache)
|
List<SocialRelation> |
findAll()
|
List<SocialRelation> |
findAll(int start,
int end)
|
List<SocialRelation> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByC_T_First(long companyId,
int type,
OrderByComparator orderByComparator)
|
SocialRelation |
findByC_T_Last(long companyId,
int type,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByC_T(long companyId,
int type)
|
List<SocialRelation> |
findByC_T(long companyId,
int type,
int start,
int end)
|
List<SocialRelation> |
findByC_T(long companyId,
int type,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
SocialRelation |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByCompanyId_PrevAndNext(long relationId,
long companyId,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByCompanyId(long companyId)
|
List<SocialRelation> |
findByCompanyId(long companyId,
int start,
int end)
|
List<SocialRelation> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByPrimaryKey(long relationId)
|
SocialRelation |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
SocialRelation |
findByType_First(int type,
OrderByComparator orderByComparator)
|
SocialRelation |
findByType_Last(int type,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByType_PrevAndNext(long relationId,
int type,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByType(int type)
|
List<SocialRelation> |
findByType(int type,
int start,
int end)
|
List<SocialRelation> |
findByType(int type,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByU1_T_First(long userId1,
int type,
OrderByComparator orderByComparator)
|
SocialRelation |
findByU1_T_Last(long userId1,
int type,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByU1_T(long userId1,
int type)
|
List<SocialRelation> |
findByU1_T(long userId1,
int type,
int start,
int end)
|
List<SocialRelation> |
findByU1_T(long userId1,
int type,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByU1_U2_T(long userId1,
long userId2,
int type)
|
SocialRelation |
findByU2_T_First(long userId2,
int type,
OrderByComparator orderByComparator)
|
SocialRelation |
findByU2_T_Last(long userId2,
int type,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByU2_T(long userId2,
int type)
|
List<SocialRelation> |
findByU2_T(long userId2,
int type,
int start,
int end)
|
List<SocialRelation> |
findByU2_T(long userId2,
int type,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByUserId1_First(long userId1,
OrderByComparator orderByComparator)
|
SocialRelation |
findByUserId1_Last(long userId1,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByUserId1_PrevAndNext(long relationId,
long userId1,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByUserId1(long userId1)
|
List<SocialRelation> |
findByUserId1(long userId1,
int start,
int end)
|
List<SocialRelation> |
findByUserId1(long userId1,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByUserId2_First(long userId2,
OrderByComparator orderByComparator)
|
SocialRelation |
findByUserId2_Last(long userId2,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByUserId2_PrevAndNext(long relationId,
long userId2,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByUserId2(long userId2)
|
List<SocialRelation> |
findByUserId2(long userId2,
int start,
int end)
|
List<SocialRelation> |
findByUserId2(long userId2,
int start,
int end,
OrderByComparator orderByComparator)
|
SocialRelation |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
|
SocialRelation |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
|
SocialRelation[] |
findByUuid_PrevAndNext(long relationId,
String uuid,
OrderByComparator orderByComparator)
|
List<SocialRelation> |
findByUuid(String uuid)
|
List<SocialRelation> |
findByUuid(String uuid,
int start,
int end)
|
List<SocialRelation> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
protected SocialRelation |
getByC_T_PrevAndNext(Session session,
SocialRelation socialRelation,
long companyId,
int type,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRelation |
getByCompanyId_PrevAndNext(Session session,
SocialRelation socialRelation,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRelation |
getByType_PrevAndNext(Session session,
SocialRelation socialRelation,
int type,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRelation |
getByU1_T_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId1,
int type,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRelation |
getByU2_T_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId2,
int type,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRelation |
getByUserId1_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId1,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRelation |
getByUserId2_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId2,
OrderByComparator orderByComparator,
boolean previous)
|
protected SocialRelation |
getByUuid_PrevAndNext(Session session,
SocialRelation socialRelation,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
SocialRelation |
remove(long relationId)
|
SocialRelation |
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_T(long companyId,
int type)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByType(int type)
|
void |
removeByU1_T(long userId1,
int type)
|
void |
removeByU1_U2_T(long userId1,
long userId2,
int type)
|
void |
removeByU2_T(long userId2,
int type)
|
void |
removeByUserId1(long userId1)
|
void |
removeByUserId2(long userId2)
|
void |
removeByUuid(String uuid)
|
protected SocialRelation |
removeImpl(SocialRelation socialRelation)
Removes the model instance from the database. |
protected SocialRelation |
toUnwrappedModel(SocialRelation socialRelation)
|
SocialRelation |
updateImpl(SocialRelation socialRelation,
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_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FIND_BY_USERID1
public static final FinderPath FINDER_PATH_COUNT_BY_USERID1
public static final FinderPath FINDER_PATH_FIND_BY_USERID2
public static final FinderPath FINDER_PATH_COUNT_BY_USERID2
public static final FinderPath FINDER_PATH_FIND_BY_TYPE
public static final FinderPath FINDER_PATH_COUNT_BY_TYPE
public static final FinderPath FINDER_PATH_FIND_BY_C_T
public static final FinderPath FINDER_PATH_COUNT_BY_C_T
public static final FinderPath FINDER_PATH_FIND_BY_U1_T
public static final FinderPath FINDER_PATH_COUNT_BY_U1_T
public static final FinderPath FINDER_PATH_FIND_BY_U2_T
public static final FinderPath FINDER_PATH_COUNT_BY_U2_T
public static final FinderPath FINDER_PATH_FETCH_BY_U1_U2_T
public static final FinderPath FINDER_PATH_COUNT_BY_U1_U2_T
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 SocialRelationPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(SocialRelation socialRelation)
cacheResult in interface SocialRelationPersistencepublic void cacheResult(List<SocialRelation> socialRelations)
cacheResult in interface SocialRelationPersistencepublic 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<SocialRelation>clearCache in class BasePersistenceImpl<SocialRelation>public void clearCache(SocialRelation socialRelation)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<SocialRelation>clearCache in class BasePersistenceImpl<SocialRelation>socialRelation - the instance of this model to clear the cache forpublic SocialRelation create(long relationId)
create in interface SocialRelationPersistence
public SocialRelation remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<SocialRelation>remove in class BasePersistenceImpl<SocialRelation>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 SocialRelation remove(long relationId)
throws NoSuchRelationException,
SystemException
remove in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation removeImpl(SocialRelation socialRelation)
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<SocialRelation>socialRelation - the model instance to remove
SystemException - if a system exception occurred
public SocialRelation updateImpl(SocialRelation socialRelation,
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 SocialRelationPersistenceupdateImpl in class BasePersistenceImpl<SocialRelation>socialRelation - 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 SocialRelation toUnwrappedModel(SocialRelation socialRelation)
public SocialRelation findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<SocialRelation>findByPrimaryKey in class BasePersistenceImpl<SocialRelation>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 SocialRelation findByPrimaryKey(long relationId)
throws NoSuchRelationException,
SystemException
findByPrimaryKey in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SocialRelation>fetchByPrimaryKey in class BasePersistenceImpl<SocialRelation>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 SocialRelation fetchByPrimaryKey(long relationId)
throws SystemException
fetchByPrimaryKey in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByUuid(String uuid)
throws SystemException
findByUuid in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByUuid(String uuid,
int start,
int end)
throws SystemException
findByUuid in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUuid in interface SocialRelationPersistenceSystemException
public SocialRelation findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUuid_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUuid_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByUuid_PrevAndNext(long relationId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUuid_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByUuid_PrevAndNext(Session session,
SocialRelation socialRelation,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRelation> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
findByCompanyId in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByCompanyId in interface SocialRelationPersistenceSystemException
public SocialRelation findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByCompanyId_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByCompanyId_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByCompanyId_PrevAndNext(long relationId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByCompanyId_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByCompanyId_PrevAndNext(Session session,
SocialRelation socialRelation,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRelation> findByUserId1(long userId1)
throws SystemException
findByUserId1 in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByUserId1(long userId1,
int start,
int end)
throws SystemException
findByUserId1 in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByUserId1(long userId1,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUserId1 in interface SocialRelationPersistenceSystemException
public SocialRelation findByUserId1_First(long userId1,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUserId1_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByUserId1_Last(long userId1,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUserId1_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByUserId1_PrevAndNext(long relationId,
long userId1,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUserId1_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByUserId1_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId1,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRelation> findByUserId2(long userId2)
throws SystemException
findByUserId2 in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByUserId2(long userId2,
int start,
int end)
throws SystemException
findByUserId2 in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByUserId2(long userId2,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUserId2 in interface SocialRelationPersistenceSystemException
public SocialRelation findByUserId2_First(long userId2,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUserId2_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByUserId2_Last(long userId2,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUserId2_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByUserId2_PrevAndNext(long relationId,
long userId2,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByUserId2_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByUserId2_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId2,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRelation> findByType(int type)
throws SystemException
findByType in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByType(int type,
int start,
int end)
throws SystemException
findByType in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByType(int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByType in interface SocialRelationPersistenceSystemException
public SocialRelation findByType_First(int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByType_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByType_Last(int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByType_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByType_PrevAndNext(long relationId,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByType_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByType_PrevAndNext(Session session,
SocialRelation socialRelation,
int type,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRelation> findByC_T(long companyId,
int type)
throws SystemException
findByC_T in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByC_T(long companyId,
int type,
int start,
int end)
throws SystemException
findByC_T in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByC_T(long companyId,
int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByC_T in interface SocialRelationPersistenceSystemException
public SocialRelation findByC_T_First(long companyId,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByC_T_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByC_T_Last(long companyId,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByC_T_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByC_T_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByC_T_PrevAndNext(Session session,
SocialRelation socialRelation,
long companyId,
int type,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRelation> findByU1_T(long userId1,
int type)
throws SystemException
findByU1_T in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByU1_T(long userId1,
int type,
int start,
int end)
throws SystemException
findByU1_T in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByU1_T(long userId1,
int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByU1_T in interface SocialRelationPersistenceSystemException
public SocialRelation findByU1_T_First(long userId1,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByU1_T_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByU1_T_Last(long userId1,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByU1_T_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByU1_T_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByU1_T_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId1,
int type,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialRelation> findByU2_T(long userId2,
int type)
throws SystemException
findByU2_T in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByU2_T(long userId2,
int type,
int start,
int end)
throws SystemException
findByU2_T in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findByU2_T(long userId2,
int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByU2_T in interface SocialRelationPersistenceSystemException
public SocialRelation findByU2_T_First(long userId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByU2_T_First in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation findByU2_T_Last(long userId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByU2_T_Last in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation[] findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchRelationException,
SystemException
findByU2_T_PrevAndNext in interface SocialRelationPersistenceNoSuchRelationException
SystemException
protected SocialRelation getByU2_T_PrevAndNext(Session session,
SocialRelation socialRelation,
long userId2,
int type,
OrderByComparator orderByComparator,
boolean previous)
public SocialRelation findByU1_U2_T(long userId1,
long userId2,
int type)
throws NoSuchRelationException,
SystemException
findByU1_U2_T in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public SocialRelation fetchByU1_U2_T(long userId1,
long userId2,
int type)
throws SystemException
fetchByU1_U2_T in interface SocialRelationPersistenceSystemException
public SocialRelation fetchByU1_U2_T(long userId1,
long userId2,
int type,
boolean retrieveFromCache)
throws SystemException
fetchByU1_U2_T in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findAll()
throws SystemException
findAll in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findAll(int start,
int end)
throws SystemException
findAll in interface SocialRelationPersistenceSystemException
public List<SocialRelation> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface SocialRelationPersistenceSystemException
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface SocialRelationPersistenceSystemException
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface SocialRelationPersistenceSystemException
public void removeByUserId1(long userId1)
throws SystemException
removeByUserId1 in interface SocialRelationPersistenceSystemException
public void removeByUserId2(long userId2)
throws SystemException
removeByUserId2 in interface SocialRelationPersistenceSystemException
public void removeByType(int type)
throws SystemException
removeByType in interface SocialRelationPersistenceSystemException
public void removeByC_T(long companyId,
int type)
throws SystemException
removeByC_T in interface SocialRelationPersistenceSystemException
public void removeByU1_T(long userId1,
int type)
throws SystemException
removeByU1_T in interface SocialRelationPersistenceSystemException
public void removeByU2_T(long userId2,
int type)
throws SystemException
removeByU2_T in interface SocialRelationPersistenceSystemException
public void removeByU1_U2_T(long userId1,
long userId2,
int type)
throws NoSuchRelationException,
SystemException
removeByU1_U2_T in interface SocialRelationPersistenceNoSuchRelationException
SystemException
public void removeAll()
throws SystemException
removeAll in interface SocialRelationPersistenceSystemException
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface SocialRelationPersistenceSystemException
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface SocialRelationPersistenceSystemException
public int countByUserId1(long userId1)
throws SystemException
countByUserId1 in interface SocialRelationPersistenceSystemException
public int countByUserId2(long userId2)
throws SystemException
countByUserId2 in interface SocialRelationPersistenceSystemException
public int countByType(int type)
throws SystemException
countByType in interface SocialRelationPersistenceSystemException
public int countByC_T(long companyId,
int type)
throws SystemException
countByC_T in interface SocialRelationPersistenceSystemException
public int countByU1_T(long userId1,
int type)
throws SystemException
countByU1_T in interface SocialRelationPersistenceSystemException
public int countByU2_T(long userId2,
int type)
throws SystemException
countByU2_T in interface SocialRelationPersistenceSystemException
public int countByU1_U2_T(long userId1,
long userId2,
int type)
throws SystemException
countByU1_U2_T in interface SocialRelationPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface SocialRelationPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||