|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentDataSource
This is published because it is in the inheritence heirarchy of some public data sources, but it not intended to be subclassed, and the implementation may change. Not intended to be subclassed.
Method Summary | |
---|---|
void |
computeDocument(javax.faces.context.FacesContext context)
Compute the current document |
javax.faces.el.MethodBinding |
getComputeDocument()
It is triggered at first right after loading the document (after postOpenDocument), and at the end before saving the document it (after querySaveDocument but before saving the document). |
javax.faces.el.MethodBinding |
getPostNewDocument()
Triggered after creating the new document. |
javax.faces.el.MethodBinding |
getPostOpenDocument()
Triggered after opening the document. |
javax.faces.el.MethodBinding |
getPostSaveDocument()
Triggered after saving the document. |
javax.faces.el.MethodBinding |
getQueryNewDocument()
Triggered before creating the new document. |
javax.faces.el.MethodBinding |
getQueryOpenDocument()
Triggered before opening the document. |
javax.faces.el.MethodBinding |
getQuerySaveDocument()
Triggered before saving the document. |
boolean |
isDocument(java.lang.Object document)
Return true if this is the document associated with this data source |
boolean |
isNewDocument(javax.faces.context.FacesContext context)
Return true if a new document should be created when the data source is loaded. |
DataContainer |
newDocument(javax.faces.context.FacesContext context)
Create a new document |
DataContainer |
openDocument(javax.faces.context.FacesContext context)
Open the specified document |
boolean |
saveDocument(javax.faces.context.FacesContext context)
Save the current document |
void |
setComputeDocument(javax.faces.el.MethodBinding binding)
It is triggered at first right after loading the document (after postOpenDocument), and at the end before saving the document it (after querySaveDocument but before saving the document). |
void |
setPostNewDocument(javax.faces.el.MethodBinding binding)
Triggered after creating the new document. |
void |
setPostOpenDocument(javax.faces.el.MethodBinding binding)
Triggered after opening the document. |
void |
setPostSaveDocument(javax.faces.el.MethodBinding binding)
Triggered after saving the document. |
void |
setQueryNewDocument(javax.faces.el.MethodBinding binding)
Triggered before creating the new document. |
void |
setQueryOpenDocument(javax.faces.el.MethodBinding binding)
Triggered before opening the document. |
void |
setQuerySaveDocument(javax.faces.el.MethodBinding binding)
Triggered before saving the document. |
Methods inherited from interface com.ibm.xsp.model.DataSource |
---|
getBeanId, getDataContainer, getRequestParamPrefix, getScope, getUniqueId, getVar, getVars, isIgnoreRequestParams, isReadonly, refresh, save, setIgnoreRequestParams, setRequestParamPrefix, setScope, setVar |
Methods inherited from interface com.ibm.xsp.model.DataPublishingObject |
---|
popData, pushData |
Method Detail |
---|
boolean isDocument(java.lang.Object document)
DataContainer newDocument(javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
DataContainer openDocument(javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
boolean saveDocument(javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
void computeDocument(javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
boolean isNewDocument(javax.faces.context.FacesContext context)
void setQueryNewDocument(javax.faces.el.MethodBinding binding)
binding
- void setQueryOpenDocument(javax.faces.el.MethodBinding binding)
binding
- void setQuerySaveDocument(javax.faces.el.MethodBinding binding)
binding
- void setPostNewDocument(javax.faces.el.MethodBinding binding)
binding
- void setPostOpenDocument(javax.faces.el.MethodBinding binding)
binding
- void setPostSaveDocument(javax.faces.el.MethodBinding binding)
binding
- void setComputeDocument(javax.faces.el.MethodBinding binding)
binding
- javax.faces.el.MethodBinding getQueryNewDocument()
javax.faces.el.MethodBinding getQueryOpenDocument()
javax.faces.el.MethodBinding getQuerySaveDocument()
javax.faces.el.MethodBinding getPostNewDocument()
javax.faces.el.MethodBinding getPostOpenDocument()
javax.faces.el.MethodBinding getPostSaveDocument()
javax.faces.el.MethodBinding getComputeDocument()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |