com.liferay.portlet.social.service
Class SocialActivityLocalServiceUtil
java.lang.Object
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
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.
- Author:
- Brian Wing Shun Chan
- See Also:
SocialActivityLocalService
- Generated:
Method Summary |
static SocialActivity |
addActivity(long userId,
long groupId,
java.util.Date createDate,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
static SocialActivity |
addActivity(long userId,
long groupId,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
static SocialActivity |
addSocialActivity(SocialActivity socialActivity)
|
static SocialActivity |
addUniqueActivity(long userId,
long groupId,
java.util.Date createDate,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
static SocialActivity |
addUniqueActivity(long userId,
long groupId,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
static SocialActivity |
createSocialActivity(long activityId)
|
static void |
deleteActivities(long classNameId,
long classPK)
|
static void |
deleteActivities(java.lang.String className,
long classPK)
|
static void |
deleteActivity(long activityId)
|
static void |
deleteActivity(SocialActivity activity)
|
static void |
deleteSocialActivity(long activityId)
|
static void |
deleteSocialActivity(SocialActivity socialActivity)
|
static void |
deleteUserActivities(long userId)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<SocialActivity> |
getActivities(long classNameId,
int start,
int end)
|
static java.util.List<SocialActivity> |
getActivities(long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end)
|
static java.util.List<SocialActivity> |
getActivities(long mirrorActivityId,
java.lang.String className,
long classPK,
int start,
int end)
|
static java.util.List<SocialActivity> |
getActivities(java.lang.String className,
int start,
int end)
|
static int |
getActivitiesCount(long classNameId)
|
static int |
getActivitiesCount(long mirrorActivityId,
long classNameId,
long classPK)
|
static int |
getActivitiesCount(long mirrorActivityId,
java.lang.String className,
long classPK)
|
static int |
getActivitiesCount(java.lang.String className)
|
static SocialActivity |
getActivity(long activityId)
|
static java.util.List<SocialActivity> |
getGroupActivities(long groupId,
int start,
int end)
|
static int |
getGroupActivitiesCount(long groupId)
|
static java.util.List<SocialActivity> |
getGroupUsersActivities(long groupId,
int start,
int end)
|
static int |
getGroupUsersActivitiesCount(long groupId)
|
static SocialActivity |
getMirrorActivity(long mirrorActivityId)
|
static java.util.List<SocialActivity> |
getOrganizationActivities(long organizationId,
int start,
int end)
|
static int |
getOrganizationActivitiesCount(long organizationId)
|
static java.util.List<SocialActivity> |
getOrganizationUsersActivities(long organizationId,
int start,
int end)
|
static int |
getOrganizationUsersActivitiesCount(long organizationId)
|
static java.util.List<SocialActivity> |
getRelationActivities(long userId,
int start,
int end)
|
static java.util.List<SocialActivity> |
getRelationActivities(long userId,
int type,
int start,
int end)
|
static int |
getRelationActivitiesCount(long userId)
|
static int |
getRelationActivitiesCount(long userId,
int type)
|
static SocialActivityLocalService |
getService()
|
static java.util.List<SocialActivity> |
getSocialActivities(int start,
int end)
|
static int |
getSocialActivitiesCount()
|
static SocialActivity |
getSocialActivity(long activityId)
|
static java.util.List<SocialActivity> |
getUserActivities(long userId,
int start,
int end)
|
static int |
getUserActivitiesCount(long userId)
|
static java.util.List<SocialActivity> |
getUserGroupsActivities(long userId,
int start,
int end)
|
static int |
getUserGroupsActivitiesCount(long userId)
|
static java.util.List<SocialActivity> |
getUserGroupsAndOrganizationsActivities(long userId,
int start,
int end)
|
static int |
getUserGroupsAndOrganizationsActivitiesCount(long userId)
|
static java.util.List<SocialActivity> |
getUserOrganizationsActivities(long userId,
int start,
int end)
|
static int |
getUserOrganizationsActivitiesCount(long userId)
|
void |
setService(SocialActivityLocalService service)
|
static SocialActivity |
updateSocialActivity(SocialActivity socialActivity)
|
static SocialActivity |
updateSocialActivity(SocialActivity socialActivity,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialActivityLocalServiceUtil
public SocialActivityLocalServiceUtil()
addSocialActivity
public static SocialActivity addSocialActivity(SocialActivity socialActivity)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createSocialActivity
public static SocialActivity createSocialActivity(long activityId)
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.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSocialActivity
public static SocialActivity getSocialActivity(long activityId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialActivities
public static java.util.List<SocialActivity> getSocialActivities(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSocialActivitiesCount
public static int getSocialActivitiesCount()
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
updateSocialActivity
public static SocialActivity updateSocialActivity(SocialActivity socialActivity,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addActivity
public static 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
addActivity
public static 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
addUniqueActivity
public static 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
addUniqueActivity
public static 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
deleteActivities
public static void deleteActivities(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
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
deleteActivity
public static void deleteActivity(long activityId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteActivity
public static void deleteActivity(SocialActivity activity)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserActivities
public static void deleteUserActivities(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivities
public static java.util.List<SocialActivity> getActivities(long classNameId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivities
public static java.util.List<SocialActivity> getActivities(long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivities
public static java.util.List<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 static java.util.List<SocialActivity> getActivities(java.lang.String className,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivitiesCount
public static int getActivitiesCount(long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivitiesCount
public static int getActivitiesCount(long mirrorActivityId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivitiesCount
public static int getActivitiesCount(long mirrorActivityId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivitiesCount
public static int getActivitiesCount(java.lang.String className)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivity
public static SocialActivity getActivity(long activityId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupActivities
public static java.util.List<SocialActivity> getGroupActivities(long groupId,
int start,
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
getGroupUsersActivities
public static java.util.List<SocialActivity> getGroupUsersActivities(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUsersActivitiesCount
public static int getGroupUsersActivitiesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMirrorActivity
public static SocialActivity getMirrorActivity(long mirrorActivityId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganizationActivities
public static java.util.List<SocialActivity> getOrganizationActivities(long organizationId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationActivitiesCount
public static int getOrganizationActivitiesCount(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationUsersActivities
public static java.util.List<SocialActivity> getOrganizationUsersActivities(long organizationId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationUsersActivitiesCount
public static int getOrganizationUsersActivitiesCount(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivities
public static java.util.List<SocialActivity> getRelationActivities(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivities
public static java.util.List<SocialActivity> getRelationActivities(long userId,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivitiesCount
public static int getRelationActivitiesCount(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivitiesCount
public static int getRelationActivitiesCount(long userId,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserActivities
public static java.util.List<SocialActivity> getUserActivities(long userId,
int start,
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
getUserGroupsActivities
public static java.util.List<SocialActivity> getUserGroupsActivities(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupsActivitiesCount
public static int getUserGroupsActivitiesCount(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupsAndOrganizationsActivities
public static java.util.List<SocialActivity> getUserGroupsAndOrganizationsActivities(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupsAndOrganizationsActivitiesCount
public static int getUserGroupsAndOrganizationsActivitiesCount(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserOrganizationsActivities
public static java.util.List<SocialActivity> getUserOrganizationsActivities(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserOrganizationsActivitiesCount
public static int getUserOrganizationsActivitiesCount(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getService
public static SocialActivityLocalService getService()
setService
public void setService(SocialActivityLocalService service)