Class NotificationEvent
- java.lang.Object
-
- com.hybris.backoffice.widgets.notificationarea.event.NotificationEvent
-
- All Implemented Interfaces:
CockpitEvent
- Direct Known Subclasses:
NotificationEvent
@Deprecated(since="1811", forRemoval=true) public class NotificationEvent extends java.lang.Object implements CockpitEventDeprecated, for removal: This API element is subject to removal in a future version.since 1811Communicates information across application.- See Also:
NotificationEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationEvent.LevelDeprecated, for removal: This API element is subject to removal in a future version.Indicates severity level of the message.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_NAMEDeprecated, for removal: This API element is subject to removal in a future version.static java.lang.StringEVENT_SOURCE_UNKNOWNDeprecated, for removal: This API element is subject to removal in a future version.static java.lang.StringEVENT_TYPE_UNKNOWNDeprecated, for removal: This API element is subject to removal in a future version.since 6.6-
Fields inherited from interface com.hybris.cockpitng.core.events.CockpitEvent
APPLICATION, DESKTOP, SESSION, USER
-
-
Constructor Summary
Constructors Constructor Description NotificationEvent(java.lang.String source, java.lang.String eventType, NotificationEvent.Level level, java.lang.Object... referencedObjects)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Deprecated, for removal: This API element is subject to removal in a future version.java.lang.ObjectgetData()Deprecated, for removal: This API element is subject to removal in a future version.java.lang.StringgetEventType()Deprecated, for removal: This API element is subject to removal in a future version.NotificationEvent.LevelgetLevel()Deprecated, for removal: This API element is subject to removal in a future version.java.lang.StringgetName()Deprecated, for removal: This API element is subject to removal in a future version.java.lang.Object[]getReferencedObjects()Deprecated, for removal: This API element is subject to removal in a future version.java.lang.StringgetSource()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.core.events.CockpitEvent
getDataAsCollection
-
-
-
-
Field Detail
-
EVENT_SOURCE_UNKNOWN
public static final java.lang.String EVENT_SOURCE_UNKNOWN
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
EVENT_TYPE_UNKNOWN
@Deprecated(since="6.6", forRemoval=true) public static final java.lang.String EVENT_TYPE_UNKNOWNDeprecated, for removal: This API element is subject to removal in a future version.since 6.6- See Also:
- Constant Field Values
-
EVENT_NAME
public static final java.lang.String EVENT_NAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NotificationEvent
public NotificationEvent(java.lang.String source, java.lang.String eventType, NotificationEvent.Level level, java.lang.Object... referencedObjects)Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
source- identity of notification sourceeventType- type of event that has taken placelevel- importance level of notificationreferencedObjects- optional array of objects that were involved in the event
-
-
Method Detail
-
getLevel
public NotificationEvent.Level getLevel()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- importance level of notification
-
getName
public java.lang.String getName()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamein interfaceCockpitEvent- Returns:
- The name of the event.
-
getData
public java.lang.Object getData()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDatain interfaceCockpitEvent- Returns:
- The data attached to the event. Can be null.
-
getSource
public java.lang.String getSource()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSourcein interfaceCockpitEvent- Returns:
- The event source, i.e. the object which has fired the event. Can be null.
-
getEventType
public java.lang.String getEventType()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- type of event that has taken place
-
getReferencedObjects
public java.lang.Object[] getReferencedObjects()
Deprecated, for removal: This API element is subject to removal in a future version.
-
equals
public boolean equals(java.lang.Object o)
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
hashCodein classjava.lang.Object
-
-