Class NotificationServiceImpl
java.lang.Object
ch.tocco.nice2.infobox.impl.content.NotificationServiceImpl
- All Implemented Interfaces:
NotificationService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.infobox.impl.content.NotificationService
NotificationService.Message
-
Constructor Summary
ConstructorDescriptionNotificationServiceImpl
(NiceDataModel dataModel, Context context, LocaleResolverService localeResolverService, TextResources textResources, DefaultDisplayService defaultDisplayService, SearchFilterHandler searchFilterHandler) -
Method Summary
Modifier and TypeMethodDescriptiongetRecentEntities
(String entityName, String searchFilter, org.joda.time.DateTime timestamp) Returns the newest entities for the specified key from the specified timestamp.
-
Constructor Details
-
NotificationServiceImpl
public NotificationServiceImpl(NiceDataModel dataModel, Context context, LocaleResolverService localeResolverService, TextResources textResources, DefaultDisplayService defaultDisplayService, SearchFilterHandler searchFilterHandler)
-
-
Method Details
-
getRecentEntities
public NotificationService.Message[] getRecentEntities(String entityName, String searchFilter, org.joda.time.DateTime timestamp) Description copied from interface:NotificationService
Returns the newest entities for the specified key from the specified timestamp. The entities are converted intoNotificationService.Message
objects where the title is the resolved entity name and the text is the evaluatedDefaultDisplay
.- Specified by:
getRecentEntities
in interfaceNotificationService
-