public interface SiteMessageService
| Modifier and Type | Method and Description |
|---|---|
SiteMessageModel |
createMessage(java.lang.String title,
java.lang.String content,
SiteMessageType type,
ItemModel externalItem,
NotificationType notificationType,
java.util.Locale locale)
Creates a site message by given title, link, content, message type, notification type and locale
|
SearchPageData<SiteMessageForCustomerModel> |
getPaginatedMessagesForCustomer(CustomerModel customer,
SearchPageData searchPageData)
Gets all paginated site messages
|
SearchPageData<SiteMessageForCustomerModel> |
getPaginatedMessagesForType(CustomerModel customer,
SiteMessageType type,
SearchPageData searchPageData)
Gets paginated site messages for the given type
|
java.util.List<SiteMessageForCustomerModel> |
getSiteMessagesForCustomer(CustomerModel customer)
Gets all site message of the customer
|
SearchPageData<SiteMessageForCustomerModel> getPaginatedMessagesForType(CustomerModel customer, SiteMessageType type, SearchPageData searchPageData)
customer - the specific customertype - the given message typesearchPageData - pagination parametersSearchPageData<SiteMessageForCustomerModel> getPaginatedMessagesForCustomer(CustomerModel customer, SearchPageData searchPageData)
customer - the specific customersearchPageData - pagination parametersSiteMessageModel createMessage(java.lang.String title, java.lang.String content, SiteMessageType type, ItemModel externalItem, NotificationType notificationType, java.util.Locale locale)
title - the message titlecontent - the message contenttype - the message typeexternalItem - the related item modelnotificationType - the notification typelocale - the locale, if null, default current localejava.util.List<SiteMessageForCustomerModel> getSiteMessagesForCustomer(CustomerModel customer)
customer - the specific customerCopyright © 2018 SAP SE. All Rights Reserved.