public abstract class BaseSubscriptionTestCase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.model.User |
creatorUser |
protected com.liferay.portal.kernel.model.Group |
group |
protected static long |
PARENT_CONTAINER_MODEL_ID_DEFAULT |
protected com.liferay.portal.kernel.model.User |
user |
Constructor and Description |
---|
BaseSubscriptionTestCase() |
Modifier and Type | Method and Description |
---|---|
protected long |
addBaseModel(long userId,
long containerModelId) |
protected long |
addContainerModel(long userId,
long containerModelId) |
protected com.liferay.portal.kernel.model.User |
addUser() |
void |
setUp() |
protected void |
updateBaseModel(long userId,
long baseModelId) |
protected static final long PARENT_CONTAINER_MODEL_ID_DEFAULT
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.User creatorUser
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.Group group
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.User user
public void setUp() throws java.lang.Exception
java.lang.Exception
protected long addBaseModel(long userId, long containerModelId) throws java.lang.Exception
java.lang.Exception
protected long addContainerModel(long userId, long containerModelId) throws java.lang.Exception
java.lang.Exception
protected com.liferay.portal.kernel.model.User addUser() throws java.lang.Exception
java.lang.Exception
protected void updateBaseModel(long userId, long baseModelId) throws java.lang.Exception
java.lang.Exception