|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.complex.ValueBindingObjectImpl com.ibm.xsp.model.AbstractDataSource com.ibm.xsp.model.AbstractViewDataSource
public abstract class AbstractViewDataSource
This is published because it is in the inheritence heirarchy of a public data source, but it not intended to be subclassed, and the API may change. Not intended to be subclassed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.xsp.model.AbstractDataSource |
---|
AbstractDataSource.RuntimeProperties |
Field Summary |
---|
Fields inherited from class com.ibm.xsp.model.AbstractDataSource |
---|
NO_VARS |
Constructor Summary | |
---|---|
AbstractViewDataSource()
|
Method Summary | |
---|---|
protected abstract ViewDataContainer |
doOpenView(javax.faces.context.FacesContext context)
Open the view |
javax.faces.el.MethodBinding |
getPostOpenView()
Triggered after opening the view. |
javax.faces.el.MethodBinding |
getQueryOpenView()
Triggered before opening the view. |
protected java.lang.Object |
invoke(javax.faces.context.FacesContext context,
javax.faces.el.MethodBinding methodBinding,
java.lang.Object[] params,
java.lang.Object view)
|
boolean |
isReadonly()
Return true if this is a read only data object |
protected abstract boolean |
isReadOnly(java.lang.Object view)
Is the specified view read only |
DataContainer |
load(javax.faces.context.FacesContext context)
Load the associated data container |
DataContainer |
openView(javax.faces.context.FacesContext context)
Open the specified view |
protected java.util.List<DataPublisher.ShadowedObject> |
pushData(javax.faces.context.FacesContext context,
java.lang.Object document,
boolean isReadOnly)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
boolean |
save(javax.faces.context.FacesContext context,
DataContainer data)
Save the current state of the data object |
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setPostOpenView(javax.faces.el.MethodBinding binding)
Triggered after opening the view. |
void |
setQueryOpenView(javax.faces.el.MethodBinding binding)
Triggered before opening the view. |
Methods inherited from class com.ibm.xsp.complex.ValueBindingObjectImpl |
---|
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.xsp.model.ViewDataSource |
---|
isView |
Methods inherited from interface com.ibm.xsp.model.ModelDataSource |
---|
getDataModel |
Methods inherited from interface com.ibm.xsp.model.DataSource |
---|
getBeanId, getDataContainer, getRequestParamPrefix, getScope, getUniqueId, getVar, getVars, isIgnoreRequestParams, refresh, save, setIgnoreRequestParams, setRequestParamPrefix, setScope, setVar |
Methods inherited from interface com.ibm.xsp.model.DataPublishingObject |
---|
popData, pushData |
Constructor Detail |
---|
public AbstractViewDataSource()
Method Detail |
---|
public DataContainer load(javax.faces.context.FacesContext context) throws java.io.IOException
AbstractDataSource
load
in class AbstractDataSource
java.io.IOException
public boolean isReadonly()
AbstractDataSource
isReadonly
in interface DataSource
isReadonly
in class AbstractDataSource
public boolean save(javax.faces.context.FacesContext context, DataContainer data) throws FacesExceptionEx
AbstractDataSource
save
in class AbstractDataSource
FacesExceptionEx
public javax.faces.el.MethodBinding getPostOpenView()
ViewDataSource
getPostOpenView
in interface ViewDataSource
public javax.faces.el.MethodBinding getQueryOpenView()
ViewDataSource
getQueryOpenView
in interface ViewDataSource
public void setPostOpenView(javax.faces.el.MethodBinding binding)
ViewDataSource
setPostOpenView
in interface ViewDataSource
public void setQueryOpenView(javax.faces.el.MethodBinding binding)
ViewDataSource
setQueryOpenView
in interface ViewDataSource
public DataContainer openView(javax.faces.context.FacesContext context) throws java.io.IOException
ViewDataSource
openView
in interface ViewDataSource
java.io.IOException
protected java.lang.Object invoke(javax.faces.context.FacesContext context, javax.faces.el.MethodBinding methodBinding, java.lang.Object[] params, java.lang.Object view)
protected java.util.List<DataPublisher.ShadowedObject> pushData(javax.faces.context.FacesContext context, java.lang.Object document, boolean isReadOnly)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class AbstractDataSource
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class AbstractDataSource
protected abstract ViewDataContainer doOpenView(javax.faces.context.FacesContext context)
context
-
protected abstract boolean isReadOnly(java.lang.Object view)
document
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |