| Package | Description |
|---|---|
| org.osivia.portal.api.notifications | |
| org.osivia.portal.api.portlet |
| Modifier and Type | Method and Description |
|---|---|
NotificationsType |
Notifications.getType()
Getter for type.
|
static NotificationsType |
NotificationsType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationsType[] |
NotificationsType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
INotificationsService.addSimpleNotification(PortalControllerContext portalControllerContext,
String message,
NotificationsType type)
Add a simple notification.
|
void |
INotificationsService.addSimpleNotification(PortalControllerContext portalControllerContext,
String message,
NotificationsType type,
Long errorCode)
Add a simple notification.
|
| Constructor and Description |
|---|
Notifications(NotificationsType type)
Constructor.
|
Notifications(NotificationsType type,
int duration)
Contructor with duration.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PortalGenericPortlet.addNotification(PortalControllerContext pcc,
String label,
NotificationsType notificationType)
Display a notification with a key label
|
protected void |
PortalGenericPortlet.addNotification(PortalControllerContext pcc,
String label,
NotificationsType notificationType,
Object... args)
Display a notification with a key label and variables
|
Copyright © 2021. All rights reserved.