public interface FormProxyObject
Note: To avoid the method naming conflict with the origin object, we declare those long method names, getOriginObject, resetFormOrigin, submitToOrigin, and isDirtyForm
Modifier and Type | Method and Description |
---|---|
void |
cacheSavePropertyBinding(java.lang.String property,
SavePropertyBinding savePropertyBinding)
Cache save property binding by property string
|
java.util.Set<Pair<java.lang.String,SavePropertyBinding>> |
collectCachedSavePropertyBinding()
Collect all of collect cached save property bindings
|
java.lang.Object |
getOriginObject()
Returns the origin object.
|
boolean |
isFormDirty()
Returns whether the form proxy object is dirty or not, including all
of its attributes.
|
void |
resetFromOrigin()
Resets all of the changes of this form from the origin object.
|
void |
setFormOwner(java.lang.Object owner,
FormBinding binding)
Sets the owner of this form with its binding.
|
void |
setPath(java.lang.String property,
ProxyNode parent)
Set the property of current form proxy object and it's creator
|
void |
submitToOrigin(BindContext ctx)
Saves all of the changes of this form to the origin object.
|
java.lang.Object getOriginObject()
void resetFromOrigin()
void submitToOrigin(BindContext ctx)
ctx
- boolean isFormDirty()
void setFormOwner(java.lang.Object owner, FormBinding binding)
owner
- the object associated with this form.void setPath(java.lang.String property, ProxyNode parent)
property
- p the propertyparent
- parent the parent proxy nodevoid cacheSavePropertyBinding(java.lang.String property, SavePropertyBinding savePropertyBinding)
property
- the property of save property bindingsavePropertyBinding
- the save property bindingjava.util.Set<Pair<java.lang.String,SavePropertyBinding>> collectCachedSavePropertyBinding()
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.