public class PageSubscriptionValidateContentObserver extends AbstractPageSubscriptionObserver
_i18nUtils, _resolver, _userManager, SUBSCRIBERS_PROPERTY_NAMEMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
PageSubscriptionValidateContentObserver() |
| 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, servicegetLogger, setLoggerpublic PageSubscriptionValidateContentObserver()
public boolean supports(Event event)
Observerevent - the event.true for observing this event, false otherwise.protected String getSiteParameterId()
AbstractPageSubscriptionObservergetSiteParameterId in class AbstractPageSubscriptionObserverprotected String _getMailSubject(Event event, Page page)
AbstractPageSubscriptionObserver_getMailSubject in class AbstractPageSubscriptionObserverevent - the eventpage - the pageprotected String _getMailBody(Event event, Page page)
AbstractPageSubscriptionObserver_getMailBody in class AbstractPageSubscriptionObserverevent - the eventpage - the pageprotected Collection<Page> _getPages(Event event)
AbstractPageSubscriptionObserver_getPages in class AbstractPageSubscriptionObserverevent - the event