public class NotificationItemResolver extends Object implements ItemResolver<Message>
Constructor and Description |
---|
NotificationItemResolver(MessagesManager messagesManager,
javax.inject.Provider<info.magnolia.context.Context> contextProvider) |
Modifier and Type | Method and Description |
---|---|
String |
getId(Message message) |
Optional<Message> |
getItemById(String idAsPath) |
@Inject public NotificationItemResolver(MessagesManager messagesManager, javax.inject.Provider<info.magnolia.context.Context> contextProvider)
public String getId(Message message)
getId
in interface ItemResolver<Message>
public Optional<Message> getItemById(String idAsPath)
getItemById
in interface ItemResolver<Message>
Copyright © 2021 Magnolia International Ltd.. All rights reserved.