com.liferay.portlet.social.service.impl
Class SocialActivityLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.social.service.base.SocialActivityLocalServiceBaseImpl
      extended by com.liferay.portlet.social.service.impl.SocialActivityLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.social.service.SocialActivityLocalService

public class SocialActivityLocalServiceImpl
extends SocialActivityLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.social.service.base.SocialActivityLocalServiceBaseImpl
counterLocalService, counterService, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLocalService, socialActivityPersistence, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SocialActivityLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.social.model.SocialActivity addActivity(long userId, long groupId, java.util.Date createDate, java.lang.String className, long classPK, int type, java.lang.String extraData, long receiverUserId)
           
 com.liferay.portlet.social.model.SocialActivity addActivity(long userId, long groupId, java.lang.String className, long classPK, int type, java.lang.String extraData, long receiverUserId)
           
 com.liferay.portlet.social.model.SocialActivity addUniqueActivity(long userId, long groupId, java.util.Date createDate, java.lang.String className, long classPK, int type, java.lang.String extraData, long receiverUserId)
           
 com.liferay.portlet.social.model.SocialActivity addUniqueActivity(long userId, long groupId, java.lang.String className, long classPK, int type, java.lang.String extraData, long receiverUserId)
           
 void deleteActivities(long classNameId, long classPK)
           
 void deleteActivities(java.lang.String className, long classPK)
           
 void deleteActivity(long activityId)
           
 void deleteUserActivities(long userId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(long classNameId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(long mirrorActivityId, long classNameId, long classPK, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(long mirrorActivityId, java.lang.String className, long classPK, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(java.lang.String className, int start, int end)
           
 int getActivitiesCount(long classNameId)
           
 int getActivitiesCount(long mirrorActivityId, long classNameId, long classPK)
           
 int getActivitiesCount(long mirrorActivityId, java.lang.String className, long classPK)
           
 int getActivitiesCount(java.lang.String className)
           
 com.liferay.portlet.social.model.SocialActivity getActivity(long activityId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupActivities(long groupId, int start, int end)
           
 int getGroupActivitiesCount(long groupId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupUsersActivities(long groupId, int start, int end)
           
 int getGroupUsersActivitiesCount(long groupId)
           
 com.liferay.portlet.social.model.SocialActivity getMirrorActivity(long mirrorActivityId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationActivities(long organizationId, int start, int end)
           
 int getOrganizationActivitiesCount(long organizationId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationUsersActivities(long organizationId, int start, int end)
           
 int getOrganizationUsersActivitiesCount(long organizationId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(long userId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(long userId, int type, int start, int end)
           
 int getRelationActivitiesCount(long userId)
           
 int getRelationActivitiesCount(long userId, int type)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserActivities(long userId, int start, int end)
           
 int getUserActivitiesCount(long userId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsActivities(long userId, int start, int end)
           
 int getUserGroupsActivitiesCount(long userId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsAndOrganizationsActivities(long userId, int start, int end)
           
 int getUserGroupsAndOrganizationsActivitiesCount(long userId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserOrganizationsActivities(long userId, int start, int end)
           
 int getUserOrganizationsActivitiesCount(long userId)
           
 
Methods inherited from class com.liferay.portlet.social.service.base.SocialActivityLocalServiceBaseImpl
addSocialActivity, createSocialActivity, deleteSocialActivity, deleteSocialActivity, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getSocialActivities, getSocialActivitiesCount, getSocialActivity, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLocalService, getSocialActivityPersistence, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLocalService, setSocialActivityPersistence, setSocialRelationLocalService, setSocialRelationPersistence, setSocialRequestInterpreterLocalService, setSocialRequestLocalService, setSocialRequestPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSocialActivity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialActivityLocalServiceImpl

public SocialActivityLocalServiceImpl()
Method Detail

addActivity

public com.liferay.portlet.social.model.SocialActivity addActivity(long userId,
                                                                   long groupId,
                                                                   java.lang.String className,
                                                                   long classPK,
                                                                   int type,
                                                                   java.lang.String extraData,
                                                                   long receiverUserId)
                                                            throws com.liferay.portal.PortalException,
                                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addActivity

public com.liferay.portlet.social.model.SocialActivity addActivity(long userId,
                                                                   long groupId,
                                                                   java.util.Date createDate,
                                                                   java.lang.String className,
                                                                   long classPK,
                                                                   int type,
                                                                   java.lang.String extraData,
                                                                   long receiverUserId)
                                                            throws com.liferay.portal.PortalException,
                                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addUniqueActivity

public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(long userId,
                                                                         long groupId,
                                                                         java.lang.String className,
                                                                         long classPK,
                                                                         int type,
                                                                         java.lang.String extraData,
                                                                         long receiverUserId)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addUniqueActivity

public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(long userId,
                                                                         long groupId,
                                                                         java.util.Date createDate,
                                                                         java.lang.String className,
                                                                         long classPK,
                                                                         int type,
                                                                         java.lang.String extraData,
                                                                         long receiverUserId)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteActivities

public void deleteActivities(java.lang.String className,
                             long classPK)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteActivities

public void deleteActivities(long classNameId,
                             long classPK)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteActivity

public void deleteActivity(long activityId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserActivities

public void deleteUserActivities(long userId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(java.lang.String className,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(long classNameId,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(long mirrorActivityId,
                                                                                     java.lang.String className,
                                                                                     long classPK,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(long mirrorActivityId,
                                                                                     long classNameId,
                                                                                     long classPK,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivitiesCount

public int getActivitiesCount(java.lang.String className)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivitiesCount

public int getActivitiesCount(long classNameId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivitiesCount

public int getActivitiesCount(long mirrorActivityId,
                              java.lang.String className,
                              long classPK)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivitiesCount

public int getActivitiesCount(long mirrorActivityId,
                              long classNameId,
                              long classPK)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivity

public com.liferay.portlet.social.model.SocialActivity getActivity(long activityId)
                                                            throws com.liferay.portal.PortalException,
                                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupActivities(long groupId,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupActivitiesCount

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

getGroupUsersActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupUsersActivities(long groupId,
                                                                                               int start,
                                                                                               int end)
                                                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupUsersActivitiesCount

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

getMirrorActivity

public com.liferay.portlet.social.model.SocialActivity getMirrorActivity(long mirrorActivityId)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationActivities(long organizationId,
                                                                                                 int start,
                                                                                                 int end)
                                                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationActivitiesCount

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

getOrganizationUsersActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationUsersActivities(long organizationId,
                                                                                                      int start,
                                                                                                      int end)
                                                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationUsersActivitiesCount

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

getRelationActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(long userId,
                                                                                             int start,
                                                                                             int end)
                                                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRelationActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(long userId,
                                                                                             int type,
                                                                                             int start,
                                                                                             int end)
                                                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRelationActivitiesCount

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

getRelationActivitiesCount

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

getUserActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserActivities(long userId,
                                                                                         int start,
                                                                                         int end)
                                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserActivitiesCount

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

getUserGroupsActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsActivities(long userId,
                                                                                               int start,
                                                                                               int end)
                                                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupsActivitiesCount

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

getUserGroupsAndOrganizationsActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsAndOrganizationsActivities(long userId,
                                                                                                               int start,
                                                                                                               int end)
                                                                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupsAndOrganizationsActivitiesCount

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

getUserOrganizationsActivities

public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserOrganizationsActivities(long userId,
                                                                                                      int start,
                                                                                                      int end)
                                                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserOrganizationsActivitiesCount

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