Class NotifyUsers
- java.lang.Object
-
- org.gcube.application.cms.notifications.manage.NotifyUsers
-
public class NotifyUsers extends Object
-
-
Constructor Summary
Constructors Constructor Description NotifyUsers(SocialClients socialClients, 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)protected voidpostMessage(String subject, String bodyMessage, org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType catalogueEventType)voidsendNotification()protected voidsendNotification(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent catalogueEvent)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)
-
-
-
Constructor Detail
-
NotifyUsers
public NotifyUsers(SocialClients socialClients, 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
-
postMessage
protected void postMessage(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
-
sendNotification
protected void sendNotification(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent catalogueEvent) 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
-
-