|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SocialRelationPersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
SocialRelationPersistenceImpl
,
SocialRelationUtil
Method Summary | |
---|---|
void |
cacheResult(java.util.List<SocialRelation> socialRelations)
|
void |
cacheResult(SocialRelation socialRelation)
|
void |
clearCache()
|
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(java.lang.String uuid)
|
SocialRelation |
create(long relationId)
|
SocialRelation |
fetchByPrimaryKey(long relationId)
|
SocialRelation |
fetchByU1_U2_T(long userId1,
long userId2,
int type)
|
SocialRelation |
fetchByU1_U2_T(long userId1,
long userId2,
int type,
boolean retrieveFromCache)
|
java.util.List<SocialRelation> |
findAll()
|
java.util.List<SocialRelation> |
findAll(int start,
int end)
|
java.util.List<SocialRelation> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByC_T(long companyId,
int type)
|
java.util.List<SocialRelation> |
findByC_T(long companyId,
int type,
int start,
int end)
|
java.util.List<SocialRelation> |
findByC_T(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByCompanyId_PrevAndNext(long relationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByCompanyId(long companyId)
|
java.util.List<SocialRelation> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<SocialRelation> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByPrimaryKey(long relationId)
|
SocialRelation |
findByType_First(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByType_Last(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByType_PrevAndNext(long relationId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByType(int type)
|
java.util.List<SocialRelation> |
findByType(int type,
int start,
int end)
|
java.util.List<SocialRelation> |
findByType(int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByU1_T_First(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByU1_T_Last(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByU1_T(long userId1,
int type)
|
java.util.List<SocialRelation> |
findByU1_T(long userId1,
int type,
int start,
int end)
|
java.util.List<SocialRelation> |
findByU1_T(long userId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByU1_U2_T(long userId1,
long userId2,
int type)
|
SocialRelation |
findByU2_T_First(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByU2_T_Last(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByU2_T(long userId2,
int type)
|
java.util.List<SocialRelation> |
findByU2_T(long userId2,
int type,
int start,
int end)
|
java.util.List<SocialRelation> |
findByU2_T(long userId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByUserId1_First(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByUserId1_Last(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByUserId1_PrevAndNext(long relationId,
long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByUserId1(long userId1)
|
java.util.List<SocialRelation> |
findByUserId1(long userId1,
int start,
int end)
|
java.util.List<SocialRelation> |
findByUserId1(long userId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByUserId2_First(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByUserId2_Last(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByUserId2_PrevAndNext(long relationId,
long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByUserId2(long userId2)
|
java.util.List<SocialRelation> |
findByUserId2(long userId2,
int start,
int end)
|
java.util.List<SocialRelation> |
findByUserId2(long userId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SocialRelation[] |
findByUuid_PrevAndNext(long relationId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SocialRelation> |
findByUuid(java.lang.String uuid)
|
java.util.List<SocialRelation> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<SocialRelation> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
SocialRelation |
remove(long relationId)
|
SocialRelation |
remove(SocialRelation socialRelation)
|
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(java.lang.String uuid)
|
SocialRelation |
update(SocialRelation socialRelation)
Deprecated. Use update(SocialRelation, boolean merge) . |
SocialRelation |
update(SocialRelation socialRelation,
boolean merge)
Add, update, or merge, the entity. |
SocialRelation |
updateImpl(SocialRelation socialRelation,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(SocialRelation socialRelation)
void cacheResult(java.util.List<SocialRelation> socialRelations)
void clearCache()
clearCache
in interface BasePersistence
SocialRelation create(long relationId)
SocialRelation remove(long relationId) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation remove(SocialRelation socialRelation) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation update(SocialRelation socialRelation) throws com.liferay.portal.SystemException
update(SocialRelation, boolean merge)
.
com.liferay.portal.SystemException
SocialRelation update(SocialRelation socialRelation, boolean merge) throws com.liferay.portal.SystemException
socialRelation
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The default
value is false. Setting merge to true is more expensive and
should only be true when socialRelation is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
SocialRelation updateImpl(SocialRelation socialRelation, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByPrimaryKey(long relationId) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation fetchByPrimaryKey(long relationId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByUuid(java.lang.String uuid) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByUuid(java.lang.String uuid, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByUuid_PrevAndNext(long relationId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
java.util.List<SocialRelation> findByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByCompanyId(long companyId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByCompanyId_PrevAndNext(long relationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
java.util.List<SocialRelation> findByUserId1(long userId1) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByUserId1(long userId1, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByUserId1(long userId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByUserId1_First(long userId1, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByUserId1_Last(long userId1, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByUserId1_PrevAndNext(long relationId, long userId1, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
java.util.List<SocialRelation> findByUserId2(long userId2) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByUserId2(long userId2, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByUserId2(long userId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByUserId2_First(long userId2, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByUserId2_Last(long userId2, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByUserId2_PrevAndNext(long relationId, long userId2, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
java.util.List<SocialRelation> findByType(int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByType(int type, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByType(int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByType_First(int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByType_Last(int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByType_PrevAndNext(long relationId, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
java.util.List<SocialRelation> findByC_T(long companyId, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByC_T(long companyId, int type, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByC_T_PrevAndNext(long relationId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
java.util.List<SocialRelation> findByU1_T(long userId1, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByU1_T(long userId1, int type, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByU1_T(long userId1, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByU1_T_First(long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByU1_T_Last(long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByU1_T_PrevAndNext(long relationId, long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
java.util.List<SocialRelation> findByU2_T(long userId2, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByU2_T(long userId2, int type, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findByU2_T(long userId2, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation findByU2_T_First(long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByU2_T_Last(long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation[] findByU2_T_PrevAndNext(long relationId, long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation findByU1_U2_T(long userId1, long userId2, int type) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
SocialRelation fetchByU1_U2_T(long userId1, long userId2, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
SocialRelation fetchByU1_U2_T(long userId1, long userId2, int type, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<SocialRelation> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUuid(java.lang.String uuid) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUserId1(long userId1) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUserId2(long userId2) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByType(int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_T(long companyId, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByU1_T(long userId1, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByU2_T(long userId2, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByU1_U2_T(long userId1, long userId2, int type) throws com.liferay.portal.SystemException, NoSuchRelationException
com.liferay.portal.SystemException
NoSuchRelationException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByUuid(java.lang.String uuid) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByUserId1(long userId1) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByUserId2(long userId2) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByType(int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_T(long companyId, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByU1_T(long userId1, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByU2_T(long userId2, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByU1_U2_T(long userId1, long userId2, int type) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |