public class SocialCommunications extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_PROFILE_OID |
| Constructor and Description |
|---|
SocialCommunications() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getBaseUrlSocialService(javax.servlet.http.HttpServletRequest httpServletRequest) |
static String |
getEncodedUrlManage(RevertableOperations operation,
String administrator,
long timestamp,
String uuid,
String clientCurrenturl)
Create the url to be send for reverting the operation
|
static void |
sendEmailAdministrators(String serviceUrl,
ManageProductBean bean,
org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue catalogue,
String username,
String fullName,
long groupId,
String clientCurrenturl,
boolean isMergeInvolved)
Send an email to the administrator as well as the
|
static void |
sendEmailAdministratorsOnOperationReverted(String serviceUrl,
RevertableOperationInfo rInfo,
long groupId) |
static void |
writePostOnRevert(String serviceUrl,
RevertableOperationInfo rInfo,
boolean enablePostNotification,
String userCurrentUrl)
Notify the users about the required changes.
|
static void |
writeProductPost(String serviceUrl,
ManageProductBean bean,
String username,
String fullName,
boolean enablePostNotification,
String userCurrentUrl)
Notify the users about the required changes.
|
public static final String USER_PROFILE_OID
public static String getBaseUrlSocialService(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest - context - public static void writePostOnRevert(String serviceUrl, RevertableOperationInfo rInfo, boolean enablePostNotification, String userCurrentUrl) throws Exception
bean - url - username - fullName - hashtags - enablePostNotification - Exceptionpublic static void writeProductPost(String serviceUrl, ManageProductBean bean, String username, String fullName, boolean enablePostNotification, String userCurrentUrl) throws Exception
bean - url - username - fullName - hashtags - enablePostNotification - Exceptionpublic static void sendEmailAdministrators(String serviceUrl, ManageProductBean bean, org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue catalogue, String username, String fullName, long groupId, String clientCurrenturl, boolean isMergeInvolved) throws Exception
bean - catalogue - username - fullName - isMergeInvolved - httpSession - ExceptioExceptionpublic static void sendEmailAdministratorsOnOperationReverted(String serviceUrl, RevertableOperationInfo rInfo, long groupId) throws Exception
ExceptionCopyright © 2018. All Rights Reserved.