Package org.apache.ofbiz.widget.model
Class ModelTreeAction.Script
- java.lang.Object
-
- org.apache.ofbiz.widget.model.AbstractModelAction
-
- org.apache.ofbiz.widget.model.ModelTreeAction
-
- org.apache.ofbiz.widget.model.ModelTreeAction.Script
-
- All Implemented Interfaces:
Serializable
,ModelAction
- Enclosing class:
- ModelTreeAction
public static class ModelTreeAction.Script extends ModelTreeAction
Models the <script> element.- See Also:
widget-tree.xsd
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.ModelTreeAction
ModelTreeAction.EntityAnd, ModelTreeAction.EntityCondition, ModelTreeAction.Script, ModelTreeAction.Service
-
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
AbstractModelAction.EntityOne, AbstractModelAction.GetRelated, AbstractModelAction.GetRelatedOne, AbstractModelAction.PropertyMap, AbstractModelAction.PropertyToField, AbstractModelAction.SetField
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.ModelTreeAction
module
-
-
Constructor Summary
Constructors Constructor Description Script(ModelTree.ModelNode.ModelSubNode modelSubNode, Element scriptElement)
Script(ModelTree.ModelNode modelNode, Element scriptElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelActionVisitor visitor)
String
getLocation()
String
getMethod()
void
runAction(Map<String,Object> context)
Executes this action.-
Methods inherited from class org.apache.ofbiz.widget.model.ModelTreeAction
getModelSubNode, getModelTree, readNodeActions, readSubNodeActions
-
Methods inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
getModelWidget, newInstance, readSubActions, runSubActions, toString
-
-
-
-
Constructor Detail
-
Script
public Script(ModelTree.ModelNode modelNode, Element scriptElement)
-
Script
public Script(ModelTree.ModelNode.ModelSubNode modelSubNode, Element scriptElement)
-
-
Method Detail
-
accept
public void accept(ModelActionVisitor visitor) throws Exception
- Throws:
Exception
-
getLocation
public String getLocation()
-
getMethod
public String getMethod()
-
runAction
public void runAction(Map<String,Object> context)
Description copied from interface:ModelAction
Executes this action.
-
-