Interface NotificationStateService
- All Known Implementing Classes:
 DefaultNotificationStateService
public interface NotificationStateService
Used to retrieve the 
NotificationState from the NotificationStateAware.- Author:
 - Dima Myroniuk (dmyroniuk)
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetOrInitializeNotificationState(NotificationStateAware stateAware, String name) Search theNotificationStateon theNotificationStateAwareby its name. 
- 
Method Details
- 
getOrInitializeNotificationState
Search theNotificationStateon theNotificationStateAwareby its name. If it was not found, a new notification will be created and added toNotificationStateAware.- Parameters:
 stateAware- a domain that keeps track ofNotificationStatename- the notification name- Returns:
 - the notification from the 
NotificationStateAwareif found or the new one otherwise 
 
 -