Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.util.persistence
Interface CustomObjectManager

All Known Implementing Classes:
CustomObjectManagerImpl

public interface CustomObjectManager

Method Summary
 boolean deleteObject(ObjectBinding obj)
          Deletes the object from the persistance storage.
 java.lang.String getSelectedName()
          Returns the name of the currently selected object.
 java.lang.String getSelectedPath()
          Returns the full path of the currently selected object.
 java.util.Vector listAllObjects(java.lang.String objectType)
          Provides a list of ObjectBindings of all objects of the given type that are found in the persistence storage (given the filters set on the persistence manager by the application that set permissions, roots, etc.).
 ObjectBinding loadObjectByType(java.lang.String objectType)
          Retrives from the persistence storage an object of a given type.
 ObjectBinding saveObjectByType(java.lang.String objectType, StringXMLizable objectToBeSaved)
          Saves an object of a given type in the persistence storage.

 

Method Detail

listAllObjects

public java.util.Vector listAllObjects(java.lang.String objectType)
Provides a list of ObjectBindings of all objects of the given type that are found in the persistence storage (given the filters set on the persistence manager by the application that set permissions, roots, etc.).
Parameters:
objectType - a string representing the type of the objects that we are looking for
Returns:
a vector of objects (of type ObjectBinding) of a given type null if no objects of this type are found

loadObjectByType

public ObjectBinding loadObjectByType(java.lang.String objectType)
Retrives from the persistence storage an object of a given type. This method is expected to evoke a "Browse" UI that, when closed, will return an object (in the form of ObjectBinding) selected by the user.
Parameters:
objectType - a string representing the type of the object that we are looking for
Returns:
an object retrieved from the persistence storage null if not object matching the given criteria is found

saveObjectByType

public ObjectBinding saveObjectByType(java.lang.String objectType,
StringXMLizable objectToBeSaved)
Saves an object of a given type in the persistence storage. This method is expected to bring a "Browse" UI that will let the user select where the object should be save to and the name of the object.
Parameters:
objectType - a string representing the type of the object that we are saving
objectToBeSaved - an object that we are saving
Returns:
the ObjectBinding representation of the object we saved null if saving failed

deleteObject

public boolean deleteObject(ObjectBinding obj)
Deletes the object from the persistance storage.
Parameters:
obj - an ObjectBinding representing the object to be deleted
Returns:
true if deleting succeed false if deleting failed

getSelectedPath

public java.lang.String getSelectedPath()
Returns the full path of the currently selected object. null if no object is selected.

getSelectedName

public java.lang.String getSelectedName()
Returns the name of the currently selected object. null if no object is selected.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.