Class ManageDoActionNotification
- java.lang.Object
-
- org.gcube.application.cms.notifications.manage.ManageDoActionNotification
-
public class ManageDoActionNotification extends Object
The Class ManageDoActionNotification.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Feb 1, 2024
-
-
Constructor Summary
Constructors Constructor Description ManageDoActionNotification(org.gcube.application.cms.plugins.events.ItemObserved<org.gcube.application.geoportal.common.model.document.Project> itemObserved, NMessagesPlaceholdersSubstitutorUtil nMPlaceholdersSUtil, List<SubscribeNotificationEvent> filterList)Instantiates a new manage do action notification.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.gcube.application.geoportal.common.model.document.accounting.User>getListUserCompliantToRoles(NotificationFor notificationFor, org.gcube.application.cms.plugins.events.ItemObserved<org.gcube.application.geoportal.common.model.document.Project> itemObserved, boolean ignoreUserCaller)Gets the list user compliant to roles.voidmanage()Manage.static List<NotificationWhen>matchNotificationsAccordingItemStatus(NotificationFor notificationFor, String itemPhase, String lastInvokedStep)
-
-
-
Constructor Detail
-
ManageDoActionNotification
public ManageDoActionNotification(org.gcube.application.cms.plugins.events.ItemObserved<org.gcube.application.geoportal.common.model.document.Project> itemObserved, NMessagesPlaceholdersSubstitutorUtil nMPlaceholdersSUtil, List<SubscribeNotificationEvent> filterList)Instantiates a new manage do action notification.- Parameters:
itemObserved- the item observednMPlaceholdersSUtil- the n M placeholders S utilfilterList- the filter list
-
-
Method Detail
-
manage
public void manage()
Manage.
-
matchNotificationsAccordingItemStatus
public static List<NotificationWhen> matchNotificationsAccordingItemStatus(NotificationFor notificationFor, String itemPhase, String lastInvokedStep)
-
getListUserCompliantToRoles
public List<org.gcube.application.geoportal.common.model.document.accounting.User> getListUserCompliantToRoles(NotificationFor notificationFor, org.gcube.application.cms.plugins.events.ItemObserved<org.gcube.application.geoportal.common.model.document.Project> itemObserved, boolean ignoreUserCaller)
Gets the list user compliant to roles.- Parameters:
notificationFor- the notification foritemObserved- the item observedignoreUserCaller- the ignore user caller- Returns:
- the list user compliant to roles
-
-