com.liferay.portlet.social.service.persistence
Interface SocialActivityFinder


public interface SocialActivityFinder

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countByGroupId(long groupId)
           
 int countByOrganizationId(long organizationId)
           
 int countByRelation(long userId)
           
 int countByRelationType(long userId, int type)
           
 java.util.List<SocialActivity> findByGroupId(long groupId, int start, int end)
           
 java.util.List<SocialActivity> findByOrganizationId(long organizationId, int start, int end)
           
 java.util.List<SocialActivity> findByRelation(long userId, int start, int end)
           
 java.util.List<SocialActivity> findByRelationType(long userId, int type, int start, int end)
           
 

Method Detail

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByOrganizationId

int countByOrganizationId(long organizationId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByRelation

int countByRelation(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByRelationType

int countByRelationType(long userId,
                        int type)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<SocialActivity> findByGroupId(long groupId,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrganizationId

java.util.List<SocialActivity> findByOrganizationId(long organizationId,
                                                    int start,
                                                    int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRelation

java.util.List<SocialActivity> findByRelation(long userId,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRelationType

java.util.List<SocialActivity> findByRelationType(long userId,
                                                  int type,
                                                  int start,
                                                  int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException