public class SocialActivityServiceHttp
extends Object
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.
Constructor and Description |
---|
SocialActivityServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static List<com.liferay.social.kernel.model.SocialActivity> |
getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long classNameId,
int start,
int end) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK,
int start,
int end) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK,
int start,
int end) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String className,
int start,
int end) |
static int |
getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long classNameId) |
static int |
getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long mirrorActivityId,
long classNameId,
long classPK) |
static int |
getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long mirrorActivityId,
String className,
long classPK) |
static int |
getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String className) |
static com.liferay.social.kernel.model.SocialActivity |
getActivity(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long activityId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getActivitySetActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long activitySetId,
int start,
int end) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getGroupActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int start,
int end) |
static int |
getGroupActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getGroupUsersActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int start,
int end) |
static int |
getGroupUsersActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static com.liferay.social.kernel.model.SocialActivity |
getMirrorActivity(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long mirrorActivityId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getOrganizationActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end) |
static int |
getOrganizationActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long organizationId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getOrganizationUsersActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long organizationId,
int start,
int end) |
static int |
getOrganizationUsersActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long organizationId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getRelationActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
int start,
int end) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getRelationActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
int type,
int start,
int end) |
static int |
getRelationActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId) |
static int |
getRelationActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
int type) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getUserActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
int start,
int end) |
static int |
getUserActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getUserGroupsActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
int start,
int end) |
static int |
getUserGroupsActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getUserGroupsAndOrganizationsActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
int start,
int end) |
static int |
getUserGroupsAndOrganizationsActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId) |
static List<com.liferay.social.kernel.model.SocialActivity> |
getUserOrganizationsActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
int start,
int end) |
static int |
getUserOrganizationsActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId) |
public static List<com.liferay.social.kernel.model.SocialActivity> getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long classNameId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.social.kernel.model.SocialActivity> getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long mirrorActivityId, long classNameId, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.social.kernel.model.SocialActivity> getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long mirrorActivityId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.social.kernel.model.SocialActivity> getActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String className, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long classNameId)
public static int getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long mirrorActivityId, long classNameId, long classPK)
public static int getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long mirrorActivityId, String className, long classPK)
public static int getActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String className)
public static com.liferay.social.kernel.model.SocialActivity getActivity(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long activityId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.social.kernel.model.SocialActivity> getActivitySetActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long activitySetId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.social.kernel.model.SocialActivity> getGroupActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId)
public static List<com.liferay.social.kernel.model.SocialActivity> getGroupUsersActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupUsersActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId)
public static com.liferay.social.kernel.model.SocialActivity getMirrorActivity(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long mirrorActivityId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.social.kernel.model.SocialActivity> getOrganizationActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getOrganizationActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId)
public static List<com.liferay.social.kernel.model.SocialActivity> getOrganizationUsersActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getOrganizationUsersActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId)
public static List<com.liferay.social.kernel.model.SocialActivity> getRelationActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.social.kernel.model.SocialActivity> getRelationActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int type, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getRelationActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId)
public static int getRelationActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int type)
public static List<com.liferay.social.kernel.model.SocialActivity> getUserActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getUserActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId)
public static List<com.liferay.social.kernel.model.SocialActivity> getUserGroupsActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getUserGroupsActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId)
public static List<com.liferay.social.kernel.model.SocialActivity> getUserGroupsAndOrganizationsActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getUserGroupsAndOrganizationsActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId)
public static List<com.liferay.social.kernel.model.SocialActivity> getUserOrganizationsActivities(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getUserOrganizationsActivitiesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId)