public abstract class BaseSocialActivityInterpreterTestCase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.model.Group |
group |
protected com.liferay.portal.kernel.service.ServiceContext |
serviceContext |
protected com.liferay.trash.TrashHelper |
trashHelper |
| Constructor and Description |
|---|
BaseSocialActivityInterpreterTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addActivities() |
protected java.util.List<com.liferay.social.kernel.model.SocialActivity> |
getActivities() |
protected abstract com.liferay.social.kernel.model.SocialActivityInterpreter |
getActivityInterpreter() |
protected com.liferay.social.kernel.model.SocialActivityInterpreter |
getActivityInterpreter(java.lang.String portletId,
java.lang.String className) |
protected abstract int[] |
getActivityTypes() |
protected boolean |
hasActivityType(int activityType) |
protected boolean |
hasClassName(com.liferay.social.kernel.model.SocialActivityInterpreter activityInterpreter,
java.lang.String className) |
protected boolean |
isSupportsRename(java.lang.String className) |
protected boolean |
isSupportsTrash() |
protected abstract void |
moveModelsToTrash() |
protected abstract void |
renameModels() |
protected abstract void |
restoreModelsFromTrash() |
void |
setUp() |
void |
testActivityInterpreter() |
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.Group group
protected com.liferay.portal.kernel.service.ServiceContext serviceContext
protected com.liferay.trash.TrashHelper trashHelper
public BaseSocialActivityInterpreterTestCase()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testActivityInterpreter()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void addActivities()
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.social.kernel.model.SocialActivity> getActivities()
throws java.lang.Exception
java.lang.Exceptionprotected abstract com.liferay.social.kernel.model.SocialActivityInterpreter getActivityInterpreter()
protected com.liferay.social.kernel.model.SocialActivityInterpreter getActivityInterpreter(java.lang.String portletId,
java.lang.String className)
protected abstract int[] getActivityTypes()
protected boolean hasActivityType(int activityType)
protected boolean hasClassName(com.liferay.social.kernel.model.SocialActivityInterpreter activityInterpreter,
java.lang.String className)
protected boolean isSupportsRename(java.lang.String className)
protected boolean isSupportsTrash()
protected abstract void moveModelsToTrash()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void renameModels()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void restoreModelsFromTrash()
throws java.lang.Exception
java.lang.Exception