com.liferay.portlet.social.service.persistence
Class SocialRelationPersistenceImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl
com.liferay.portlet.social.service.persistence.SocialRelationPersistenceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.social.service.persistence.SocialRelationPersistence
public class SocialRelationPersistenceImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
- implements com.liferay.portlet.social.service.persistence.SocialRelationPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, listeners |
Method Summary |
void |
afterPropertiesSet()
|
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)
|
com.liferay.portlet.social.model.SocialRelation |
create(long relationId)
|
com.liferay.portlet.social.model.SocialRelation |
fetchByPrimaryKey(long relationId)
|
com.liferay.portlet.social.model.SocialRelation |
fetchByU1_U2_T(long userId1,
long userId2,
int type)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findAll()
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findAll(int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByC_T(long companyId,
int type)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByC_T(long companyId,
int type,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByC_T(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByCompanyId_PrevAndNext(long relationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByCompanyId(long companyId)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByPrimaryKey(long relationId)
|
com.liferay.portlet.social.model.SocialRelation |
findByType_First(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByType_Last(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByType_PrevAndNext(long relationId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByType(int type)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByType(int type,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByType(int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByU1_T_First(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByU1_T_Last(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByU1_T(long userId1,
int type)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByU1_T(long userId1,
int type,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByU1_T(long userId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByU1_U2_T(long userId1,
long userId2,
int type)
|
com.liferay.portlet.social.model.SocialRelation |
findByU2_T_First(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByU2_T_Last(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByU2_T(long userId2,
int type)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByU2_T(long userId2,
int type,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByU2_T(long userId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByUserId1_First(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByUserId1_Last(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByUserId1_PrevAndNext(long relationId,
long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUserId1(long userId1)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUserId1(long userId1,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUserId1(long userId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByUserId2_First(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByUserId2_Last(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByUserId2_PrevAndNext(long relationId,
long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUserId2(long userId2)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUserId2(long userId2,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUserId2(long userId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.social.model.SocialRelation[] |
findByUuid_PrevAndNext(long relationId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUuid(java.lang.String uuid)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.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)
|
com.liferay.portlet.social.model.SocialRelation |
remove(long relationId)
|
com.liferay.portlet.social.model.SocialRelation |
remove(com.liferay.portlet.social.model.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)
|
protected com.liferay.portlet.social.model.SocialRelation |
removeImpl(com.liferay.portlet.social.model.SocialRelation socialRelation)
|
com.liferay.portlet.social.model.SocialRelation |
update(com.liferay.portlet.social.model.SocialRelation socialRelation)
Deprecated. Use update(SocialRelation socialRelation, boolean merge) . |
com.liferay.portlet.social.model.SocialRelation |
update(com.liferay.portlet.social.model.SocialRelation socialRelation,
boolean merge)
Add, update, or merge, the entity. |
com.liferay.portlet.social.model.SocialRelation |
updateImpl(com.liferay.portlet.social.model.SocialRelation socialRelation,
boolean merge)
|
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener |
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 |
getListeners, registerListener, unregisterListener |
socialActivityPersistence
@BeanReference(name="com.liferay.portlet.social.service.persistence.SocialActivityPersistence.impl")
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
socialRelationPersistence
@BeanReference(name="com.liferay.portlet.social.service.persistence.SocialRelationPersistence.impl")
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence
socialRequestPersistence
@BeanReference(name="com.liferay.portlet.social.service.persistence.SocialRequestPersistence.impl")
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence
userPersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserPersistence.impl")
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
SocialRelationPersistenceImpl
public SocialRelationPersistenceImpl()
create
public com.liferay.portlet.social.model.SocialRelation create(long relationId)
- Specified by:
create
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
remove
public com.liferay.portlet.social.model.SocialRelation remove(long relationId)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.social.model.SocialRelation remove(com.liferay.portlet.social.model.SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeImpl
protected com.liferay.portlet.social.model.SocialRelation removeImpl(com.liferay.portlet.social.model.SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.social.model.SocialRelation update(com.liferay.portlet.social.model.SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SocialRelation socialRelation, boolean merge)
.
- Specified by:
update
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.social.model.SocialRelation update(com.liferay.portlet.social.model.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.
- Specified by:
update
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- 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
public com.liferay.portlet.social.model.SocialRelation updateImpl(com.liferay.portlet.social.model.SocialRelation socialRelation,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateImpl
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.social.model.SocialRelation findByPrimaryKey(long relationId)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.social.model.SocialRelation fetchByPrimaryKey(long relationId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Specified by:
findByUuid
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByUuid
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByUuid
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid_First
public com.liferay.portlet.social.model.SocialRelation findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUuid_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUuid_Last
public com.liferay.portlet.social.model.SocialRelation findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUuid_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUuid_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByUuid_PrevAndNext(long relationId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUuid_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public com.liferay.portlet.social.model.SocialRelation findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByCompanyId_Last
public com.liferay.portlet.social.model.SocialRelation findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByCompanyId_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByCompanyId_PrevAndNext(long relationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUserId1
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId1(long userId1)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId1
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId1
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId1(long userId1,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId1
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId1
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId1(long userId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId1
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId1_First
public com.liferay.portlet.social.model.SocialRelation findByUserId1_First(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUserId1_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUserId1_Last
public com.liferay.portlet.social.model.SocialRelation findByUserId1_Last(long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUserId1_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUserId1_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByUserId1_PrevAndNext(long relationId,
long userId1,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUserId1_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUserId2
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId2(long userId2)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId2
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId2
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId2(long userId2,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId2
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId2
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId2(long userId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId2
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId2_First
public com.liferay.portlet.social.model.SocialRelation findByUserId2_First(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUserId2_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUserId2_Last
public com.liferay.portlet.social.model.SocialRelation findByUserId2_Last(long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUserId2_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByUserId2_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByUserId2_PrevAndNext(long relationId,
long userId2,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByUserId2_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByType
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByType(int type)
throws com.liferay.portal.SystemException
- Specified by:
findByType
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByType
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByType(int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByType
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByType
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByType(int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByType
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByType_First
public com.liferay.portlet.social.model.SocialRelation findByType_First(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByType_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByType_Last
public com.liferay.portlet.social.model.SocialRelation findByType_Last(int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByType_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByType_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByType_PrevAndNext(long relationId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByType_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByC_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByC_T(long companyId,
int type)
throws com.liferay.portal.SystemException
- Specified by:
findByC_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByC_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByC_T(long companyId,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByC_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByC_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByC_T(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByC_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByC_T_First
public com.liferay.portlet.social.model.SocialRelation findByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByC_T_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByC_T_Last
public com.liferay.portlet.social.model.SocialRelation findByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByC_T_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByC_T_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByC_T_PrevAndNext(long relationId,
long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByC_T_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByU1_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU1_T(long userId1,
int type)
throws com.liferay.portal.SystemException
- Specified by:
findByU1_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByU1_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU1_T(long userId1,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByU1_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByU1_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU1_T(long userId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByU1_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByU1_T_First
public com.liferay.portlet.social.model.SocialRelation findByU1_T_First(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByU1_T_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByU1_T_Last
public com.liferay.portlet.social.model.SocialRelation findByU1_T_Last(long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByU1_T_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByU1_T_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByU1_T_PrevAndNext(long relationId,
long userId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByU1_T_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByU2_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU2_T(long userId2,
int type)
throws com.liferay.portal.SystemException
- Specified by:
findByU2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByU2_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU2_T(long userId2,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByU2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByU2_T
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU2_T(long userId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByU2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findByU2_T_First
public com.liferay.portlet.social.model.SocialRelation findByU2_T_First(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByU2_T_First
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByU2_T_Last
public com.liferay.portlet.social.model.SocialRelation findByU2_T_Last(long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByU2_T_Last
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByU2_T_PrevAndNext
public com.liferay.portlet.social.model.SocialRelation[] findByU2_T_PrevAndNext(long relationId,
long userId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByU2_T_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
findByU1_U2_T
public com.liferay.portlet.social.model.SocialRelation findByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
findByU1_U2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
fetchByU1_U2_T
public com.liferay.portlet.social.model.SocialRelation fetchByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Specified by:
fetchByU1_U2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.social.model.SocialRelation> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByUuid
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Specified by:
removeByUuid
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
removeByCompanyId
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByUserId1
public void removeByUserId1(long userId1)
throws com.liferay.portal.SystemException
- Specified by:
removeByUserId1
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByUserId2
public void removeByUserId2(long userId2)
throws com.liferay.portal.SystemException
- Specified by:
removeByUserId2
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByType
public void removeByType(int type)
throws com.liferay.portal.SystemException
- Specified by:
removeByType
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByC_T
public void removeByC_T(long companyId,
int type)
throws com.liferay.portal.SystemException
- Specified by:
removeByC_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByU1_T
public void removeByU1_T(long userId1,
int type)
throws com.liferay.portal.SystemException
- Specified by:
removeByU1_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByU2_T
public void removeByU2_T(long userId2,
int type)
throws com.liferay.portal.SystemException
- Specified by:
removeByU2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
removeByU1_U2_T
public void removeByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portlet.social.NoSuchRelationException,
com.liferay.portal.SystemException
- Specified by:
removeByU1_U2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByUuid
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Specified by:
countByUuid
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
countByCompanyId
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByUserId1
public int countByUserId1(long userId1)
throws com.liferay.portal.SystemException
- Specified by:
countByUserId1
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByUserId2
public int countByUserId2(long userId2)
throws com.liferay.portal.SystemException
- Specified by:
countByUserId2
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByType
public int countByType(int type)
throws com.liferay.portal.SystemException
- Specified by:
countByType
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByC_T
public int countByC_T(long companyId,
int type)
throws com.liferay.portal.SystemException
- Specified by:
countByC_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByU1_T
public int countByU1_T(long userId1,
int type)
throws com.liferay.portal.SystemException
- Specified by:
countByU1_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByU2_T
public int countByU2_T(long userId2,
int type)
throws com.liferay.portal.SystemException
- Specified by:
countByU2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countByU1_U2_T
public int countByU1_U2_T(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Specified by:
countByU1_U2_T
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
- Throws:
com.liferay.portal.SystemException
afterPropertiesSet
public void afterPropertiesSet()