Class ClearNotificationsEvent
- java.lang.Object
-
- com.hybris.backoffice.widgets.notificationarea.event.ClearNotificationsEvent
-
- All Implemented Interfaces:
CockpitEvent
- Direct Known Subclasses:
ClearNotificationsEvent
@Deprecated(since="1811", forRemoval=true) public class ClearNotificationsEvent extends java.lang.Object implements CockpitEventDeprecated, for removal: This API element is subject to removal in a future version.since 1811Event used to clear displayed notifications.- See Also:
ClearNotificationsEvent
-
-
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.-
Fields inherited from interface com.hybris.cockpitng.core.events.CockpitEvent
APPLICATION, DESKTOP, SESSION, USER
-
-
Constructor Summary
Constructors Constructor Description ClearNotificationsEvent(java.lang.String source)Deprecated, for removal: This API element is subject to removal in a future version.ClearNotificationsEvent(java.lang.String source, NotificationEvent.Level level)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 java.lang.ObjectgetData()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.StringgetSource()Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.core.events.CockpitEvent
getDataAsCollection
-
-
-
-
Field Detail
-
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
-
ClearNotificationsEvent
public ClearNotificationsEvent(java.lang.String source, NotificationEvent.Level level)Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
source- identity of notifications sourcelevel- importance level of notifications to be removed
-
ClearNotificationsEvent
public ClearNotificationsEvent(java.lang.String source)
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
source- identity of notification source
-
-
Method Detail
-
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.
-
getLevel
public NotificationEvent.Level getLevel()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-