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