net.xoetrope.optional.data.pojo
Class XHibernateDataBindingContext

java.lang.Object
  extended by net.xoetrope.xui.XDataBindingContext
      extended by net.xoetrope.optional.data.pojo.XHibernateDataBindingContext

public class XHibernateDataBindingContext
extends XDataBindingContext


Field Summary
protected  XPojoHibernateContext pojoContext
          A class used by XPage to manage the pojo data binding coordination Copyright (c) Xoetrope Ltd., 2002-2005 License: see license.txt $Revision: 1.1 $
protected  boolean sessionInView
           
 
Fields inherited from class net.xoetrope.xui.XDataBindingContext
evaluator, modelBindings
 
Constructor Summary
XHibernateDataBindingContext(XPathEvaluator pathEvaluator)
          Creates a new instance of XHibernateDataBindingContext
 
Method Summary
 boolean isSessionInView()
          Gets the value of the sessionInView property
 void saveBoundComponentValues()
          Save the component values to the model.
 void setSessionInView(boolean siv)
          Sets the value of the sessionInView property
 void updateBindings()
          Iterate all of the bindings in the page to relfect the model state.
 void updateBoundComponentValues()
          Update UI components with values from the model
 
Methods inherited from class net.xoetrope.xui.XDataBindingContext
addBinding, getBinding, getBinding, getBindings, removeBinding, updateBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pojoContext

protected XPojoHibernateContext pojoContext

A class used by XPage to manage the pojo data binding coordination

Copyright (c) Xoetrope Ltd., 2002-2005

License: see license.txt

$Revision: 1.1 $


sessionInView

protected boolean sessionInView
Constructor Detail

XHibernateDataBindingContext

public XHibernateDataBindingContext(XPathEvaluator pathEvaluator)
Creates a new instance of XHibernateDataBindingContext

Method Detail

updateBoundComponentValues

public void updateBoundComponentValues()
Update UI components with values from the model

Overrides:
updateBoundComponentValues in class XDataBindingContext

updateBindings

public void updateBindings()
Iterate all of the bindings in the page to relfect the model state.

Overrides:
updateBindings in class XDataBindingContext

saveBoundComponentValues

public void saveBoundComponentValues()
Save the component values to the model.

Overrides:
saveBoundComponentValues in class XDataBindingContext

isSessionInView

public boolean isSessionInView()
Gets the value of the sessionInView property


setSessionInView

public void setSessionInView(boolean siv)
Sets the value of the sessionInView property