|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.view.faces.bi.component.ViewPersistable
public abstract class ViewPersistable
ViewPersistable is a helper class for saving and loading BI View components to and from BICatalog. Every BI View Component has a corresponding ViewPersitable. For example, CoreGraph has GraphPersistable that extends ViewPersitable. The applications should set the View Component such as CoreGraph and its DataModel on ViewPeristable before saving the ViewPersistable. When the ViewPersistable is loaded from the Catalog, it contains the View Component and the DataModel. It is the applications respondibility to set the DataModel on the View Component.
Constructor Summary | |
---|---|
ViewPersistable()
|
Method Summary | |
---|---|
abstract DataModel |
createDataModel()
|
DataModel |
getDataModel()
Retrieves the DataModel. |
oracle.dss.util.persistence.PersistableAttributes |
getPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes oldAttrs)
Retrieves the attributes of this CoreGraph , for searching. |
oracle.dss.util.persistence.AggregateInfo[] |
getPersistableComponents()
Retrieves the persistable components that this CoreGraph
aggregates. |
UIViewComponent |
getUIViewComponent()
Retrieves the UIViewComponent such as CoreGraph, CoreGauge etc. |
java.lang.String |
getXMLAsString()
Retrieves the XML representation of this CoreGraph . |
abstract void |
initialize(java.util.Hashtable env)
The persistence service calls this method when the view is restored from the BI Beans Catalog. |
void |
setDataModel(DataModel model)
Specifies the DataModel. |
void |
setPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes attrs)
Specifies persistable attributes that can be used in searches of the repository. |
void |
setPersistableComponents(oracle.dss.util.persistence.AggregateInfo[] persistables)
Specifies the components (e.g. |
void |
setUIViewComponent(UIViewComponent baseComp)
Specifies the UIViewComponent. |
boolean |
setXMLAsString(java.lang.String xml)
Specifies the XML representation of this ViewPersistable . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewPersistable()
Method Detail |
---|
public UIViewComponent getUIViewComponent()
public void setUIViewComponent(UIViewComponent baseComp)
baseComp
- public void setDataModel(DataModel model)
model
- public DataModel getDataModel()
public boolean setXMLAsString(java.lang.String xml) throws oracle.dss.util.persistence.BIPersistenceException
ViewPersistable
.
The persistence service calls this method when the view is restored
from the BI Beans Catalog.
Application developers should not call this method.
setXMLAsString
in interface oracle.dss.util.persistence.StringXMLizable
xml
- The XML representation of the view.
true
if the XML was successfully set,
false
if not.
oracle.dss.util.persistence.BIPersistenceException
- If a problem occurs in setting the XML.public java.lang.String getXMLAsString()
CoreGraph
.
This method is called by the persistence service when you save the
CoreGraph
to the BI Beans Catalog.
Application developers should not call this method.
getXMLAsString
in interface oracle.dss.util.persistence.StringXMLizable
CoreGraph
.public void setPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes attrs)
setPersistableAttributes
in interface oracle.dss.util.persistence.SimplePersistable
attrs
- Any PersistableAttributes
.public oracle.dss.util.persistence.PersistableAttributes getPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes oldAttrs)
CoreGraph
, for searching.
This method adds the attributes that this CoreGraph
defines
to the attributes that the application has specified.
The attributes are used by the persistence service, when users
search the repository for components that have particular attribute
values.
Application developers should not call this method.
getPersistableAttributes
in interface oracle.dss.util.persistence.SimplePersistable
oldAttrs
- The searchable attributes that the application has
specified for this Dataview
.
PersistableAttributes
that includes the application
specified attributes as well as the attributes that are
specific to this CoreGraph
.public abstract void initialize(java.util.Hashtable env)
initialize
in interface oracle.dss.util.persistence.SimplePersistable
env
- public oracle.dss.util.persistence.AggregateInfo[] getPersistableComponents()
CoreGraph
aggregates.
CoreGraph
objects aggregate the data source that defines
the data that view displays.
The persistence service calls this method when the view is restored from the BI Beans Catalog. Application developers should not call this method.
getPersistableComponents
in interface oracle.dss.util.persistence.contract.AggregableContract
CoreGraph
, in an
AggregateInfo
array.public void setPersistableComponents(oracle.dss.util.persistence.AggregateInfo[] persistables)
setPersistableComponents
in interface oracle.dss.util.persistence.contract.AggregableContract
persistables
- a AggregateInfo[]
value that represents the
components to assign to the view.public abstract DataModel createDataModel()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |