public class PageSubscriptionDeletePageObserver extends AbstractPageSubscriptionObserver
_i18nUtils, _resolver, _userManager, SUBSCRIBERS_PROPERTY_NAME
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
PageSubscriptionDeletePageObserver() |
Modifier and Type | Method and Description |
---|---|
protected String |
_getMailBody(Event event,
Page page)
Create the mail body depend on the event
|
protected String |
_getMailSubject(Event event,
Page page)
Create the mail subject depend on the event
|
protected Collection<Page> |
_getPages(Event event)
Get the pages linked to the event
|
protected String |
getSiteParameterId()
Id of the site parameter to enable/disable the notification
|
boolean |
supports(Event event)
Checks if the event is supported.
|
_getAbsolutePageUrl, _getSubscribers, getPriority, isNotificationEnabled, observe, service
getLogger, setLogger
public PageSubscriptionDeletePageObserver()
public boolean supports(Event event)
Observer
event
- the event.true
for observing this event, false
otherwise.protected String getSiteParameterId()
AbstractPageSubscriptionObserver
getSiteParameterId
in class AbstractPageSubscriptionObserver
protected String _getMailSubject(Event event, Page page)
AbstractPageSubscriptionObserver
_getMailSubject
in class AbstractPageSubscriptionObserver
event
- the eventpage
- the pageprotected String _getMailBody(Event event, Page page)
AbstractPageSubscriptionObserver
_getMailBody
in class AbstractPageSubscriptionObserver
event
- the eventpage
- the pageprotected Collection<Page> _getPages(Event event)
AbstractPageSubscriptionObserver
_getPages
in class AbstractPageSubscriptionObserver
event
- the event