@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
Exceptionpublic void tearDown()
throws Exception
Exceptionpublic void testAddUserNotification()
throws Exception
Exceptionpublic void testAddUserNotificationWhenEmailNotificationsDisabled()
throws Exception
Exceptionpublic void testAddUserNotificationWhenNotificationsDisabled()
throws Exception
Exceptionpublic void testAddUserNotificationWhenWebsiteNotificationsDisabled()
throws Exception
Exceptionpublic void testUpdateUserNotification()
throws Exception
Exceptionpublic void testUpdateUserNotificationWhenEmailNotificationsDisabled()
throws Exception
Exceptionpublic void testUpdateUserNotificationWhenNotificationsDisabled()
throws Exception
Exceptionpublic void testUpdateUserNotificationWhenWebsiteNotificationsDisabled()
throws Exception
Exceptionprotected abstract com.liferay.portal.kernel.model.BaseModel<?> addBaseModel()
throws Exception
Exceptionprotected void addContainerModel()
throws Exception
Exceptionprotected void deleteUserNotificationDeliveries()
throws Exception
Exceptionprotected void deleteUserNotificationEvents(long userId)
throws Exception
Exceptionprotected abstract String getPortletId()
protected List<com.liferay.portal.kernel.model.UserNotificationDelivery> getUserNotificationDeliveries(long userId)
throws Exception
Exceptionprotected List<com.liferay.portal.kernel.json.JSONObject> getUserNotificationEventsJSONObjects(long userId,
long primaryKey)
throws Exception
Exceptionprotected boolean isValidUserNotificationEventObject(long primaryKey,
com.liferay.portal.kernel.json.JSONObject userNotificationEventJSONObject)
throws Exception
Exceptionprotected abstract void subscribeToContainer()
throws Exception
Exceptionprotected abstract com.liferay.portal.kernel.model.BaseModel<?> updateBaseModel(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
throws Exception
Exceptionprotected void updateUserNotificationDelivery(int notificationType,
int deliveryType,
boolean deliver)
throws Exception
Exceptionprotected void updateUserNotificationsDelivery(boolean deliver)
throws Exception
Exception