public class SocialActivityManagerUtil
extends Object
Constructor and Description |
---|
SocialActivityManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends ClassedModel & GroupedModel> |
addActivity(long userId,
T classedModel,
int type,
String extraData,
long receiverUserId) |
static <T extends ClassedModel & GroupedModel> |
addUniqueActivity(long userId,
Date createDate,
T classedModel,
int type,
String extraData,
long receiverUserId) |
static <T extends ClassedModel & GroupedModel> |
addUniqueActivity(long userId,
T classedModel,
int type,
String extraData,
long receiverUserId) |
static <T extends ClassedModel & GroupedModel> |
deleteActivities(T classedModel) |
static <T extends ClassedModel & GroupedModel> |
getSocialActivityManager() |
<T extends ClassedModel & GroupedModel> |
setSocialActivityManager(SocialActivityManager<T> socialActivityManager) |
static <T extends ClassedModel & GroupedModel> |
updateLastSocialActivity(long userId,
T classedModel,
int type,
Date createDate) |
public static <T extends ClassedModel & GroupedModel> void addActivity(long userId, T classedModel, int type, String extraData, long receiverUserId) throws PortalException
PortalException
public static <T extends ClassedModel & GroupedModel> void addUniqueActivity(long userId, Date createDate, T classedModel, int type, String extraData, long receiverUserId) throws PortalException
PortalException
public static <T extends ClassedModel & GroupedModel> void addUniqueActivity(long userId, T classedModel, int type, String extraData, long receiverUserId) throws PortalException
PortalException
public static <T extends ClassedModel & GroupedModel> void deleteActivities(T classedModel) throws PortalException
PortalException
public static <T extends ClassedModel & GroupedModel> SocialActivityManager<T> getSocialActivityManager()
public static <T extends ClassedModel & GroupedModel> void updateLastSocialActivity(long userId, T classedModel, int type, Date createDate) throws PortalException
PortalException
public <T extends ClassedModel & GroupedModel> void setSocialActivityManager(SocialActivityManager<T> socialActivityManager)