Class NotifyToSocial
- java.lang.Object
-
- org.gcube.application.cms.notifications.manage.NotifyToSocial
-
public class NotifyToSocial extends Object
-
-
Constructor Summary
Constructors Constructor Description NotifyToSocial(org.gcube.application.cms.plugins.events.ItemObserved<org.gcube.application.geoportal.common.model.document.Project> itemObserved, List<NotificationWhen> listWhen, NMessagesPlaceholdersSubstitutorUtil nMPlaceholdersSUtil, List<org.gcube.application.geoportal.common.model.document.accounting.User> recipientUsers, org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType catalogueEventType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventgetCatalogueEvent(String subject, String bodyMessage)voidsendNotification()protected org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventtoCatalogueEvent(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType catalogueEventType, String messageString, String subject, String itemURL, List<String> users)protected voiduserNotify(String subject, String bodyMessage, org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType catalogueEventType)
-
-
-
Constructor Detail
-
NotifyToSocial
public NotifyToSocial(org.gcube.application.cms.plugins.events.ItemObserved<org.gcube.application.geoportal.common.model.document.Project> itemObserved, List<NotificationWhen> listWhen, NMessagesPlaceholdersSubstitutorUtil nMPlaceholdersSUtil, List<org.gcube.application.geoportal.common.model.document.accounting.User> recipientUsers, org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType catalogueEventType)
-
-
Method Detail
-
userNotify
protected void userNotify(String subject, String bodyMessage, org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType catalogueEventType) throws Exception
- Throws:
Exception
-
getCatalogueEvent
protected org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent getCatalogueEvent(String subject, String bodyMessage) throws Exception
- Throws:
Exception
-
toCatalogueEvent
protected org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent toCatalogueEvent(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType catalogueEventType, String messageString, String subject, String itemURL, List<String> users) throws Exception- Throws:
Exception
-
-