com.liferay.portlet.social.service.persistence
Interface SocialRelationPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface SocialRelationPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
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)
|
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 socialRelation, boolean merge) . |
SocialRelation |
update(SocialRelation socialRelation,
boolean merge)
Add, update, or merge, the entity. |
SocialRelation |
updateImpl(SocialRelation socialRelation,
boolean merge)
|
create
SocialRelation create(long relationId)
remove
SocialRelation remove(long relationId)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
remove
SocialRelation remove(SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
SocialRelation update(SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SocialRelation socialRelation, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
SocialRelation update(SocialRelation socialRelation,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
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.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
SocialRelation updateImpl(SocialRelation socialRelation,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByPrimaryKey(long relationId)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
fetchByPrimaryKey
SocialRelation fetchByPrimaryKey(long relationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
- Throws:
com.liferay.portal.SystemException
findByUuid_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUuid_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUuid_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByUuid_PrevAndNext(long relationId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByCompanyId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByCompanyId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByCompanyId_PrevAndNext(long relationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUserId1
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUserId1(long userId1)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId1
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUserId1(long userId1,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId1
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUserId1(long userId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId1_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByUserId1_First(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUserId1_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByUserId1_Last(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUserId1_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByUserId1_PrevAndNext(long relationId,
long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUserId2
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUserId2(long userId2)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId2
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUserId2(long userId2,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId2
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByUserId2(long userId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId2_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByUserId2_First(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUserId2_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByUserId2_Last(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByUserId2_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByUserId2_PrevAndNext(long relationId,
long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByType
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByType(int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByType
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByType(int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByType
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByType(int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByType_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByType_First(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByType_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByType_Last(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByType_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByType_PrevAndNext(long relationId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByC_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByC_T(long companyId,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByC_T(long companyId,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
- Throws:
com.liferay.portal.SystemException
findByC_T_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByC_T_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByC_T_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByU1_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByU1_T(long userId1,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU1_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByU1_T(long userId1,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU1_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
- Throws:
com.liferay.portal.SystemException
findByU1_T_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByU1_T_First(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByU1_T_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByU1_T_Last(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByU1_T_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByU2_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByU2_T(long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU2_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findByU2_T(long userId2,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU2_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
- Throws:
com.liferay.portal.SystemException
findByU2_T_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByU2_T_First(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByU2_T_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByU2_T_Last(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByU2_T_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation[] findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
findByU1_U2_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRelation findByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
fetchByU1_U2_T
SocialRelation fetchByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRelation> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId1
void removeByUserId1(long userId1)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId2
void removeByUserId2(long userId2)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByType
void removeByType(int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_T
void removeByC_T(long companyId,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU1_T
void removeByU1_T(long userId1,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU2_T
void removeByU2_T(long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU1_U2_T
void removeByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException,
NoSuchRelationException
- Throws:
com.liferay.portal.SystemException
NoSuchRelationException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId1
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId1(long userId1)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId2
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId2(long userId2)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByType
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByType(int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_T(long companyId,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU1_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByU1_T(long userId1,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU2_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByU2_T(long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU1_U2_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException