com.liferay.portlet.social.service
Class SocialActivityLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.social.service.SocialActivityLocalServiceUtil

public class SocialActivityLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.social.service.SocialActivityLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.social.service.SocialActivityLocalServiceFactory is responsible for the lookup of the bean.

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

Constructor Summary
SocialActivityLocalServiceUtil()
           
 
Method Summary
static SocialActivity addActivity(long userId, long groupId, java.lang.String className, long classPK, java.lang.String type, java.lang.String extraData, long receiverUserId)
           
static SocialActivity addSocialActivity(SocialActivity socialActivity)
           
static void deleteActivities(long classNameId, long classPK)
           
static void deleteActivities(java.lang.String className, long classPK)
           
static void deleteSocialActivity(long activityId)
           
static void deleteSocialActivity(SocialActivity socialActivity)
           
static java.util.List<SocialActivity> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<SocialActivity> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static java.util.List<SocialActivity> getActivities(long classNameId, long classPK)
           
static java.util.List<SocialActivity> getActivities(long classNameId, long classPK, int begin, int end)
           
static java.util.List<SocialActivity> getActivities(java.lang.String className, long classPK)
           
static java.util.List<SocialActivity> getActivities(java.lang.String className, long classPK, int begin, int end)
           
static java.util.List<SocialActivity> getCompanyActivities(long companyId, int begin, int end)
           
static int getCompanyActivitiesCount(long companyId)
           
static java.util.List<SocialActivity> getGroupActivities(long groupId, int begin, int end)
           
static int getGroupActivitiesCount(long groupId)
           
static java.util.List<SocialActivity> getUserActivities(long userId, int begin, int end)
           
static int getUserActivitiesCount(long userId)
           
static SocialActivity updateSocialActivity(SocialActivity socialActivity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialActivityLocalServiceUtil

public SocialActivityLocalServiceUtil()
Method Detail

addSocialActivity

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

deleteSocialActivity

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

deleteSocialActivity

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

dynamicQuery

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

dynamicQuery

public static 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

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

addActivity

public static 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.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteActivities

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

deleteActivities

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

getActivities

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

getActivities

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

getActivities

public static 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

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

getCompanyActivities

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

getCompanyActivitiesCount

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

getGroupActivities

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

getGroupActivitiesCount

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

getUserActivities

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

getUserActivitiesCount

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