com.liferay.portlet.social.service.http
Class SocialActivityServiceHttp
java.lang.Object
com.liferay.portlet.social.service.http.SocialActivityServiceHttp
@ProviderType
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
- Throws:
PortalException
getActivities
public static List<SocialActivity> getActivities(HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end)
throws PortalException
- Throws:
PortalException
getActivities
public static List<SocialActivity> getActivities(HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK,
int start,
int end)
throws PortalException
- Throws:
PortalException
getActivities
public static List<SocialActivity> getActivities(HttpPrincipal httpPrincipal,
String className,
int start,
int end)
throws PortalException
- Throws:
PortalException
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
long classNameId)
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK)
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK)
getActivitiesCount
public static int getActivitiesCount(HttpPrincipal httpPrincipal,
String className)
getActivity
public static SocialActivity getActivity(HttpPrincipal httpPrincipal,
long activityId)
throws PortalException
- Throws:
PortalException
getActivitySetActivities
public static List<SocialActivity> getActivitySetActivities(HttpPrincipal httpPrincipal,
long activitySetId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getGroupActivities
public static List<SocialActivity> getGroupActivities(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getGroupActivitiesCount
public static int getGroupActivitiesCount(HttpPrincipal httpPrincipal,
long groupId)
getGroupUsersActivities
public static List<SocialActivity> getGroupUsersActivities(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getGroupUsersActivitiesCount
public static int getGroupUsersActivitiesCount(HttpPrincipal httpPrincipal,
long groupId)
getMirrorActivity
public static SocialActivity getMirrorActivity(HttpPrincipal httpPrincipal,
long mirrorActivityId)
throws PortalException
- Throws:
PortalException
getOrganizationActivities
public static List<SocialActivity> getOrganizationActivities(HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getOrganizationActivitiesCount
public static int getOrganizationActivitiesCount(HttpPrincipal httpPrincipal,
long organizationId)
getOrganizationUsersActivities
public static List<SocialActivity> getOrganizationUsersActivities(HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getOrganizationUsersActivitiesCount
public static int getOrganizationUsersActivitiesCount(HttpPrincipal httpPrincipal,
long organizationId)
getRelationActivities
public static List<SocialActivity> getRelationActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getRelationActivities
public static List<SocialActivity> getRelationActivities(HttpPrincipal httpPrincipal,
long userId,
int type,
int start,
int end)
throws PortalException
- Throws:
PortalException
getRelationActivitiesCount
public static int getRelationActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
getRelationActivitiesCount
public static int getRelationActivitiesCount(HttpPrincipal httpPrincipal,
long userId,
int type)
getUserActivities
public static List<SocialActivity> getUserActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getUserActivitiesCount
public static int getUserActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
getUserGroupsActivities
public static List<SocialActivity> getUserGroupsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getUserGroupsActivitiesCount
public static int getUserGroupsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
getUserGroupsAndOrganizationsActivities
public static List<SocialActivity> getUserGroupsAndOrganizationsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getUserGroupsAndOrganizationsActivitiesCount
public static int getUserGroupsAndOrganizationsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)
getUserOrganizationsActivities
public static List<SocialActivity> getUserOrganizationsActivities(HttpPrincipal httpPrincipal,
long userId,
int start,
int end)
throws PortalException
- Throws:
PortalException
getUserOrganizationsActivitiesCount
public static int getUserOrganizationsActivitiesCount(HttpPrincipal httpPrincipal,
long userId)