Liferay 7.0-ce-b4

com.liferay.portlet.social.service.persistence.impl
Class SocialActivitySetFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialActivitySet>
      extended by com.liferay.portlet.social.service.persistence.impl.SocialActivitySetFinderBaseImpl
          extended by com.liferay.portlet.social.service.persistence.impl.SocialActivitySetFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<SocialActivitySet>, SocialActivitySetFinder

public class SocialActivitySetFinderImpl
extends SocialActivitySetFinderBaseImpl
implements SocialActivitySetFinder


Field Summary
static String COUNT_BY_RELATION
           
static String COUNT_BY_RELATION_TYPE
           
static String COUNT_BY_USER
           
static String COUNT_BY_USER_GROUPS
           
static String FIND_BY_RELATION
           
static String FIND_BY_RELATION_TYPE
           
static String FIND_BY_USER
           
static String FIND_BY_USER_GROUPS
           
 
Fields inherited from class com.liferay.portlet.social.service.persistence.impl.SocialActivitySetFinderBaseImpl
socialActivitySetPersistence
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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, WHERE_OR
 
Constructor Summary
SocialActivitySetFinderImpl()
           
 
Method Summary
 int countByRelation(long userId)
           
 int countByRelationType(long userId, int type)
           
 int countByUser(long userId)
           
 int countByUserGroups(long userId)
           
 List<SocialActivitySet> findByRelation(long userId, int start, int end)
           
 List<SocialActivitySet> findByRelationType(long userId, int type, int start, int end)
           
 List<SocialActivitySet> findByUser(long userId, int start, int end)
           
 List<SocialActivitySet> findByUserGroups(long userId, int start, int end)
           
 
Methods inherited from class com.liferay.portlet.social.service.persistence.impl.SocialActivitySetFinderBaseImpl
getBadColumnNames, getSocialActivitySetPersistence, setSocialActivitySetPersistence
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_RELATION

public static final String COUNT_BY_RELATION

COUNT_BY_RELATION_TYPE

public static final String COUNT_BY_RELATION_TYPE

COUNT_BY_USER

public static final String COUNT_BY_USER

COUNT_BY_USER_GROUPS

public static final String COUNT_BY_USER_GROUPS

FIND_BY_RELATION

public static final String FIND_BY_RELATION

FIND_BY_RELATION_TYPE

public static final String FIND_BY_RELATION_TYPE

FIND_BY_USER

public static final String FIND_BY_USER

FIND_BY_USER_GROUPS

public static final String FIND_BY_USER_GROUPS
Constructor Detail

SocialActivitySetFinderImpl

public SocialActivitySetFinderImpl()
Method Detail

countByRelation

public int countByRelation(long userId)
Specified by:
countByRelation in interface SocialActivitySetFinder

countByRelationType

public int countByRelationType(long userId,
                               int type)
Specified by:
countByRelationType in interface SocialActivitySetFinder

countByUser

public int countByUser(long userId)
Specified by:
countByUser in interface SocialActivitySetFinder

countByUserGroups

public int countByUserGroups(long userId)
Specified by:
countByUserGroups in interface SocialActivitySetFinder

findByRelation

public List<SocialActivitySet> findByRelation(long userId,
                                              int start,
                                              int end)
Specified by:
findByRelation in interface SocialActivitySetFinder

findByRelationType

public List<SocialActivitySet> findByRelationType(long userId,
                                                  int type,
                                                  int start,
                                                  int end)
Specified by:
findByRelationType in interface SocialActivitySetFinder

findByUser

public List<SocialActivitySet> findByUser(long userId,
                                          int start,
                                          int end)
Specified by:
findByUser in interface SocialActivitySetFinder

findByUserGroups

public List<SocialActivitySet> findByUserGroups(long userId,
                                                int start,
                                                int end)
Specified by:
findByUserGroups in interface SocialActivitySetFinder

Liferay 7.0-ce-b4