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:
SocialActivityLocalServiceUtil
Method Summary |
SocialActivity |
addActivity(long userId,
long groupId,
java.util.Date createDate,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
SocialActivity |
addActivity(long userId,
long groupId,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
SocialActivity |
addSocialActivity(SocialActivity socialActivity)
|
SocialActivity |
addUniqueActivity(long userId,
long groupId,
java.util.Date createDate,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
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 |
deleteSocialActivity(long activityId)
|
void |
deleteSocialActivity(SocialActivity socialActivity)
|
void |
deleteUserActivities(long userId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<SocialActivity> |
getActivities(long classNameId,
int start,
int end)
|
java.util.List<SocialActivity> |
getActivities(long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end)
|
java.util.List<SocialActivity> |
getActivities(long mirrorActivityId,
java.lang.String className,
long classPK,
int start,
int end)
|
java.util.List<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)
|
SocialActivity |
getActivity(long activityId)
|
java.util.List<SocialActivity> |
getGroupActivities(long groupId,
int start,
int end)
|
int |
getGroupActivitiesCount(long groupId)
|
SocialActivity |
getMirrorActivity(long mirrorActivityId)
|
java.util.List<SocialActivity> |
getOrganizationActivities(long organizationId,
int start,
int end)
|
int |
getOrganizationActivitiesCount(long organizationId)
|
java.util.List<SocialActivity> |
getRelationActivities(long userId,
int start,
int end)
|
java.util.List<SocialActivity> |
getRelationActivities(long userId,
int type,
int start,
int end)
|
int |
getRelationActivitiesCount(long userId)
|
int |
getRelationActivitiesCount(long userId,
int type)
|
java.util.List<SocialActivity> |
getSocialActivities(int start,
int end)
|
int |
getSocialActivitiesCount()
|
SocialActivity |
getSocialActivity(long activityId)
|
java.util.List<SocialActivity> |
getUserActivities(long userId,
int start,
int end)
|
int |
getUserActivitiesCount(long userId)
|
SocialActivity |
updateSocialActivity(SocialActivity socialActivity)
|
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
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSocialActivity
SocialActivity getSocialActivity(long activityId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSocialActivities
java.util.List<SocialActivity> getSocialActivities(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSocialActivitiesCount
int getSocialActivitiesCount()
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,
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
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
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
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
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
deleteActivity
void deleteActivity(long activityId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteUserActivities
void deleteUserActivities(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivities
java.util.List<SocialActivity> getActivities(java.lang.String className,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivities
java.util.List<SocialActivity> getActivities(long classNameId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivities
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
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
getActivitiesCount
int getActivitiesCount(java.lang.String className)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivitiesCount
int getActivitiesCount(long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivitiesCount
int getActivitiesCount(long mirrorActivityId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivitiesCount
int getActivitiesCount(long mirrorActivityId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getActivity
SocialActivity getActivity(long activityId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupActivities
java.util.List<SocialActivity> getGroupActivities(long groupId,
int start,
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
getMirrorActivity
SocialActivity getMirrorActivity(long mirrorActivityId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganizationActivities
java.util.List<SocialActivity> getOrganizationActivities(long organizationId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationActivitiesCount
int getOrganizationActivitiesCount(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivities
java.util.List<SocialActivity> getRelationActivities(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivities
java.util.List<SocialActivity> getRelationActivities(long userId,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivitiesCount
int getRelationActivitiesCount(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationActivitiesCount
int getRelationActivitiesCount(long userId,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserActivities
java.util.List<SocialActivity> getUserActivities(long userId,
int start,
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