Liferay 7.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialActivity>
      extended by com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderBaseImpl
          extended by com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<SocialActivity>, SocialActivityFinder

public class SocialActivityFinderImpl
extends SocialActivityFinderBaseImpl
implements SocialActivityFinder


Field Summary
static String COUNT_BY_GROUP_ID
           
static String COUNT_BY_GROUP_USERS
           
static String COUNT_BY_ORGANIZATION_ID
           
static String COUNT_BY_ORGANIZATION_USERS
           
static String COUNT_BY_RELATION
           
static String COUNT_BY_RELATION_TYPE
           
static String COUNT_BY_USER_GROUPS
           
static String COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS
           
static String COUNT_BY_USER_ORGANIZATIONS
           
static String FIND_BY_GROUP_ID
           
static String FIND_BY_GROUP_USERS
           
static String FIND_BY_ORGANIZATION_ID
           
static String FIND_BY_ORGANIZATION_USERS
           
static String FIND_BY_RELATION
           
static String FIND_BY_RELATION_TYPE
           
static String FIND_BY_USER_GROUPS
           
static String FIND_BY_USER_GROUPS_AND_ORGANIZATIONS
           
static String FIND_BY_USER_ORGANIZATIONS
           
 
Fields inherited from class com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderBaseImpl
socialActivityPersistence
 
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
SocialActivityFinderImpl()
           
 
Method Summary
 int countByGroupId(long groupId)
           
 int countByGroupUsers(long groupId)
           
 int countByOrganizationId(long organizationId)
           
 int countByOrganizationUsers(long organizationId)
           
 int countByRelation(long userId)
           
 int countByRelationType(long userId, int type)
           
 int countByUserGroups(long userId)
           
 int countByUserGroupsAndOrganizations(long userId)
           
 int countByUserOrganizations(long userId)
           
 List<SocialActivity> findByGroupId(long groupId, int start, int end)
           
 List<SocialActivity> findByGroupUsers(long groupId, int start, int end)
           
 List<SocialActivity> findByOrganizationId(long organizationId, int start, int end)
           
 List<SocialActivity> findByOrganizationUsers(long organizationId, int start, int end)
           
 List<SocialActivity> findByRelation(long userId, int start, int end)
           
 List<SocialActivity> findByRelationType(long userId, int type, int start, int end)
           
 List<SocialActivity> findByUserGroups(long userId, int start, int end)
           
 List<SocialActivity> findByUserGroupsAndOrganizations(long userId, int start, int end)
           
 List<SocialActivity> findByUserOrganizations(long userId, int start, int end)
           
 
Methods inherited from class com.liferay.portlet.social.service.persistence.impl.SocialActivityFinderBaseImpl
getBadColumnNames, getSocialActivityPersistence, setSocialActivityPersistence
 
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_GROUP_ID

public static final String COUNT_BY_GROUP_ID

COUNT_BY_GROUP_USERS

public static final String COUNT_BY_GROUP_USERS

COUNT_BY_ORGANIZATION_ID

public static final String COUNT_BY_ORGANIZATION_ID

COUNT_BY_ORGANIZATION_USERS

public static final String COUNT_BY_ORGANIZATION_USERS

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_GROUPS

public static final String COUNT_BY_USER_GROUPS

COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS

public static final String COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS

COUNT_BY_USER_ORGANIZATIONS

public static final String COUNT_BY_USER_ORGANIZATIONS

FIND_BY_GROUP_ID

public static final String FIND_BY_GROUP_ID

FIND_BY_GROUP_USERS

public static final String FIND_BY_GROUP_USERS

FIND_BY_ORGANIZATION_ID

public static final String FIND_BY_ORGANIZATION_ID

FIND_BY_ORGANIZATION_USERS

public static final String FIND_BY_ORGANIZATION_USERS

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_GROUPS

public static final String FIND_BY_USER_GROUPS

FIND_BY_USER_GROUPS_AND_ORGANIZATIONS

public static final String FIND_BY_USER_GROUPS_AND_ORGANIZATIONS

FIND_BY_USER_ORGANIZATIONS

public static final String FIND_BY_USER_ORGANIZATIONS
Constructor Detail

SocialActivityFinderImpl

public SocialActivityFinderImpl()
Method Detail

countByGroupId

public int countByGroupId(long groupId)
Specified by:
countByGroupId in interface SocialActivityFinder

countByGroupUsers

public int countByGroupUsers(long groupId)
Specified by:
countByGroupUsers in interface SocialActivityFinder

countByOrganizationId

public int countByOrganizationId(long organizationId)
Specified by:
countByOrganizationId in interface SocialActivityFinder

countByOrganizationUsers

public int countByOrganizationUsers(long organizationId)
Specified by:
countByOrganizationUsers in interface SocialActivityFinder

countByRelation

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

countByRelationType

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

countByUserGroups

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

countByUserGroupsAndOrganizations

public int countByUserGroupsAndOrganizations(long userId)
Specified by:
countByUserGroupsAndOrganizations in interface SocialActivityFinder

countByUserOrganizations

public int countByUserOrganizations(long userId)
Specified by:
countByUserOrganizations in interface SocialActivityFinder

findByGroupId

public List<SocialActivity> findByGroupId(long groupId,
                                          int start,
                                          int end)
Specified by:
findByGroupId in interface SocialActivityFinder

findByGroupUsers

public List<SocialActivity> findByGroupUsers(long groupId,
                                             int start,
                                             int end)
Specified by:
findByGroupUsers in interface SocialActivityFinder

findByOrganizationId

public List<SocialActivity> findByOrganizationId(long organizationId,
                                                 int start,
                                                 int end)
Specified by:
findByOrganizationId in interface SocialActivityFinder

findByOrganizationUsers

public List<SocialActivity> findByOrganizationUsers(long organizationId,
                                                    int start,
                                                    int end)
Specified by:
findByOrganizationUsers in interface SocialActivityFinder

findByRelation

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

findByRelationType

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

findByUserGroups

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

findByUserGroupsAndOrganizations

public List<SocialActivity> findByUserGroupsAndOrganizations(long userId,
                                                             int start,
                                                             int end)
Specified by:
findByUserGroupsAndOrganizations in interface SocialActivityFinder

findByUserOrganizations

public List<SocialActivity> findByUserOrganizations(long userId,
                                                    int start,
                                                    int end)
Specified by:
findByUserOrganizations in interface SocialActivityFinder

Liferay 7.0-ce-b4