Package lumis.service.forum
Class ForumButtonVisibilityControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<TabularSource<?>>
-
- lumis.service.forum.ForumButtonVisibilityControl
-
- All Implemented Interfaces:
VariableResolver
,IControl
public class ForumButtonVisibilityControl extends SourceBoundControl<TabularSource<?>>
- Since:
- 4.0.5
- Version:
- $Revision: 20877 $ $Date: 2018-01-09 11:44:08 -0200 (Tue, 09 Jan 2018) $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VISIBILITY_TYPE_FORUM_LOCK_BUTTONS
static java.lang.String
VISIBILITY_TYPE_FORUM_NEW_TOPIC_BUTTONS
static java.lang.String
VISIBILITY_TYPE_TOPIC_LOCK_BUTTONS
static java.lang.String
VISIBILITY_TYPE_TOPIC_REPLY_BUTTONS
-
Fields inherited from class lumis.doui.control.Control
childControls, controlContainer, controlDefinitionNode, controlResource, douiContext, hasValidatorSubControls, isValid, locale, ON_EVENT_CLOSE_WINDOW, ON_EVENT_LINK, ON_EVENT_POPUP_LINK_OR_RUNTIME_INTERFACE, ON_EVENT_POPUP_RUNTIME_INTERFACE, ON_EVENT_PROCESS_ACTION, ON_EVENT_RENDER_ACTION, ON_EVENT_REPLACE_INTERFACE, ON_EVENT_SCRIPT, ON_EVENT_VALIDATE, onEventScripts, PARAMETER_TYPE_FIRST_SELECTED, PARAMETER_TYPE_GET_VALUE, parentControl, resources, type, VALIDATION_SELECTED_MANY, VALIDATION_SELECTED_ONE
-
-
Constructor Summary
Constructors Constructor Description ForumButtonVisibilityControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleForumLockButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String userId)
protected void
handleForumNewTopicButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String currentUserId)
protected void
handleTopicLockButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String userId)
protected void
handleTopicReplyButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String userId)
protected void
removeAllSubControls(org.w3c.dom.Node controlDefinitionNode)
void
setRenderData()
-
Methods inherited from class lumis.doui.control.SourceBoundControl
getRuntimeDefaultSource, getSource, getSourceContext
-
Methods inherited from class lumis.doui.control.Control
appendSubControl, appendSubControls, applyOnEventScripts, buildSubControls, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getScriptActionValidation, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, init, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
-
-
-
Field Detail
-
VISIBILITY_TYPE_FORUM_LOCK_BUTTONS
public static java.lang.String VISIBILITY_TYPE_FORUM_LOCK_BUTTONS
-
VISIBILITY_TYPE_TOPIC_LOCK_BUTTONS
public static java.lang.String VISIBILITY_TYPE_TOPIC_LOCK_BUTTONS
-
VISIBILITY_TYPE_FORUM_NEW_TOPIC_BUTTONS
public static java.lang.String VISIBILITY_TYPE_FORUM_NEW_TOPIC_BUTTONS
-
VISIBILITY_TYPE_TOPIC_REPLY_BUTTONS
public static java.lang.String VISIBILITY_TYPE_TOPIC_REPLY_BUTTONS
-
-
Method Detail
-
setRenderData
public void setRenderData() throws PortalException
- Specified by:
setRenderData
in interfaceIControl
- Overrides:
setRenderData
in classControl
- Throws:
PortalException
-
handleForumLockButtons
protected void handleForumLockButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String userId) throws PortalException
- Throws:
PortalException
-
handleTopicLockButtons
protected void handleTopicLockButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String userId) throws PortalException
- Throws:
PortalException
-
handleForumNewTopicButtons
protected void handleForumNewTopicButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String currentUserId) throws PortalException
- Throws:
PortalException
-
handleTopicReplyButtons
protected void handleTopicReplyButtons(org.w3c.dom.Node controlDefinitionNode, java.lang.String userId) throws PortalException
- Throws:
PortalException
-
removeAllSubControls
protected void removeAllSubControls(org.w3c.dom.Node controlDefinitionNode) throws PortalException
- Throws:
PortalException
-
-