com.liferay.portlet.social.service.http
Class SocialActivityServiceHttp
java.lang.Object
com.liferay.portlet.social.service.http.SocialActivityServiceHttp
public class SocialActivityServiceHttp
- extends Object
Provides the HTTP utility for the
SocialActivityServiceUtil
service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for
tunneling without the cost of serializing to text. The drawback is that it
only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to
configure security.
The HTTP utility is only generated for remote services.
- See Also:
SocialActivityServiceSoap
,
HttpPrincipal
,
SocialActivityServiceUtil
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
Method Summary |
static List<SocialActivity> |
getActivities(HttpPrincipal httpPrincipal,
long classNameId,
int start,
int end)
|
static List<SocialActivity> |
getActivities(HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end)
|
static List<SocialActivity> |
getActivities(HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK,
int start,
int end)
|
static List<SocialActivity> |
getActivities(HttpPrincipal httpPrincipal,
String className,
int start,
int end)
|
static int |
getActivitiesCount(HttpPrincipal httpPrincipal,
long classNameId)
|
static int |
getActivitiesCount(HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK)
|
static int |
getActivitiesCount(HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK)
|
static int |
getActivitiesCount(HttpPrincipal httpPrincipal,
String className)
|
static SocialActivity |
getActivity(HttpPrincipal httpPrincipal,
long activityId)
|
static List<SocialActivity> |
getActivitySetActivities(HttpPrincipal httpPrincipal,
long activitySetId,
int start,
int end)
|
static List<SocialActivity> |
getGroupActivities(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end)
|
static int |
getGroupActivitiesCount(HttpPrincipal httpPrincipal,
long groupId)
|
static List<SocialActivity> |
getGroupUsersActivities(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end)
|
static int |
getGroupUsersActivitiesCount(HttpPrincipal httpPrincipal,
long groupId)
|
static SocialActivity |
getMirrorActivity(HttpPrincipal httpPrincipal,
long mirrorActivityId)
|
static List<SocialActivity> |
getOrganizationActivities(HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end)
|
static int |
getOrganizationActivitiesCount(HttpPrincipal httpPrincipal,
long organizationId)
|
static List<SocialActivity> |
getOrganizationUsersActivities(HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end)
|
static int |
getOrganizationUsersActivitiesCount(HttpPrincipal httpPrincipal,
long organizationId)
|
static List<SocialActivity> |
getRelationActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
|
static List<SocialActivity> |
getRelationActivities(HttpPrincipal httpPrincipal,
long userId,
int type,
int start,
int end)
|
static int |
getRelationActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
|
static int |
getRelationActivitiesCount(HttpPrincipal httpPrincipal,
long userId,
int type)
|
static List<SocialActivity> |
getUserActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
|
static int |
getUserActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
|
static List<SocialActivity> |
getUserGroupsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
|
static int |
getUserGroupsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
|
static List<SocialActivity> |
getUserGroupsAndOrganizationsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
|
static int |
getUserGroupsAndOrganizationsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
|
static List<SocialActivity> |
getUserOrganizationsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
|
static int |
getUserOrganizationsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialActivityServiceHttp
public SocialActivityServiceHttp()
getActivities
public static List<SocialActivity> getActivities(HttpPrincipal httpPrincipal,
long classNameId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getActivities
public static List<SocialActivity> getActivities(HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getActivities
public static List<SocialActivity> getActivities(HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getActivities
public static List<SocialActivity> getActivities(HttpPrincipal httpPrincipal,
String className,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
long classNameId)
throws SystemException
- Throws:
SystemException
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK)
throws SystemException
- Throws:
SystemException
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
String className)
throws SystemException
- Throws:
SystemException
getActivity
public static SocialActivity getActivity(HttpPrincipal httpPrincipal,
long activityId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getActivitySetActivities
public static List<SocialActivity> getActivitySetActivities(HttpPrincipal httpPrincipal,
long activitySetId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupActivities
public static List<SocialActivity> getGroupActivities(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupActivitiesCount
public static int getGroupActivitiesCount(HttpPrincipal httpPrincipal,
long groupId)
throws SystemException
- Throws:
SystemException
getGroupUsersActivities
public static List<SocialActivity> getGroupUsersActivities(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupUsersActivitiesCount
public static int getGroupUsersActivitiesCount(HttpPrincipal httpPrincipal,
long groupId)
throws SystemException
- Throws:
SystemException
getMirrorActivity
public static SocialActivity getMirrorActivity(HttpPrincipal httpPrincipal,
long mirrorActivityId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationActivities
public static List<SocialActivity> getOrganizationActivities(HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationActivitiesCount
public static int getOrganizationActivitiesCount(HttpPrincipal httpPrincipal,
long organizationId)
throws SystemException
- Throws:
SystemException
getOrganizationUsersActivities
public static List<SocialActivity> getOrganizationUsersActivities(HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationUsersActivitiesCount
public static int getOrganizationUsersActivitiesCount(HttpPrincipal httpPrincipal,
long organizationId)
throws SystemException
- Throws:
SystemException
getRelationActivities
public static List<SocialActivity> getRelationActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRelationActivities
public static List<SocialActivity> getRelationActivities(HttpPrincipal httpPrincipal,
long userId,
int type,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRelationActivitiesCount
public static int getRelationActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
throws SystemException
- Throws:
SystemException
getRelationActivitiesCount
public static int getRelationActivitiesCount(HttpPrincipal httpPrincipal,
long userId,
int type)
throws SystemException
- Throws:
SystemException
getUserActivities
public static List<SocialActivity> getUserActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserActivitiesCount
public static int getUserActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
throws SystemException
- Throws:
SystemException
getUserGroupsActivities
public static List<SocialActivity> getUserGroupsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroupsActivitiesCount
public static int getUserGroupsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
throws SystemException
- Throws:
SystemException
getUserGroupsAndOrganizationsActivities
public static List<SocialActivity> getUserGroupsAndOrganizationsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroupsAndOrganizationsActivitiesCount
public static int getUserGroupsAndOrganizationsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
throws SystemException
- Throws:
SystemException
getUserOrganizationsActivities
public static List<SocialActivity> getUserOrganizationsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserOrganizationsActivitiesCount
public static int getUserOrganizationsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
throws SystemException
- Throws:
SystemException