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

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

public class SocialActivityFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.social.service.persistence.SocialActivityFinder

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_GROUP_ID
           
static java.lang.String COUNT_BY_GROUP_USERS
           
static java.lang.String COUNT_BY_ORGANIZATION_ID
           
static java.lang.String COUNT_BY_ORGANIZATION_USERS
           
static java.lang.String COUNT_BY_RELATION
           
static java.lang.String COUNT_BY_RELATION_TYPE
           
static java.lang.String COUNT_BY_USER_GROUPS
           
static java.lang.String COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS
           
static java.lang.String COUNT_BY_USER_ORGANIZATIONS
           
static java.lang.String FIND_BY_GROUP_ID
           
static java.lang.String FIND_BY_GROUP_USERS
           
static java.lang.String FIND_BY_ORGANIZATION_ID
           
static java.lang.String FIND_BY_ORGANIZATION_USERS
           
static java.lang.String FIND_BY_RELATION
           
static java.lang.String FIND_BY_RELATION_TYPE
           
static java.lang.String FIND_BY_USER_GROUPS
           
static java.lang.String FIND_BY_USER_GROUPS_AND_ORGANIZATIONS
           
static java.lang.String FIND_BY_USER_ORGANIZATIONS
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
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)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupUsers(long groupId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationId(long organizationId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationUsers(long organizationId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelation(long userId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelationType(long userId, int type, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroups(long userId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroupsAndOrganizations(long userId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserOrganizations(long userId, int start, int end)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
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 java.lang.String COUNT_BY_GROUP_ID

COUNT_BY_GROUP_USERS

public static java.lang.String COUNT_BY_GROUP_USERS

COUNT_BY_ORGANIZATION_ID

public static java.lang.String COUNT_BY_ORGANIZATION_ID

COUNT_BY_ORGANIZATION_USERS

public static java.lang.String COUNT_BY_ORGANIZATION_USERS

COUNT_BY_RELATION

public static java.lang.String COUNT_BY_RELATION

COUNT_BY_RELATION_TYPE

public static java.lang.String COUNT_BY_RELATION_TYPE

COUNT_BY_USER_GROUPS

public static java.lang.String COUNT_BY_USER_GROUPS

COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS

public static java.lang.String COUNT_BY_USER_GROUPS_AND_ORGANIZATIONS

COUNT_BY_USER_ORGANIZATIONS

public static java.lang.String COUNT_BY_USER_ORGANIZATIONS

FIND_BY_GROUP_ID

public static java.lang.String FIND_BY_GROUP_ID

FIND_BY_GROUP_USERS

public static java.lang.String FIND_BY_GROUP_USERS

FIND_BY_ORGANIZATION_ID

public static java.lang.String FIND_BY_ORGANIZATION_ID

FIND_BY_ORGANIZATION_USERS

public static java.lang.String FIND_BY_ORGANIZATION_USERS

FIND_BY_RELATION

public static java.lang.String FIND_BY_RELATION

FIND_BY_RELATION_TYPE

public static java.lang.String FIND_BY_RELATION_TYPE

FIND_BY_USER_GROUPS

public static java.lang.String FIND_BY_USER_GROUPS

FIND_BY_USER_GROUPS_AND_ORGANIZATIONS

public static java.lang.String FIND_BY_USER_GROUPS_AND_ORGANIZATIONS

FIND_BY_USER_ORGANIZATIONS

public static java.lang.String FIND_BY_USER_ORGANIZATIONS
Constructor Detail

SocialActivityFinderImpl

public SocialActivityFinderImpl()
Method Detail

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Specified by:
countByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByGroupUsers

public int countByGroupUsers(long groupId)
                      throws com.liferay.portal.SystemException
Specified by:
countByGroupUsers in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByOrganizationId

public int countByOrganizationId(long organizationId)
                          throws com.liferay.portal.SystemException
Specified by:
countByOrganizationId in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByOrganizationUsers

public int countByOrganizationUsers(long organizationId)
                             throws com.liferay.portal.SystemException
Specified by:
countByOrganizationUsers in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByRelation

public int countByRelation(long userId)
                    throws com.liferay.portal.SystemException
Specified by:
countByRelation in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByRelationType

public int countByRelationType(long userId,
                               int type)
                        throws com.liferay.portal.SystemException
Specified by:
countByRelationType in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByUserGroups

public int countByUserGroups(long userId)
                      throws com.liferay.portal.SystemException
Specified by:
countByUserGroups in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByUserGroupsAndOrganizations

public int countByUserGroupsAndOrganizations(long userId)
                                      throws com.liferay.portal.SystemException
Specified by:
countByUserGroupsAndOrganizations in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

countByUserOrganizations

public int countByUserOrganizations(long userId)
                             throws com.liferay.portal.SystemException
Specified by:
countByUserOrganizations in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByGroupUsers

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupUsers(long groupId,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findByGroupUsers in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByOrganizationId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationId(long organizationId,
                                                                                            int start,
                                                                                            int end)
                                                                                     throws com.liferay.portal.SystemException
Specified by:
findByOrganizationId in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByOrganizationUsers

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationUsers(long organizationId,
                                                                                               int start,
                                                                                               int end)
                                                                                        throws com.liferay.portal.SystemException
Specified by:
findByOrganizationUsers in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByRelation

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelation(long userId,
                                                                                      int start,
                                                                                      int end)
                                                                               throws com.liferay.portal.SystemException
Specified by:
findByRelation in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByRelationType

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelationType(long userId,
                                                                                          int type,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByRelationType in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByUserGroups

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroups(long userId,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findByUserGroups in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByUserGroupsAndOrganizations

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroupsAndOrganizations(long userId,
                                                                                                        int start,
                                                                                                        int end)
                                                                                                 throws com.liferay.portal.SystemException
Specified by:
findByUserGroupsAndOrganizations in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException

findByUserOrganizations

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserOrganizations(long userId,
                                                                                               int start,
                                                                                               int end)
                                                                                        throws com.liferay.portal.SystemException
Specified by:
findByUserOrganizations in interface com.liferay.portlet.social.service.persistence.SocialActivityFinder
Throws:
com.liferay.portal.SystemException