Class NotificationEvent
- java.lang.Object
-
- com.hybris.backoffice.widgets.notificationarea.event.NotificationEvent
-
- All Implemented Interfaces:
CockpitEvent
- Direct Known Subclasses:
NotificationEvent
@Deprecated public class NotificationEvent extends java.lang.Object implements CockpitEvent
Deprecated.since 1811Communicates information across application.- See Also:
NotificationEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationEvent.LevelDeprecated.Indicates severity level of the message.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_NAMEDeprecated.static java.lang.StringEVENT_SOURCE_UNKNOWNDeprecated.static java.lang.StringEVENT_TYPE_UNKNOWNDeprecated.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Deprecated.java.lang.ObjectgetData()Deprecated.java.lang.StringgetEventType()Deprecated.NotificationEvent.LevelgetLevel()Deprecated.java.lang.StringgetName()Deprecated.java.lang.Object[]getReferencedObjects()Deprecated.java.lang.StringgetSource()Deprecated.inthashCode()Deprecated.-
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.- See Also:
- Constant Field Values
-
EVENT_TYPE_UNKNOWN
@Deprecated public static final java.lang.String EVENT_TYPE_UNKNOWN
Deprecated.since 6.6- See Also:
- Constant Field Values
-
EVENT_NAME
public static final java.lang.String EVENT_NAME
Deprecated.- 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.- 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.- Returns:
- importance level of notification
-
getName
public java.lang.String getName()
Deprecated.- Specified by:
getNamein interfaceCockpitEvent- Returns:
- The name of the event.
-
getData
public java.lang.Object getData()
Deprecated.- Specified by:
getDatain interfaceCockpitEvent- Returns:
- The data attached to the event. Can be null.
-
getSource
public java.lang.String getSource()
Deprecated.- 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.- Returns:
- type of event that has taken place
-
getReferencedObjects
public java.lang.Object[] getReferencedObjects()
Deprecated.
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
-