public class SocialActivityTestUtil extends Object
Constructor and Description |
---|
SocialActivityTestUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addActivity(com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Group group,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
int type) |
static void |
addActivity(com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Group group,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
int type,
String extraData) |
static com.liferay.asset.kernel.model.AssetEntry |
addAssetEntry(com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Group group) |
static com.liferay.asset.kernel.model.AssetEntry |
addAssetEntry(com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Group group,
com.liferay.asset.kernel.model.AssetEntry assetEntry) |
static String |
createExtraDataJSON(String key,
String value) |
static com.liferay.social.kernel.model.SocialActivityCounter |
getActivityCounter(long groupId,
String name,
Object owner) |
static com.liferay.social.kernel.model.SocialActivityLimit |
getActivityLimit(long groupId,
com.liferay.portal.kernel.model.User user,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
int activityType,
String activityCounterName) |
public static void addActivity(com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Group group, com.liferay.asset.kernel.model.AssetEntry assetEntry, int type) throws Exception
Exception
public static void addActivity(com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Group group, com.liferay.asset.kernel.model.AssetEntry assetEntry, int type, String extraData) throws Exception
Exception
public static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Group group) throws Exception
Exception
public static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Group group, com.liferay.asset.kernel.model.AssetEntry assetEntry) throws Exception
Exception
public static com.liferay.social.kernel.model.SocialActivityCounter getActivityCounter(long groupId, String name, Object owner) throws Exception
Exception