com.liferay.portlet.social.service.persistence
Class SocialRelationPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>
      extended by 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.model.SocialRelation>, com.liferay.portlet.social.service.persistence.SocialRelationPersistence

public class SocialRelationPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>
implements com.liferay.portlet.social.service.persistence.SocialRelationPersistence

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
SocialRelationPersistence, SocialRelationUtil
Generated:

Field Summary
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TYPE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U1_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U1_U2_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U2_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID1
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID2
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_U1_U2_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_TYPE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_U1_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_U2_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_USERID1
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_USERID2
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT
 
Constructor Summary
SocialRelationPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(java.util.List<com.liferay.portlet.social.model.SocialRelation> socialRelations)
           
 void cacheResult(com.liferay.portlet.social.model.SocialRelation socialRelation)
           
 void clearCache()
           
 void clearCache(com.liferay.portlet.social.model.SocialRelation socialRelation)
           
 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)
           
 void destroy()
           
 com.liferay.portlet.social.model.SocialRelation fetchByPrimaryKey(long relationId)
           
 com.liferay.portlet.social.model.SocialRelation fetchByPrimaryKey(java.io.Serializable primaryKey)
           
 com.liferay.portlet.social.model.SocialRelation fetchByU1_U2_T(long userId1, long userId2, int type)
           
 com.liferay.portlet.social.model.SocialRelation fetchByU1_U2_T(long userId1, long userId2, int type, boolean retrieveFromCache)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByC_T_PrevAndNext(long relationId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByCompanyId_PrevAndNext(long relationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByPrimaryKey(long relationId)
           
 com.liferay.portlet.social.model.SocialRelation findByPrimaryKey(java.io.Serializable primaryKey)
           
 com.liferay.portlet.social.model.SocialRelation findByType_First(int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByType_Last(int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByType_PrevAndNext(long relationId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByU1_T_First(long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByU1_T_Last(long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByU1_T_PrevAndNext(long relationId, long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByU2_T_Last(long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByU2_T_PrevAndNext(long relationId, long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByUserId1_First(long userId1, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByUserId1_Last(long userId1, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByUserId1_PrevAndNext(long relationId, long userId1, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByUserId2_First(long userId2, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByUserId2_Last(long userId2, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByUserId2_PrevAndNext(long relationId, long userId2, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.social.model.SocialRelation[] findByUuid_PrevAndNext(long relationId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
protected  com.liferay.portlet.social.model.SocialRelation getByC_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.social.model.SocialRelation getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.social.model.SocialRelation getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.social.model.SocialRelation getByU1_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.social.model.SocialRelation getByU2_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.social.model.SocialRelation getByUserId1_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, long userId1, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.social.model.SocialRelation getByUserId2_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, long userId2, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.social.model.SocialRelation getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.social.model.SocialRelation socialRelation, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 com.liferay.portlet.social.model.SocialRelation remove(long relationId)
           
 com.liferay.portlet.social.model.SocialRelation remove(java.io.Serializable primaryKey)
           
 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)
           
protected  com.liferay.portlet.social.model.SocialRelation toUnwrappedModel(com.liferay.portlet.social.model.SocialRelation socialRelation)
           
 com.liferay.portlet.social.model.SocialRelation update(com.liferay.portlet.social.model.SocialRelation socialRelation)
          Deprecated. Use BasePersistence#update(com.liferay.portal.model.BaseModel, boolean).
 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
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final java.lang.String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_USERID1

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_USERID1

FINDER_PATH_COUNT_BY_USERID1

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID1

FINDER_PATH_FIND_BY_USERID2

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_USERID2

FINDER_PATH_COUNT_BY_USERID2

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID2

FINDER_PATH_FIND_BY_TYPE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_TYPE

FINDER_PATH_COUNT_BY_TYPE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TYPE

FINDER_PATH_FIND_BY_C_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_T

FINDER_PATH_COUNT_BY_C_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_T

FINDER_PATH_FIND_BY_U1_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_U1_T

FINDER_PATH_COUNT_BY_U1_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U1_T

FINDER_PATH_FIND_BY_U2_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_U2_T

FINDER_PATH_COUNT_BY_U2_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U2_T

FINDER_PATH_FETCH_BY_U1_U2_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_U1_U2_T

FINDER_PATH_COUNT_BY_U1_U2_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U1_U2_T

FINDER_PATH_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

socialActivityPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence

socialRelationPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRelationPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence

socialRequestPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRequestPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

SocialRelationPersistenceImpl

public SocialRelationPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.social.model.SocialRelation socialRelation)
Specified by:
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.social.model.SocialRelation> socialRelations)
Specified by:
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence

clearCache

public void clearCache()
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialRelation>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>

clearCache

public void clearCache(com.liferay.portlet.social.model.SocialRelation socialRelation)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialRelation>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>

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(java.io.Serializable primaryKey)
                                                       throws com.liferay.portal.NoSuchModelException,
                                                              com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialRelation>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>
Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.SystemException

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

removeImpl

protected com.liferay.portlet.social.model.SocialRelation removeImpl(com.liferay.portlet.social.model.SocialRelation socialRelation)
                                                              throws com.liferay.portal.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>
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 BasePersistence#update(com.liferay.portal.model.BaseModel, boolean).

Specified by:
update in interface com.liferay.portlet.social.service.persistence.SocialRelationPersistence
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
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>
Throws:
com.liferay.portal.SystemException

toUnwrappedModel

protected com.liferay.portlet.social.model.SocialRelation toUnwrappedModel(com.liferay.portlet.social.model.SocialRelation socialRelation)

findByPrimaryKey

public com.liferay.portlet.social.model.SocialRelation findByPrimaryKey(java.io.Serializable primaryKey)
                                                                 throws com.liferay.portal.NoSuchModelException,
                                                                        com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialRelation>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>
Throws:
com.liferay.portal.NoSuchModelException
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(java.io.Serializable primaryKey)
                                                                  throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialRelation>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialRelation>
Throws:
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 orderByComparator)
                                                                           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 orderByComparator)
                                                                 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 orderByComparator)
                                                                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 orderByComparator)
                                                                         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

getByUuid_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                                java.lang.String uuid,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                boolean previous)

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 orderByComparator)
                                                                                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 orderByComparator)
                                                                      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 orderByComparator)
                                                                     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 orderByComparator)
                                                                              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

getByCompanyId_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                     com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                                     long companyId,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                     boolean previous)

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 orderByComparator)
                                                                              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 orderByComparator)
                                                                    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 orderByComparator)
                                                                   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 orderByComparator)
                                                                            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

