Package org.apache.ofbiz.widget.model
Class AbstractModelAction.SetField
java.lang.Object
org.apache.ofbiz.widget.model.AbstractModelAction
org.apache.ofbiz.widget.model.AbstractModelAction.SetField
- All Implemented Interfaces:
Serializable
,ModelAction
- Enclosing class:
- AbstractModelAction
Models the <set> 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelActionVisitor visitor) Gets default exdr.getField()
Gets field.Gets from field.Gets from scope.Gets global exdr.getInMemoryPersistedFromField
(Object storeAgent, Map<String, Object> context) Gets in memory persisted from field.Gets to scope.getType()
Gets type.Gets value exdr.void
Executes this action.Methods inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
getModelWidget, newInstance, readSubActions, runSubActions, toString
-
Constructor Details
-
SetField
-
-
Method Details
-
accept
- Throws:
Exception
-
getInMemoryPersistedFromField
Gets in memory persisted from field.- Parameters:
storeAgent
- the store agentcontext
- the context- Returns:
- the in memory persisted from field
-
runAction
Description copied from interface:ModelAction
Executes this action. -
getDefaultExdr
Gets default exdr.- Returns:
- the default exdr
-
getField
Gets field.- Returns:
- the field
-
getFromField
Gets from field.- Returns:
- the from field
-
getFromScope
Gets from scope.- Returns:
- the from scope
-
getGlobalExdr
Gets global exdr.- Returns:
- the global exdr
-
getToScope
Gets to scope.- Returns:
- the to scope
-
getType
Gets type.- Returns:
- the type
-
getValueExdr
Gets value exdr.- Returns:
- the value exdr
-