Class MinisiteActivityNotifier
java.lang.Object
org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityNotifier
org.ametys.plugins.workspaces.activities.minisite.MinisiteActivityNotifier
- All Implemented Interfaces:
PluginAware
,ActivityNotifier
,Contextualizable
,Serviceable
Class representing a activity notifier for minisite 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 TypeMethodDescriptiongetMailBodyURI
(Activity activity) Get the URI to resolve to get the mail bodygetTargetAmetysObject
(Activity activity) Retrieve the ametys object targeted by this activity.boolean
support
(ActivityType activityType) true
if the notifier support the activity typeMethods inherited from class org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityNotifier
_getSubjectI18nKey, contextualize, getMailHtmlBody, getMailSubject, getMailTextBody, getSubjectI18nParams, 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
-
MinisiteActivityNotifier
public MinisiteActivityNotifier()
-
-
Method Details
-
support
Description copied from interface:ActivityNotifier
true
if the notifier support the activity type- Parameters:
activityType
- the activity type- Returns:
true
if the notifier support the activity type
-
getMailBodyURI
Description copied from class:AbstractWorkspacesActivityNotifier
Get the URI to resolve to get the mail body- Specified by:
getMailBodyURI
in classAbstractWorkspacesActivityNotifier
- Parameters:
activity
- the activity- Returns:
- the uri
-
getTargetAmetysObject
Description copied from class:AbstractWorkspacesActivityNotifier
Retrieve the ametys object targeted by this activity. This method is intended for right computation purposes.- Specified by:
getTargetAmetysObject
in classAbstractWorkspacesActivityNotifier
- Parameters:
activity
- the activity- Returns:
- the target
-