public class ForumButtonVisibilityControl extends DataBoundControl<TabularSource<?>>
Modifier and Type | Field and Description |
---|---|
static String |
VISIBILITY_TYPE_FORUM_LOCK_BUTTONS |
static String |
VISIBILITY_TYPE_FORUM_NEW_TOPIC_BUTTONS |
static String |
VISIBILITY_TYPE_TOPIC_LOCK_BUTTONS |
static String |
VISIBILITY_TYPE_TOPIC_REPLY_BUTTONS |
FORCE_CASE_LOWER, FORCE_CASE_NONE, FORCE_CASE_UPPER, forceCase, requestParameterName, UNKNOWN_DATA_TYPE, value, valuePreviouslySet
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 and Description |
---|
ForumButtonVisibilityControl() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleForumLockButtons(Node controlDefinitionNode,
String userId) |
protected void |
handleForumNewTopicButtons(Node controlDefinitionNode,
String currentUserId) |
protected void |
handleTopicLockButtons(Node controlDefinitionNode,
String userId) |
protected void |
handleTopicReplyButtons(Node controlDefinitionNode,
String userId) |
void |
init(Node controlDefinitionNode,
ControlContainer controlContainer,
IControl parentControl) |
protected void |
removeAllSubControls(Node controlDefinitionNode) |
void |
setRenderData() |
autoAddDateTimeValueValidator, autoAddDoubleValueValidator, autoAddFileSizeValidator, autoAddIntegerValueValidator, autoAddLengthValidator, autoAddLongValueValidator, autoAddRequiredValueValidator, autoAddValidators, buildSubControls, createConverter, createDataType, getDataId, getFieldName, getProcessActionHandlerParameterName, getReload, getRuntimeDefaultSource, getSource, getSourceById, getUnboundedConverter, loadFromRequest, setDefaultValue, setRawValue, setReload, setSourceParameter, setSourceParameters, setsSourceParameters, setValid, setValueFromSource, setValueFromSource, update
convertValueToControlValue, getConverter, getDataType, getDefaultValue, getParameterValue, getProcessActionIds, getRequestParameterName, getValue, getValue, getValueClass, initProcessActionIds, isTrim, loadSubControlFromRequest, loadSubControlsFromRequest, setProcessActionHandlerParameter, setProcessActionHandlerParameter, setProcessActionHandlerParameters, setTrim, setValue, valueIsArray
appendSubControl, appendSubControls, applyOnEventScripts, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getScriptActionValidation, getSourceContext, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getProcessActionIds, getValue, getValue, setProcessActionHandlerParameters, setValue
createContainer, disconnect, getChildControls, getControlResource, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes
getResources, getSourceContext
public static String VISIBILITY_TYPE_FORUM_LOCK_BUTTONS
public static String VISIBILITY_TYPE_TOPIC_LOCK_BUTTONS
public static String VISIBILITY_TYPE_FORUM_NEW_TOPIC_BUTTONS
public static String VISIBILITY_TYPE_TOPIC_REPLY_BUTTONS
public void init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
init
in interface IControl
init
in class DataBoundControl<TabularSource<?>>
PortalException
public void setRenderData() throws PortalException
setRenderData
in interface IControl
setRenderData
in class DataBoundControl<TabularSource<?>>
PortalException
protected void handleForumLockButtons(Node controlDefinitionNode, String userId) throws PortalException
PortalException
protected void handleTopicLockButtons(Node controlDefinitionNode, String userId) throws PortalException
PortalException
protected void handleForumNewTopicButtons(Node controlDefinitionNode, String currentUserId) throws PortalException
PortalException
protected void handleTopicReplyButtons(Node controlDefinitionNode, String userId) throws PortalException
PortalException
protected void removeAllSubControls(Node controlDefinitionNode) throws PortalException
PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.