public class AlertEngine extends AlertEngine
AlertEngine.BinaryExpression| Modifier and Type | Field and Description |
|---|---|
protected OdfPageResolver |
_odfPageResolver
The ODF page resolver
|
protected SiteManager |
_siteManager
The site manager
|
_pagePublicationEnabled, _pagePublicationEndBody, _pagePublicationEndRights, _pagePublicationEndSubject_ametysResolver, _awaitingValidationBody, _awaitingValidationRights, _awaitingValidationSubject, _baseUrl, _context, _environmentContext, _i18nUtils, _initialized, _instantAlertBody, _instantAlertRights, _instantAlertSubject, _instantMode, _LOGGER, _mailFrom, _manager, _reminderBody, _reminderRights, _reminderSubject, _rightManager, _scheduledArchivingReminderBody, _scheduledArchivingReminderRights, _scheduledArchivingReminderSubject, _unmodifiedContentBody, _unmodifiedContentRights, _unmodifiedContentStepIds, _unmodifiedContentSubject, _userManager| Constructor and Description |
|---|
AlertEngine()
Default constructor
|
AlertEngine(List<String> contentIds,
String message)
Constructor used to send instant alerts
|
| Modifier and Type | Method and Description |
|---|---|
protected Page |
_getPage(Content content,
Site site)
Get the page referenced by this content
|
protected Site |
_getSite(Content content)
Get the site name
|
void |
initialize(ServiceManager manager,
Context context)
Initialize the alert engine.
|
_getAdditionalParams, _getContentUrl, _getPagePublicationEndParams, _getPageUrl, _sendAlerts, _sendPagePublicationEndAlerts, _sendPagePublicationEndEmail, _setRequestAttributes, _setRequestAttributes, configure, getI18nKeyBody_checkInitialization, _dispose, _getAwaitingValidationParams, _getInstantAlertParams, _getReminderParams, _getRightsFromConf, _getScheduledArchivingReminderParams, _getUnmodifiedContentParams, _removeTimeParts, _sendAwaitingValidationAlerts, _sendAwaitingValidationEmail, _sendInstantAlertEmail, _sendInstantAlerts, _sendMails, _sendReminderEmail, _sendReminders, _sendScheduledArchivingReminderEmail, _sendScheduledArchivingReminders, _sendUnmodifiedAlerts, _sendUnmodifiedContentEmail, runprotected OdfPageResolver _odfPageResolver
protected SiteManager _siteManager
public AlertEngine()
public AlertEngine(List<String> contentIds, String message)
contentIds - The content's idmessage - the messagepublic void initialize(ServiceManager manager, Context context) throws ContextException, ServiceException
AlertEngineinitialize in class AlertEnginemanager - the avalon service manager.context - the avalon context.ContextException - if the CONTEXT_ENVIRONMENT_CONTEXT cannot be foundServiceException - if some components cannot be resolvedprotected Site _getSite(Content content)
AlertEngine_getSite in class AlertEnginecontent - The contentprotected Page _getPage(Content content, Site site)
AlertEngine_getPage in class AlertEnginecontent - The contentsite - the site