Package org.apache.ofbiz.widget.model
Class ModelForm.UpdateArea
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelForm.UpdateArea
-
- Enclosing class:
- ModelForm
public static class ModelForm.UpdateArea extends java.lang.Object
The UpdateArea class implements the<on-event-update-area>
elements used in form widgets.
-
-
Constructor Summary
Constructors Constructor Description UpdateArea(java.lang.String eventType, java.lang.String areaId, java.lang.String areaTarget)
String constructor.UpdateArea(org.w3c.dom.Element updateAreaElement)
UpdateArea(org.w3c.dom.Element updateAreaElement, java.lang.String defaultServiceName, java.lang.String defaultEntityName)
XML constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAreaId()
java.lang.String
getAreaTarget()
java.lang.String
getAreaTarget(java.util.Map<java.lang.String,? extends java.lang.Object> context)
CommonWidgetModels.AutoEntityParameters
getAutoEntityParameters()
CommonWidgetModels.AutoServiceParameters
getAutoServiceParameters()
java.lang.String
getDefaultEntityName()
java.lang.String
getDefaultServiceName()
java.lang.String
getEventType()
java.util.List<CommonWidgetModels.Parameter>
getParameterList()
java.util.Map<java.lang.String,java.lang.String>
getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context)
int
hashCode()
-
-
-
Constructor Detail
-
UpdateArea
public UpdateArea(org.w3c.dom.Element updateAreaElement)
-
UpdateArea
public UpdateArea(org.w3c.dom.Element updateAreaElement, java.lang.String defaultServiceName, java.lang.String defaultEntityName)
XML constructor.- Parameters:
updateAreaElement
- The<on-xxx-update-area>
XML element.
-
UpdateArea
public UpdateArea(java.lang.String eventType, java.lang.String areaId, java.lang.String areaTarget)
String constructor.- Parameters:
areaId
- The id of the widget element to be updatedareaTarget
- The target URL called to update the area
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getAreaId
public java.lang.String getAreaId()
-
getAreaTarget
public java.lang.String getAreaTarget(java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
getEventType
public java.lang.String getEventType()
-
getParameterMap
public java.util.Map<java.lang.String,java.lang.String> getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getAreaTarget
public java.lang.String getAreaTarget()
-
getDefaultServiceName
public java.lang.String getDefaultServiceName()
-
getDefaultEntityName
public java.lang.String getDefaultEntityName()
-
getAutoEntityParameters
public CommonWidgetModels.AutoEntityParameters getAutoEntityParameters()
-
getAutoServiceParameters
public CommonWidgetModels.AutoServiceParameters getAutoServiceParameters()
-
getParameterList
public java.util.List<CommonWidgetModels.Parameter> getParameterList()
-
-