com.silverpeas.external.mailinglist.servlets
Class MessageProcessor

java.lang.Object
  extended by com.silverpeas.external.mailinglist.servlets.MessageProcessor
All Implemented Interfaces:
MailingListRoutage

public class MessageProcessor
extends Object
implements MailingListRoutage


Field Summary
 
Fields inherited from interface com.silverpeas.external.mailinglist.servlets.MailingListRoutage
ACTIVITY_LIST_ATT, ACTIVITY_MAP_ATT, ACTIVITY_YEARS_ATT, COMPONENT_ID_ATT, CURRENT_MONTH_PARAM, CURRENT_PAGE_ATT, CURRENT_PAGE_PARAM, CURRENT_YEAR_PARAM, DELETE_ACTION, DESTINATION_ACTIVITIES, DESTINATION_ATTACHMENT, DESTINATION_DISPLAY_ACTIVITY, DESTINATION_DISPLAY_LIST, DESTINATION_DISPLAY_MESSAGE, DESTINATION_DISPLAY_MODERATION, DESTINATION_DISPLAY_PORTLET, DESTINATION_DISPLAY_USERS, DESTINATION_ELEMENT, DESTINATION_LIST, DESTINATION_MESSAGE, DESTINATION_MODERATION, DESTINATION_PORTLET, DESTINATION_SUBSCRIBERS, DESTINATION_USERS, IS_LIST_MODERATED_ATT, IS_USER_ADMIN_ATT, IS_USER_MODERATOR_ATT, IS_USER_SUBSCRIBER_ATT, JSP_BASE, LIST_VALUE, MAILING_LIST_ATT, MESSAGE_ATT, MESSAGE_ATTACHMENTS_ATT, MESSAGE_VALUE, MESSAGES_LIST_ATT, MODERATION_VALUE, NB_PAGE_ATT, ORDER_ASC_PARAM, ORDER_BY_PARAM, PORTLET_MODE_ATT, PREVIOUS_PATH_ATT, RSS_URL_ATT, SELECTED_MESSAGE_PARAM, SELECTED_USERS_PARAM, SUBSCRIBERS_VALUE, UPDATE_ACTION, USERS_LIST_ATT, USERS_LIST_PARAM, USERS_VALUE
 
Constructor Summary
MessageProcessor()
           
 
Method Summary
protected static String buildRedirectUrl(javax.servlet.http.HttpServletRequest request, String destination)
           
protected static void deleteMessage(String id)
           
protected static Message findMessage(String id)
           
protected static void moderateMessage(String id)
           
static String processMessage(RestRequest rest, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageProcessor

public MessageProcessor()
Method Detail

processMessage

public static String processMessage(RestRequest rest,
                                    javax.servlet.http.HttpServletRequest request)

buildRedirectUrl

protected static String buildRedirectUrl(javax.servlet.http.HttpServletRequest request,
                                         String destination)

findMessage

protected static Message findMessage(String id)

deleteMessage

protected static void deleteMessage(String id)

moderateMessage

protected static void moderateMessage(String id)


Copyright © 2016 Silverpeas. All Rights Reserved.