Class NotifyCommentAuthorWhenReplyingObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.repository.comment.AbstractNotifyCommentAuthorObserver
org.ametys.web.repository.comment.NotifyCommentAuthorWhenReplyingObserver
org.ametys.plugins.workspaces.comments.NotifyCommentAuthorWhenReplyingObserver
- All Implemented Interfaces:
Observer,LogEnabled,PluginAware,Prioritizable,Supporter<Event>,Contextualizable,Serviceable
public class NotifyCommentAuthorWhenReplyingObserver
extends NotifyCommentAuthorWhenReplyingObserver
Observer to notify comment authors when a comment is created or updated, except for workspaces content types.
-
Field Summary
Fields inherited from class org.ametys.web.repository.comment.NotifyCommentAuthorWhenReplyingObserver
_renderingContextHandlerFields inherited from class org.ametys.web.repository.comment.AbstractNotifyCommentAuthorObserver
_commentsDAO, _contentHelper, _context, _i18nUtils, _pluginName, _populationContextHelper, _siteManager, _userLanguagesManager, _userManagerFields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidservice(ServiceManager smanager) booleanCheck if an element is supportedMethods inherited from class org.ametys.web.repository.comment.NotifyCommentAuthorWhenReplyingObserver
getBodyI18nParams, getMailBody, getMailSubject, getMailTitle, getOrphanContentUri, getPageUri, getSubjectI18nParams, observeMethods inherited from class org.ametys.web.repository.comment.AbstractNotifyCommentAuthorObserver
contextualize, getMailLanguage, getMailLanguage, getMailLanguage, getMailRecipient, getMailSender, getPriority, resolveCommentAuthor, resolveCommentAuthor, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
NotifyCommentAuthorWhenReplyingObserver
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classNotifyCommentAuthorWhenReplyingObserver- Throws:
ServiceException
-
supports
Description copied from interface:SupporterCheck if an element is supported- Specified by:
supportsin interfaceSupporter<Event>- Overrides:
supportsin classNotifyCommentAuthorWhenReplyingObserver- Parameters:
event- The element- Returns:
trueif the element is supported,falseotherwise
-