Class TasksClosedActivityNotifier
java.lang.Object
org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityNotifier
org.ametys.plugins.workspaces.activities.tasks.TasksActivityNotifier
org.ametys.plugins.workspaces.activities.tasks.TasksClosedActivityNotifier
- All Implemented Interfaces:
PluginAware
,ActivityNotifier
,Contextualizable
,Serviceable
Class representing a activity notifier for tasks closed in workspaces
-
Field Summary
Fields inherited from class org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityNotifier
_context, _i18nUtils, _notificationPreferenceHelper, _pluginName, _projectManager, _renderingContextHandler, _resolver, _rightManager, _srcResolver, _userManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
_getSubjectI18nKey
(Activity activity) Get the subject i18n keyboolean
support
(ActivityType activityType) true
if the notifier support the activity typeMethods inherited from class org.ametys.plugins.workspaces.activities.tasks.TasksActivityNotifier
getMailBodyURI, getSubjectI18nParams, getTargetAmetysObject
Methods inherited from class org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityNotifier
contextualize, getMailHtmlBody, getMailSubject, getMailTextBody, getUsersEmailToNotify, service, setPluginInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.web.activities.notify.ActivityNotifier
isAsync
-
Constructor Details
-
TasksClosedActivityNotifier
public TasksClosedActivityNotifier()
-
-
Method Details
-
support
Description copied from interface:ActivityNotifier
true
if the notifier support the activity type- Specified by:
support
in interfaceActivityNotifier
- Overrides:
support
in classTasksActivityNotifier
- Parameters:
activityType
- the activity type- Returns:
true
if the notifier support the activity type
-
_getSubjectI18nKey
Description copied from class:AbstractWorkspacesActivityNotifier
Get the subject i18n key- Overrides:
_getSubjectI18nKey
in classAbstractWorkspacesActivityNotifier
- Parameters:
activity
- the activity- Returns:
- the subject i18n key
-