com.liferay.portlet.social.service.persistence
Class SocialActivitySetFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialActivitySet>
com.liferay.portlet.social.service.persistence.SocialActivitySetFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<SocialActivitySet>, SocialActivitySetFinder
public class SocialActivitySetFinderImpl
- extends BasePersistenceImpl<SocialActivitySet>
- implements SocialActivitySetFinder
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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, WHERE_OR |
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.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, 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 |
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
SocialActivitySetFinderImpl
public SocialActivitySetFinderImpl()
countByRelation
public int countByRelation(long userId)
throws SystemException
- Specified by:
countByRelation
in interface SocialActivitySetFinder
- Throws:
SystemException
countByRelationType
public int countByRelationType(long userId,
int type)
throws SystemException
- Specified by:
countByRelationType
in interface SocialActivitySetFinder
- Throws:
SystemException
countByUser
public int countByUser(long userId)
throws SystemException
- Specified by:
countByUser
in interface SocialActivitySetFinder
- Throws:
SystemException
countByUserGroups
public int countByUserGroups(long userId)
throws SystemException
- Specified by:
countByUserGroups
in interface SocialActivitySetFinder
- Throws:
SystemException
findByRelation
public List<SocialActivitySet> findByRelation(long userId,
int start,
int end)
throws SystemException
- Specified by:
findByRelation
in interface SocialActivitySetFinder
- Throws:
SystemException
findByRelationType
public List<SocialActivitySet> findByRelationType(long userId,
int type,
int start,
int end)
throws SystemException
- Specified by:
findByRelationType
in interface SocialActivitySetFinder
- Throws:
SystemException
findByUser
public List<SocialActivitySet> findByUser(long userId,
int start,
int end)
throws SystemException
- Specified by:
findByUser
in interface SocialActivitySetFinder
- Throws:
SystemException
findByUserGroups
public List<SocialActivitySet> findByUserGroups(long userId,
int start,
int end)
throws SystemException
- Specified by:
findByUserGroups
in interface SocialActivitySetFinder
- Throws:
SystemException