lumis.service.forum
Class ForumProcessActionHandler
java.lang.Object
lumis.doui.processaction.ProcessActionHandler<Source>
lumis.service.forum.ForumProcessActionHandler
- All Implemented Interfaces:
- IProcessActionHandler, IParameters
public class ForumProcessActionHandler
- extends ProcessActionHandler<Source>
Class responsible for executing maintence actions on forum entities.
- Since:
- 4.0.5
Fields inherited from class lumis.doui.processaction.ProcessActionHandler |
douiContext, localizationManager, parameters, processActionContainer, processActionNode, RESPONSE_TYPE_CLOSE_WINDOW, RESPONSE_TYPE_HYPERLINK, RESPONSE_TYPE_MESSAGE, RESPONSE_TYPE_POPUP_INTERFACE, RESPONSE_TYPE_PREVIEW, RESPONSE_TYPE_REFRESH_PARENT, RESPONSE_TYPE_REQUEST_PROCESS_ACTION_CONFIRMATION_MESSAGE, RESPONSE_TYPE_REQUEST_PROCESS_ACTION_CONFIRMATION_PROCESS_ACTION_ID, RESPONSE_TYPE_RUN_JAVASCRIPT, RESPONSE_TYPE_SET_REQUEST_ATTRIBUTES, RESPONSE_TYPE_SET_REQUEST_PARAMETERS, RESPONSE_TYPE_SET_RESPONSE_PARAMETERS, RESPONSE_TYPE_STANDARD_COMMIT, RESPONSE_TYPE_STANDARD_EMBEDDED, RESPONSE_TYPE_STANDARD_POPUP, RESPONSE_TYPE_VALIDATE_PROCESS_ACTION_ON_RENDER, sessionConfig, source, sourceContainer, transaction |
Methods inherited from class lumis.doui.processaction.ProcessActionHandler |
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOPIC_ADD
public static final String TOPIC_ADD
- See Also:
- Constant Field Values
TOPIC_DELETE
public static final String TOPIC_DELETE
- See Also:
- Constant Field Values
TOPIC_LOCK
public static final String TOPIC_LOCK
- See Also:
- Constant Field Values
TOPIC_UNLOCK
public static final String TOPIC_UNLOCK
- See Also:
- Constant Field Values
MESSAGE_ADD
public static final String MESSAGE_ADD
- See Also:
- Constant Field Values
MESSAGE_EDIT
public static final String MESSAGE_EDIT
- See Also:
- Constant Field Values
MESSAGE_DELETE
public static final String MESSAGE_DELETE
- See Also:
- Constant Field Values
CATEGORY_DELETE
public static final String CATEGORY_DELETE
- See Also:
- Constant Field Values
FORUM_LOCK
public static final String FORUM_LOCK
- See Also:
- Constant Field Values
FORUM_UNLOCK
public static final String FORUM_UNLOCK
- See Also:
- Constant Field Values
ForumProcessActionHandler
public ForumProcessActionHandler()
processAction
public void processAction()
throws PortalException
- Description copied from interface:
IProcessActionHandler
- Executes the process action.
This method may execute the process action based on the parameters and node specifications
passed to it earlier.
- Throws:
PortalException
processDeleteCategory
protected void processDeleteCategory()
throws PortalException
- Throws:
PortalException
processUnlockForum
protected void processUnlockForum()
throws PortalException
- Throws:
PortalException
processLockForum
protected void processLockForum()
throws PortalException
- Throws:
PortalException
processUnlockTopic
protected void processUnlockTopic()
throws PortalException
- Throws:
PortalException
processLockTopic
protected void processLockTopic()
throws PortalException
- Throws:
PortalException
processAddTopic
protected void processAddTopic()
throws PortalException
- Throws:
PortalException
processAddMessage
protected void processAddMessage()
throws PortalException
- Throws:
PortalException
processEditMessage
protected void processEditMessage()
throws PortalException
- Throws:
PortalException
processDeleteTopic
protected void processDeleteTopic()
throws PortalException
- Throws:
PortalException
processDeleteMessage
protected void processDeleteMessage()
throws PortalException
- Throws:
PortalException
isTopicLocked
public static boolean isTopicLocked(String topicId,
ITransaction transaction,
boolean checkForumLocked)
throws PortalException
- Throws:
PortalException
isTopicLocked
public static boolean isTopicLocked(String topicId,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
isForumLocked
public static boolean isForumLocked(String forumId,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
isForumModerator
public static boolean isForumModerator(SessionConfig sessionConfig,
String forumId,
String currentUserId,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.