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:
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, 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.AbstractModelAction
getModelWidget, newInstance, readSubActions, runSubActions, toString
-
-
-
-
Constructor Detail
-
Script
public Script(ModelWidget modelWidget, Element scriptElement)
-
-
Method Detail
-
accept
public void accept(ModelActionVisitor visitor) throws Exception
- Throws:
Exception
-
runAction
public void runAction(Map<String,Object> context) throws GeneralException
Description copied from interface:ModelAction
Executes this action.- Throws:
GeneralException
-
getLocation
public String getLocation()
-
getMethod
public String getMethod()
-
-