Liferay 6.0.5

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

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

public class SocialActivityFinderImpl
extends BasePersistenceImpl<SocialActivity>
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.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, 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.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, 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 String COUNT_BY_GROUP_ID

COUNT_BY_GROUP_USERS

public static String COUNT_BY_GROUP_USERS

COUNT_BY_ORGANIZATION_ID

public static String COUNT_BY_ORGANIZATION_ID

COUNT_BY_ORGANIZATION_USERS

public static String COUNT_BY_ORGANIZATION_USERS

COUNT_BY_RELATION

public static String COUNT_BY_RELATION

COUNT_BY_RELATION_TYPE

public static String COUNT_BY_RELATION_TYPE

COUNT_BY_USER_GROUPS

public static String COUNT_BY_USER_GROUPS

COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS

public static String COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS

COUNT_BY_USER_ORGANIZATIONS

public static String COUNT_BY_USER_ORGANIZATIONS

FIND_BY_GROUP_ID

public static String FIND_BY_GROUP_ID

FIND_BY_GROUP_USERS

public static String FIND_BY_GROUP_USERS

FIND_BY_ORGANIZATION_ID

public static String FIND_BY_ORGANIZATION_ID

FIND_BY_ORGANIZATION_USERS

public static String FIND_BY_ORGANIZATION_USERS

FIND_BY_RELATION

public static String FIND_BY_RELATION

FIND_BY_RELATION_TYPE

public static String FIND_BY_RELATION_TYPE

FIND_BY_USER_GROUPS

public static String FIND_BY_USER_GROUPS

FIND_BY_USER_GROUPS_AND_ORGANIZATIONS

public static String FIND_BY_USER_GROUPS_AND_ORGANIZATIONS

FIND_BY_USER_ORGANIZATIONS

public static String FIND_BY_USER_ORGANIZATIONS
Constructor Detail

SocialActivityFinderImpl

public SocialActivityFinderImpl()
Method Detail

countByGroupId

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

countByGroupUsers

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

countByOrganizationId

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

countByOrganizationUsers

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

countByRelation

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

countByRelationType

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

countByUserGroups

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

countByUserGroupsAndOrganizations

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

countByUserOrganizations

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

findByGroupId

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

findByGroupUsers

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

findByOrganizationId

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

findByOrganizationUsers

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

findByRelation

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

findByRelationType

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

findByUserGroups

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

findByUserGroupsAndOrganizations

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

findByUserOrganizations

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

Liferay 6.0.5