|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.util.persistence.PersistableAdapter
The PersistableAdapter class provides a default implementation of the Persistable interface.
Constructor Summary | |
PersistableAdapter(java.lang.String type) Constructor of this class that takes an object type as the argument. |
Method Summary | |
PersistableAttributes |
getPersistableAttributes(PersistableAttributes attrs) Retrieves the attributes of the component, for searching. |
AggregateInfo[] |
getPersistableComponents() Retrieves a list of Persistable components that the component aggregates. |
java.lang.String |
getXMLAsString() Retrieves the XML representation of the component. |
void |
initialize(java.util.Hashtable env) Initializes the component with the persistence environment. |
void |
setPersistableAttributes(PersistableAttributes attrs) Specifies attributes that can be used for searching in the repository. |
void |
setPersistableComponents(AggregateInfo[] persistables) Specifies a list of Persistable components that the component aggregates. |
boolean |
setXMLAsString(java.lang.String xml) Specifies the XML representation of the component. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PersistableAdapter(java.lang.String type)
type
- The type of this Persistable objectMethod Detail |
public void initialize(java.util.Hashtable env)
initialize
in interface Persistable
env
- Environment properties.public AggregateInfo[] getPersistableComponents()
Persistable
components that the component aggregates.getPersistableComponents
in interface Persistable
public void setPersistableComponents(AggregateInfo[] persistables)
Persistable
components that the component aggregates.setPersistableComponents
in interface Persistable
persistables
- An AggregateInfo
for each component that this component has.public PersistableAttributes getPersistableAttributes(PersistableAttributes attrs)
getPersistableAttributes
in interface Persistable
attrs
- The searchable attributes that the application has defined for this component. This parameter is ignored.public void setPersistableAttributes(PersistableAttributes attrs)
setPersistableAttributes
in interface Persistable
attrs
- PersistableAttributes
that specify search attributes for the component.public java.lang.String getXMLAsString() throws BIPersistenceException
getXMLAsString
in interface StringXMLizable
public boolean setXMLAsString(java.lang.String xml) throws BIPersistenceException
setXMLAsString
in interface StringXMLizable
name
- The XML representation of the component.true
the XML was successfully set, false
if not.BIPersistenceException
- If a problem occurs in setting the XML.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |