Class ExecuteScriptControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.script.ScriptControl
-
- lumis.service.autoadministration.control.ExecuteScriptControl
-
- All Implemented Interfaces:
VariableResolver
,IControl
- Direct Known Subclasses:
CallEditInterfaceScriptControl
,CallLockContentScriptControl
,CallPreviewInterfaceScriptControl
,CallVersionsInterfaceScriptControl
public abstract class ExecuteScriptControl extends ScriptControl
Abstract class to render javascripts.- Since:
- 7.0.0
- Version:
- $Revision: 19558 $ $Date: 2016-12-01 18:07:32 -0200 (Thu, 01 Dec 2016) $
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
itemIdControlId
Control attribute to define itemId control id.-
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 ExecuteScriptControl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getItemId()
Returns the itemId.protected java.lang.String
getJavascriptMessage(java.lang.String text)
Returns a javascript alert.void
init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl)
protected abstract void
setDefinitionNode(java.lang.String itemId)
Defines the node to be transformed in link from control.void
setRenderData()
-
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, getRuntimeDefaultSource, getScriptActionValidation, getSourceContext, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
init
public void init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
- Specified by:
init
in interfaceIControl
- Overrides:
init
in classControl
- Throws:
PortalException
-
setRenderData
public void setRenderData() throws PortalException
- Specified by:
setRenderData
in interfaceIControl
- Overrides:
setRenderData
in classScriptControl
- Throws:
PortalException
-
getJavascriptMessage
protected java.lang.String getJavascriptMessage(java.lang.String text)
Returns a javascript alert.- Parameters:
text
- text to be showed.- Returns:
- a javascript alert.
- Since:
- 7.0.0
-
getItemId
protected java.lang.String getItemId() throws PortalException
Returns the itemId.- Returns:
- the itemId.
- Throws:
PortalException
- Since:
- 7.0.0
-
setDefinitionNode
protected abstract void setDefinitionNode(java.lang.String itemId) throws PortalException
Defines the node to be transformed in link from control.- Parameters:
itemId
- the itemId.- Throws:
PortalException
- Since:
- 7.0.0
-
-