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 |
---|---|
Optional<Message> |
getItemByPath(String idAsPath) |
String |
getPath(Message message) |
@Inject public NotificationItemResolver(MessagesManager messagesManager, javax.inject.Provider<info.magnolia.context.Context> contextProvider)
public String getPath(Message message)
getPath
in interface ItemResolver<Message>
public Optional<Message> getItemByPath(String idAsPath)
getItemByPath
in interface ItemResolver<Message>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.