com.stratelia.webactiv.forums.control.helpers
Class ForumActionHelper

java.lang.Object
  extended by com.stratelia.webactiv.forums.control.helpers.ForumActionHelper

public class ForumActionHelper
extends Object

Author:
ehugonnet

Field Summary
static int CREATE_FORUM
           
static int CREATE_MESSAGE
           
static int DELETE_FORUM
           
static int DELETE_MESSAGE
           
static int DEPLOY_FORUM
           
static int DEPLOY_MESSAGE
           
static int EVALUATE_FORUM
           
static int LOCK_FORUM
           
static int MOVE_MESSAGE
           
static int SUBSCRIBE_FORUM
           
static int SUBSCRIBE_FORUMS
           
static int SUBSCRIBE_THREAD
           
static int UNDEPLOY_FORUM
           
static int UNDEPLOY_MESSAGE
           
static int UNLOCK_FORUM
           
static int UNSUBSCRIBE_FORUM
           
static int UNSUBSCRIBE_FORUMS
           
static int UNSUBSCRIBE_THREAD
           
static int UPDATE_FORUM
           
static int UPDATE_MESSAGE
           
 
Method Summary
static void actionManagement(javax.servlet.http.HttpServletRequest request, boolean isAdmin, boolean isModerator, String userId, com.stratelia.webactiv.util.ResourceLocator resource, javax.servlet.jsp.JspWriter out, ForumsSessionController fsc)
          Method invoked from JSP (yes, this is bad ... this has to change)
static void createForumAction(javax.servlet.http.HttpServletRequest request, ForumsSessionController fsc)
          Handles the invocation of the create or update forum action
static void updateForumAction(javax.servlet.http.HttpServletRequest request, ForumsSessionController fsc)
          Handles the invocation of the create or update forum action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPLOY_FORUM

public static final int DEPLOY_FORUM
See Also:
Constant Field Values

UNDEPLOY_FORUM

public static final int UNDEPLOY_FORUM
See Also:
Constant Field Values

CREATE_FORUM

public static final int CREATE_FORUM
See Also:
Constant Field Values

DELETE_FORUM

public static final int DELETE_FORUM
See Also:
Constant Field Values

LOCK_FORUM

public static final int LOCK_FORUM
See Also:
Constant Field Values

UNLOCK_FORUM

public static final int UNLOCK_FORUM
See Also:
Constant Field Values

UPDATE_FORUM

public static final int UPDATE_FORUM
See Also:
Constant Field Values

CREATE_MESSAGE

public static final int CREATE_MESSAGE
See Also:
Constant Field Values

DELETE_MESSAGE

public static final int DELETE_MESSAGE
See Also:
Constant Field Values

DEPLOY_MESSAGE

public static final int DEPLOY_MESSAGE
See Also:
Constant Field Values

UNDEPLOY_MESSAGE

public static final int UNDEPLOY_MESSAGE
See Also:
Constant Field Values

MOVE_MESSAGE

public static final int MOVE_MESSAGE
See Also:
Constant Field Values

UNSUBSCRIBE_THREAD

public static final int UNSUBSCRIBE_THREAD
See Also:
Constant Field Values

SUBSCRIBE_THREAD

public static final int SUBSCRIBE_THREAD
See Also:
Constant Field Values

UPDATE_MESSAGE

public static final int UPDATE_MESSAGE
See Also:
Constant Field Values

EVALUATE_FORUM

public static final int EVALUATE_FORUM
See Also:
Constant Field Values

UNSUBSCRIBE_FORUM

public static final int UNSUBSCRIBE_FORUM
See Also:
Constant Field Values

SUBSCRIBE_FORUM

public static final int SUBSCRIBE_FORUM
See Also:
Constant Field Values

UNSUBSCRIBE_FORUMS

public static final int UNSUBSCRIBE_FORUMS
See Also:
Constant Field Values

SUBSCRIBE_FORUMS

public static final int SUBSCRIBE_FORUMS
See Also:
Constant Field Values
Method Detail

createForumAction

public static void createForumAction(javax.servlet.http.HttpServletRequest request,
                                     ForumsSessionController fsc)
                              throws ForumsException
Handles the invocation of the create or update forum action

Parameters:
request -
fsc -
Throws:
ForumsException

updateForumAction

public static void updateForumAction(javax.servlet.http.HttpServletRequest request,
                                     ForumsSessionController fsc)
                              throws ForumsException
Handles the invocation of the create or update forum action

Parameters:
request -
fsc -
Throws:
ForumsException

actionManagement

public static void actionManagement(javax.servlet.http.HttpServletRequest request,
                                    boolean isAdmin,
                                    boolean isModerator,
                                    String userId,
                                    com.stratelia.webactiv.util.ResourceLocator resource,
                                    javax.servlet.jsp.JspWriter out,
                                    ForumsSessionController fsc)
Method invoked from JSP (yes, this is bad ... this has to change)

Parameters:
request -
isAdmin -
isModerator -
userId -
resource -
out -
fsc -


Copyright © 2016 Silverpeas. All Rights Reserved.