com.liferay.portlet.social.service
Interface SocialActivityLocalService


public interface SocialActivityLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.social.service.impl.SocialActivityLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
SocialActivityLocalServiceFactory, SocialActivityLocalServiceUtil

Method Summary
 SocialActivity addActivity(long userId, long groupId, java.lang.String className, long classPK, java.lang.String type, java.lang.String extraData, long receiverUserId)
           
 SocialActivity addSocialActivity(SocialActivity socialActivity)
           
 void deleteActivities(long classNameId, long classPK)
           
 void deleteActivities(java.lang.String className, long classPK)
           
 void deleteSocialActivity(long activityId)
           
 void deleteSocialActivity(SocialActivity socialActivity)
           
 java.util.List<SocialActivity> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<SocialActivity> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List<SocialActivity> getActivities(long classNameId, long classPK)
           
 java.util.List<SocialActivity> getActivities(long classNameId, long classPK, int begin, int end)
           
 java.util.List<SocialActivity> getActivities(java.lang.String className, long classPK)
           
 java.util.List<SocialActivity> getActivities(java.lang.String className, long classPK, int begin, int end)
           
 java.util.List<SocialActivity> getCompanyActivities(long companyId, int begin, int end)
           
 int getCompanyActivitiesCount(long companyId)
           
 java.util.List<SocialActivity> getGroupActivities(long groupId, int begin, int end)
           
 int getGroupActivitiesCount(long groupId)
           
 java.util.List<SocialActivity> getUserActivities(long userId, int begin, int end)
           
 int getUserActivitiesCount(long userId)
           
 SocialActivity updateSocialActivity(SocialActivity socialActivity)
           
 

Method Detail

addSocialActivity

SocialActivity addSocialActivity(SocialActivity socialActivity)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteSocialActivity

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

deleteSocialActivity

void deleteSocialActivity(SocialActivity socialActivity)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<SocialActivity> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<SocialActivity> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                            int begin,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSocialActivity

SocialActivity updateSocialActivity(SocialActivity socialActivity)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addActivity

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

deleteActivities

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

deleteActivities

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

getActivities

java.util.List<SocialActivity> getActivities(java.lang.String className,
                                             long classPK)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivities

java.util.List<SocialActivity> getActivities(long classNameId,
                                             long classPK)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivities

java.util.List<SocialActivity> getActivities(java.lang.String className,
                                             long classPK,
                                             int begin,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getActivities

java.util.List<SocialActivity> getActivities(long classNameId,
                                             long classPK,
                                             int begin,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyActivities

java.util.List<SocialActivity> getCompanyActivities(long companyId,
                                                    int begin,
                                                    int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyActivitiesCount

int getCompanyActivitiesCount(long companyId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupActivities

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

getGroupActivitiesCount

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

getUserActivities

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

getUserActivitiesCount

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