Package org.apache.ofbiz.widget.model
Class ModelTreeAction
java.lang.Object
org.apache.ofbiz.widget.model.AbstractModelAction
org.apache.ofbiz.widget.model.ModelTreeAction
- All Implemented Interfaces:
Serializable
,ModelAction
- Direct Known Subclasses:
ModelTreeAction.EntityAnd
,ModelTreeAction.EntityCondition
,ModelTreeAction.Script
,ModelTreeAction.Service
Abstract tree action.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Models the <entity-and> element.static class
Models the <entity-condition> element.static class
Models the <script> element.static class
Models the <service> element.Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
AbstractModelAction.EntityOne, AbstractModelAction.GetRelated, AbstractModelAction.GetRelatedOne, AbstractModelAction.PropertyMap, AbstractModelAction.PropertyToField, AbstractModelAction.SetField
-
Constructor Summary
ModifierConstructorDescriptionprotected
ModelTreeAction
(ModelTree.ModelNode.ModelSubNode modelSubNode, Element actionElement) protected
ModelTreeAction
(ModelTree.ModelNode modelNode, Element actionElement) -
Method Summary
Modifier and TypeMethodDescriptionGets model sub node.Gets model tree.static List<ModelAction>
readNodeActions
(ModelTree.ModelNode modelNode, Element actionsElement) static List<ModelAction>
readSubNodeActions
(ModelTree.ModelNode.ModelSubNode modelSubNode, Element actionsElement) Methods inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
getModelWidget, newInstance, readSubActions, runSubActions, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.ofbiz.widget.model.ModelAction
accept, runAction
-
Constructor Details
-
ModelTreeAction
-
ModelTreeAction
-
-
Method Details
-
readNodeActions
public static List<ModelAction> readNodeActions(ModelTree.ModelNode modelNode, Element actionsElement) -
readSubNodeActions
public static List<ModelAction> readSubNodeActions(ModelTree.ModelNode.ModelSubNode modelSubNode, Element actionsElement) -
getModelSubNode
Gets model sub node.- Returns:
- the model sub node
-
getModelTree
Gets model tree.- Returns:
- the model tree
-