@Deprecated
public abstract class BaseUserNotificationTestCase
extends Object
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.model.Group |
group
Deprecated.
|
protected com.liferay.portal.kernel.model.User |
user
Deprecated.
|
protected List<com.liferay.portal.kernel.model.UserNotificationDelivery> |
userNotificationDeliveries
Deprecated.
|
Constructor and Description |
---|
BaseUserNotificationTestCase()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract com.liferay.portal.kernel.model.BaseModel<?> |
addBaseModel()
Deprecated.
|
protected void |
addContainerModel()
Deprecated.
|
protected void |
deleteUserNotificationDeliveries()
Deprecated.
|
protected void |
deleteUserNotificationEvents(long userId)
Deprecated.
|
protected abstract String |
getPortletId()
Deprecated.
|
protected List<com.liferay.portal.kernel.model.UserNotificationDelivery> |
getUserNotificationDeliveries(long userId)
Deprecated.
|
protected List<com.liferay.portal.kernel.json.JSONObject> |
getUserNotificationEventsJSONObjects(long userId,
long primaryKey)
Deprecated.
|
protected boolean |
isValidUserNotificationEventObject(long primaryKey,
com.liferay.portal.kernel.json.JSONObject userNotificationEventJSONObject)
Deprecated.
|
void |
setUp()
Deprecated.
|
protected abstract void |
subscribeToContainer()
Deprecated.
|
void |
tearDown()
Deprecated.
|
void |
testAddUserNotification()
Deprecated.
|
void |
testAddUserNotificationWhenEmailNotificationsDisabled()
Deprecated.
|
void |
testAddUserNotificationWhenNotificationsDisabled()
Deprecated.
|
void |
testAddUserNotificationWhenWebsiteNotificationsDisabled()
Deprecated.
|
void |
testUpdateUserNotification()
Deprecated.
|
void |
testUpdateUserNotificationWhenEmailNotificationsDisabled()
Deprecated.
|
void |
testUpdateUserNotificationWhenNotificationsDisabled()
Deprecated.
|
void |
testUpdateUserNotificationWhenWebsiteNotificationsDisabled()
Deprecated.
|
protected abstract com.liferay.portal.kernel.model.BaseModel<?> |
updateBaseModel(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
Deprecated.
|
protected void |
updateUserNotificationDelivery(int notificationType,
int deliveryType,
boolean deliver)
Deprecated.
|
protected void |
updateUserNotificationsDelivery(boolean deliver)
Deprecated.
|
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.Group group
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.User user
protected List<com.liferay.portal.kernel.model.UserNotificationDelivery> userNotificationDeliveries
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public void testAddUserNotification() throws Exception
Exception
public void testAddUserNotificationWhenEmailNotificationsDisabled() throws Exception
Exception
public void testAddUserNotificationWhenNotificationsDisabled() throws Exception
Exception
public void testAddUserNotificationWhenWebsiteNotificationsDisabled() throws Exception
Exception
public void testUpdateUserNotification() throws Exception
Exception
public void testUpdateUserNotificationWhenEmailNotificationsDisabled() throws Exception
Exception
public void testUpdateUserNotificationWhenNotificationsDisabled() throws Exception
Exception
public void testUpdateUserNotificationWhenWebsiteNotificationsDisabled() throws Exception
Exception
protected abstract com.liferay.portal.kernel.model.BaseModel<?> addBaseModel() throws Exception
Exception
protected void addContainerModel() throws Exception
Exception
protected void deleteUserNotificationDeliveries() throws Exception
Exception
protected void deleteUserNotificationEvents(long userId) throws Exception
Exception
protected abstract String getPortletId()
protected List<com.liferay.portal.kernel.model.UserNotificationDelivery> getUserNotificationDeliveries(long userId) throws Exception
Exception
protected List<com.liferay.portal.kernel.json.JSONObject> getUserNotificationEventsJSONObjects(long userId, long primaryKey) throws Exception
Exception
protected boolean isValidUserNotificationEventObject(long primaryKey, com.liferay.portal.kernel.json.JSONObject userNotificationEventJSONObject) throws Exception
Exception
protected abstract void subscribeToContainer() throws Exception
Exception
protected abstract com.liferay.portal.kernel.model.BaseModel<?> updateBaseModel(com.liferay.portal.kernel.model.BaseModel<?> baseModel) throws Exception
Exception
protected void updateUserNotificationDelivery(int notificationType, int deliveryType, boolean deliver) throws Exception
Exception
protected void updateUserNotificationsDelivery(boolean deliver) throws Exception
Exception