Package | Description |
---|---|
com.liferay.social.kernel.service.persistence |
Modifier and Type | Method and Description |
---|---|
static SocialRelation |
SocialRelationUtil.findByC_T_First(long companyId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where companyId = ? and type = ?.
|
SocialRelation |
SocialRelationPersistence.findByC_T_First(long companyId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where companyId = ? and type = ?.
|
static SocialRelation |
SocialRelationUtil.findByC_T_Last(long companyId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where companyId = ? and type = ?.
|
SocialRelation |
SocialRelationPersistence.findByC_T_Last(long companyId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where companyId = ? and type = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where companyId = ? and type = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where companyId = ? and type = ?.
|
static SocialRelation |
SocialRelationUtil.findByCompanyId_First(long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where companyId = ?.
|
SocialRelation |
SocialRelationPersistence.findByCompanyId_First(long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where companyId = ?.
|
static SocialRelation |
SocialRelationUtil.findByCompanyId_Last(long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where companyId = ?.
|
SocialRelation |
SocialRelationPersistence.findByCompanyId_Last(long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where companyId = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByCompanyId_PrevAndNext(long relationId,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where companyId = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByCompanyId_PrevAndNext(long relationId,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where companyId = ?.
|
static SocialRelation |
SocialRelationUtil.findByPrimaryKey(long relationId)
Returns the social relation with the primary key or throws a
NoSuchRelationException if it could not be found. |
SocialRelation |
SocialRelationPersistence.findByPrimaryKey(long relationId)
Returns the social relation with the primary key or throws a
NoSuchRelationException if it could not be found. |
static SocialRelation |
SocialRelationUtil.findByType_First(int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where type = ?.
|
SocialRelation |
SocialRelationPersistence.findByType_First(int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where type = ?.
|
static SocialRelation |
SocialRelationUtil.findByType_Last(int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where type = ?.
|
SocialRelation |
SocialRelationPersistence.findByType_Last(int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where type = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByType_PrevAndNext(long relationId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where type = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByType_PrevAndNext(long relationId,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where type = ?.
|
static SocialRelation |
SocialRelationUtil.findByU1_T_First(long userId1,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId1 = ? and type = ?.
|
SocialRelation |
SocialRelationPersistence.findByU1_T_First(long userId1,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId1 = ? and type = ?.
|
static SocialRelation |
SocialRelationUtil.findByU1_T_Last(long userId1,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId1 = ? and type = ?.
|
SocialRelation |
SocialRelationPersistence.findByU1_T_Last(long userId1,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId1 = ? and type = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId1 = ? and type = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId1 = ? and type = ?.
|
static SocialRelation |
SocialRelationUtil.findByU1_U2_First(long userId1,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId1 = ? and userId2 = ?.
|
SocialRelation |
SocialRelationPersistence.findByU1_U2_First(long userId1,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId1 = ? and userId2 = ?.
|
static SocialRelation |
SocialRelationUtil.findByU1_U2_Last(long userId1,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId1 = ? and userId2 = ?.
|
SocialRelation |
SocialRelationPersistence.findByU1_U2_Last(long userId1,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId1 = ? and userId2 = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByU1_U2_PrevAndNext(long relationId,
long userId1,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId1 = ? and userId2 = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByU1_U2_PrevAndNext(long relationId,
long userId1,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId1 = ? and userId2 = ?.
|
static SocialRelation |
SocialRelationUtil.findByU1_U2_T(long userId1,
long userId2,
int type)
Returns the social relation where userId1 = ? and userId2 = ? and type = ? or throws a
NoSuchRelationException if it could not be found. |
SocialRelation |
SocialRelationPersistence.findByU1_U2_T(long userId1,
long userId2,
int type)
Returns the social relation where userId1 = ? and userId2 = ? and type = ? or throws a
NoSuchRelationException if it could not be found. |
static SocialRelation |
SocialRelationUtil.findByU2_T_First(long userId2,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId2 = ? and type = ?.
|
SocialRelation |
SocialRelationPersistence.findByU2_T_First(long userId2,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId2 = ? and type = ?.
|
static SocialRelation |
SocialRelationUtil.findByU2_T_Last(long userId2,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId2 = ? and type = ?.
|
SocialRelation |
SocialRelationPersistence.findByU2_T_Last(long userId2,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId2 = ? and type = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId2 = ? and type = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId2 = ? and type = ?.
|
static SocialRelation |
SocialRelationUtil.findByUserId1_First(long userId1,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId1 = ?.
|
SocialRelation |
SocialRelationPersistence.findByUserId1_First(long userId1,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId1 = ?.
|
static SocialRelation |
SocialRelationUtil.findByUserId1_Last(long userId1,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId1 = ?.
|
SocialRelation |
SocialRelationPersistence.findByUserId1_Last(long userId1,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId1 = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByUserId1_PrevAndNext(long relationId,
long userId1,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId1 = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByUserId1_PrevAndNext(long relationId,
long userId1,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId1 = ?.
|
static SocialRelation |
SocialRelationUtil.findByUserId2_First(long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId2 = ?.
|
SocialRelation |
SocialRelationPersistence.findByUserId2_First(long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where userId2 = ?.
|
static SocialRelation |
SocialRelationUtil.findByUserId2_Last(long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId2 = ?.
|
SocialRelation |
SocialRelationPersistence.findByUserId2_Last(long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where userId2 = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByUserId2_PrevAndNext(long relationId,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId2 = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByUserId2_PrevAndNext(long relationId,
long userId2,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where userId2 = ?.
|
static SocialRelation |
SocialRelationUtil.findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where uuid = ? and companyId = ?.
|
SocialRelation |
SocialRelationPersistence.findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where uuid = ? and companyId = ?.
|
static SocialRelation |
SocialRelationUtil.findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where uuid = ? and companyId = ?.
|
SocialRelation |
SocialRelationPersistence.findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where uuid = ? and companyId = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByUuid_C_PrevAndNext(long relationId,
String uuid,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where uuid = ? and companyId = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByUuid_C_PrevAndNext(long relationId,
String uuid,
long companyId,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where uuid = ? and companyId = ?.
|
static SocialRelation |
SocialRelationUtil.findByUuid_First(String uuid,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where uuid = ?.
|
SocialRelation |
SocialRelationPersistence.findByUuid_First(String uuid,
OrderByComparator<SocialRelation> orderByComparator)
Returns the first social relation in the ordered set where uuid = ?.
|
static SocialRelation |
SocialRelationUtil.findByUuid_Last(String uuid,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where uuid = ?.
|
SocialRelation |
SocialRelationPersistence.findByUuid_Last(String uuid,
OrderByComparator<SocialRelation> orderByComparator)
Returns the last social relation in the ordered set where uuid = ?.
|
static SocialRelation[] |
SocialRelationUtil.findByUuid_PrevAndNext(long relationId,
String uuid,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where uuid = ?.
|
SocialRelation[] |
SocialRelationPersistence.findByUuid_PrevAndNext(long relationId,
String uuid,
OrderByComparator<SocialRelation> orderByComparator)
Returns the social relations before and after the current social relation in the ordered set where uuid = ?.
|
static SocialRelation |
SocialRelationUtil.remove(long relationId)
Removes the social relation with the primary key from the database.
|
SocialRelation |
SocialRelationPersistence.remove(long relationId)
Removes the social relation with the primary key from the database.
|
static SocialRelation |
SocialRelationUtil.removeByU1_U2_T(long userId1,
long userId2,
int type)
Removes the social relation where userId1 = ? and userId2 = ? and type = ? from the database.
|
SocialRelation |
SocialRelationPersistence.removeByU1_U2_T(long userId1,
long userId2,
int type)
Removes the social relation where userId1 = ? and userId2 = ? and type = ? from the database.
|