getByUserId1_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByUserId1_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                   com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                                   long userId1,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                   boolean previous)

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 orderByComparator)
                                                                              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 orderByComparator)
                                                                    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 orderByComparator)
                                                                   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 orderByComparator)
                                                                            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

getByUserId2_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByUserId2_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                   com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                                   long userId2,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                   boolean previous)

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 orderByComparator)
                                                                           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 orderByComparator)
                                                                 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 orderByComparator)
                                                                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 orderByComparator)
                                                                         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

getByType_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                                int type,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                boolean previous)

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 orderByComparator)
                                                                          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 orderByComparator)
                                                                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 orderByComparator)
                                                               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 orderByComparator)
                                                                        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

getByC_T_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByC_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                               com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                               long companyId,
                                                                               int type,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                               boolean previous)

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 orderByComparator)
                                                                           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 orderByComparator)
                                                                 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 orderByComparator)
                                                                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 orderByComparator)
                                                                         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

getByU1_T_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByU1_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                                long userId1,
                                                                                int type,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                boolean previous)

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 orderByComparator)
                                                                           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 orderByComparator)
                                                                 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 orderByComparator)
                                                                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 orderByComparator)
                                                                         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

getByU2_T_PrevAndNext

protected com.liferay.portlet.social.model.SocialRelation getByU2_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                com.liferay.portlet.social.model.SocialRelation socialRelation,
                                                                                long userId2,
                                                                                int type,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                boolean previous)

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

fetchByU1_U2_T

public com.liferay.portlet.social.model.SocialRelation fetchByU1_U2_T(long userId1,
                                                                      long userId2,
                                                                      int type,
                                                                      boolean retrieveFromCache)
                                                               throws com.liferay.portal.SystemException
Specified by:
fetchByU1_U2_T 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 orderByComparator)
                                                                        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()

destroy

public void destroy()