Skip navigation links


com.essbase.eas.essbase.defs
Class DefaultDatabase

java.lang.Object
  extended by com.essbase.eas.essbase.defs.DefaultDatabase

All Implemented Interfaces:
Database
Direct Known Subclasses:
FactoryDatabase

public class DefaultDatabase
extends java.lang.Object
implements Database

This is an implementation of Database.

Version:
1.00, 09/13/2000
Author:
Hank Cox
See Also:
Database

Field Summary
protected  DefaultListAccess filters
           
protected  short queryTrackingEnabled
           
protected  boolean started
           

 

Constructor Summary
DefaultDatabase()
           

 

Method Summary
 void addAliasTableFileObject(DefaultAliasTableFileObject value)
          adds a excel file object to this application's collection.
 void addCalcScript(DefaultCalcScript value)
          adds a calc script to this database's collection.
 void addDatabaseListener(DatabaseListener l)
          adds a listener to this database.
 void addExcelFileObject(DefaultExcelFileObject value)
          adds a excel file object to this application's collection.
 void addFilter(Filter value)
          adds a filter to this database's collection.
 void addFilters(Filter[] values)
           
 void addLotusFileObject(DefaultLotusFileObject value)
          adds a lotus file object to this application's collection.
 void addOutlineFileObject(DefaultOutlineFileObject value)
          adds an outline file object to this application's collection.
 void addPartition(DefaultPartition value)
          adds a partition to this database's collection.
 void addReportScript(DefaultReportScript value)
          adds a report script to this database's collection.
 void addRulesObject(DefaultRulesObject value)
          adds a rules object to this database's collection.
 void addTextFileObject(DefaultTextFileObject value)
          adds a text file object to this application's collection.
 void addVariable(Variable value)
          adds a variable to this db's collection.
 void decFiltersAccess()
          decrements the filters list user access.
 DefaultPartition existPartition(DefaultPartition part)
          looks up the list of partitions which matches with the source, target and the type info of the partition
protected  void fireCalcScriptAddedEvent(DefaultCalcScript cs)
          fires calc script added events to the listeners.
protected  void fireCalcScriptRemovedEvent(DefaultCalcScript cs)
          fires calc script removed events to the listeners.
protected  void fireDatabaseRemovedEvent()
          fires a database removed event.
protected  void fireDatabaseRenamedEvent(java.lang.Object old)
          fires database renamed events to the listeners.
protected  void fireDatabaseStartedEvent()
           
protected  void fireFilterAddedEvent(Filter f)
          fires filter added events to the listeners.
protected  void fireFilterRemovedEvent(Filter f)
          fires filter removed events to the listeners.
protected  void fireFiltersAddedEvent(java.lang.Object[] values)
           
protected  void firePartitionAddedEvent(DefaultPartition part)
          fires partition added events to the listeners.
protected  void firePartitionsRemovedEvent(DefaultPartition part)
          fires calc script removed events to the listeners.
protected  void firePartitionUpdatedEvent(DefaultPartition part)
          fires partition added events to the listeners.
protected  void fireReportScriptAddedEvent(DefaultReportScript rs)
          fires calc script added events to the listeners.
protected  void fireReportScriptRemovedEvent(DefaultReportScript rs)
          fires calc script removed events to the listeners.
protected  void fireRulesObjectAddedEvent(DefaultRulesObject ro)
          fires rules object added events to the listeners.
protected  void fireRulesObjectRemovedEvent(DefaultRulesObject ro)
          fires rules object removed events to the listeners.
protected  void fireVariableAddedEvent(Variable variable)
          fires db variable added events to the listeners.
protected  void fireVariableRemovedEvent(Variable variable)
          fires db variable removed events to the listeners.
 DefaultAliasTableFileObject getAliasTableFileObject(java.lang.String value)
          retrieves a specific excel file object.
 DefaultAliasTableFileObject[] getAliasTableFileObjects()
          retrieves this application's collection of excel file objects.
 Application getApplication()
          returns the application that this database is contained within.
 DefaultCalcScript getCalcScript(java.lang.String scriptName)
           
 DefaultCalcScript[] getCalcScripts()
          retrieves this database's collection of calc scripts.
 DefaultExcelFileObject getExcelFileObject(java.lang.String value)
          retrieves a specific excel file object.
 DefaultExcelFileObject[] getExcelFileObjects()
          retrieves this application's collection of excel file objects.
 Filter getFilter(java.lang.String filterName)
           
 Filter[] getFilters()
          retrieves this database's collection of filters.
 java.lang.String getFullName()
          returns the full name associated with this database.
 DefaultLotusFileObject getLotusFileObject(java.lang.String value, short version)
          retrieves a specific lotus file object.
 DefaultLotusFileObject[] getLotusFileObjects(short version)
          retrieves this application's collection of lotus file objects.
 java.lang.String getName()
          returns the name for this database
 DefaultOutlineFileObject getOutlineFileObject(java.lang.String value)
          retrieves a specific outline file object.
 DefaultOutlineFileObject[] getOutlineFileObjects()
          retrieves this application's collection of outline file objects.
 DefaultPartition getPartition(java.lang.String srchost, java.lang.String srcIp, java.lang.String srcapp, java.lang.String srcdb, java.lang.String tgthost, java.lang.String tgtIp, java.lang.String tgtapp, java.lang.String tgtdb, int type)
          looks up the partition for which either this is the source and the targer macthes the param or this is the target and the source is the param
 DefaultPartition[] getPartitions()
          retrieves this database's collection of partitions.
 DatabaseProperties getProperties()
          returns properties object for this database
 DatabaseProperties getPropertiesSubset(int propertiesSubset)
           
 DefaultReportScript getReportScript(java.lang.String scriptName)
           
 DefaultReportScript[] getReportScripts()
          retrieves this database's collection of calc scripts.
 DefaultRulesObject getRulesObject(java.lang.String scriptName)
           
 DefaultRulesObject[] getRulesObjects()
          retrieves this database's collection of calc scripts.
 DefaultRulesObject getRulesObjects(java.lang.String scriptName)
           
 DefaultPartition getSourcePartition(java.lang.String host, java.lang.String hostIp, java.lang.String app, java.lang.String db, int type)
          looks up the partition list for a partition that is the source partition for this db
 DefaultPartition getTargetPartition(java.lang.String host, java.lang.String hostIp, java.lang.String app, java.lang.String db, int type)
          looks up the partition list for a partition that is the target partition for this db
 DefaultTextFileObject getTextFileObject(java.lang.String value)
          retrieves a specific text file object.
 DefaultTextFileObject[] getTextFileObjects()
          retrieves this application's collection of text file objects.
 Variable getVariable(java.lang.String value)
          Returns the Variable associated with the name from the collection of variables
 Variable[] getVariables()
          returns an array with the contained variable objects.
 boolean hasTargetPartition()
           
 void incFiltersAccess()
          increments the filters list user access.
 boolean isPropertyLoaded(int property)
           
 boolean isQueryTrackingEnabled()
           
 boolean isStarted()
           
 void partitionUpdated(DefaultPartition part)
          notifies all about the partition getting updated
protected  void propagateRemoval()
          propagates a database removed event, ensuring that contained objects also are removed.
 void removeAliasTableFileObject(DefaultAliasTableFileObject value)
          removes a excel file object from this application's collection of excel file objects.
 void removeAliasTableFileObject(java.lang.String value)
          removes a excel file Object from this app's collection of excel file objects
 void removeAliasTableFileObjectsNotIn(java.lang.String[] values)
          removes excel file objects from the database's collection that aren't contained in this collection of names.
 void removeAllAliasTableObjects()
           
 void removeAllCalcScripts()
          removes all calc scripts from this database
 void removeAllExcelFileObjects()
           
 void removeAllFilters()
           
 void removeAllLotusFileObjects()
           
 void removeAllOutlineFileObjects()
           
 void removeAllPartitions()
          removes all partitions from this database
 void removeAllReportScripts()
          removes all report scripts from this database.
 void removeAllRulesObjects()
          removes all rules objects from this database.
 void removeAllTextlFileObjects()
           
 void removeCalcScript(DefaultCalcScript value)
          removes a calc script from this database's collection of calc scripts.
 void removeCalcScript(java.lang.String value)
          removes a calc script from this database's collection of calc scripts.
 void removeCalcScriptsNotIn(java.lang.String[] values)
          removes calc scripts from the database's collection that aren't contained in this collection of names.
 void removeDatabaseListener(DatabaseListener l)
          removes a listener from this database
 void removeExcelFileObject(DefaultExcelFileObject value)
          removes a excel file object from this application's collection of excel file objects.
 void removeExcelFileObject(java.lang.String value)
          removes a excel file Object from this app's collection of excel file objects
 void removeExcelFileObjectsNotIn(java.lang.String[] values)
          removes excel file objects from the database's collection that aren't contained in this collection of names.
 void removeFilter(Filter value)
          removes a filter from this database's collection of filters.
 void removeFilter(java.lang.String value)
          removes a filter from this database's collection of filters.
 void removeFiltersNotIn(java.lang.String[] values)
          removes filters from the database's collection that aren't contained in this collection of names.
 void removeLotusFileObject(DefaultLotusFileObject value)
          removes a lotus file object from this application's collection of lotus file objects.
 void removeLotusFileObject(java.lang.String value, short version)
          removes a lotus file Object from this app's collection of lotus file objects
 void removeLotusFileObjectsNotIn(java.lang.String[] values, short version)
          removes lotus file objects from the database's collection that aren't contained in this collection of names.
 void removeOutlineFileObject(DefaultOutlineFileObject value)
          removes an outline file object from this application's collection of outline file objects.
 void removeOutlineFileObject(java.lang.String value)
          removes an outline file Object from this app's collection of outline file objects
 void removeOutlineFileObjectsNotIn(java.lang.String[] values)
          removes outline file objects from the database's collection that aren't contained in this collection of names.
 void removePartition(DefaultPartition value)
          removes a partition from this database's collection of partitions.
 void removePartitionsNotIn(DefaultPartition[] values)
          removes partitions from the database's collection that aren't contained in this collection of partitions.
 void removeReportScript(DefaultReportScript value)
          removes a report script from this database's collection of calc scripts.
 void removeReportScript(java.lang.String value)
          removes a calc script from this database's collection of calc scripts.
 void removeReportScriptsNotIn(java.lang.String[] values)
          removes report scripts from the database's collection that aren't contained in this collection of names.
 void removeRulesObject(DefaultRulesObject value)
          removes a rules object from this database's collection of rules objects
 void removeRulesObject(java.lang.String value)
          removes a rules object from this database's collection of report objects.
 void removeRulesObjectsNotIn(java.lang.String[] values)
          removes rules objects from the database's collection that aren't contained in this collection of names.
 void removeTextFileObject(DefaultTextFileObject value)
          removes a text file object from this application's collection of text file objects.
 void removeTextFileObject(java.lang.String value)
          removes a text file Object from this app's collection of text file objects
 void removeTextFileObjectsNotIn(java.lang.String[] values)
          removes text file objects from the database's collection that aren't contained in this collection of names.
 void removeVariable(Variable value)
          removes a variable from from the application's collection of variables.
 void setApplication(Application value)
          sets the application that this database is contained within.
 void setName(java.lang.String value)
          sets the name for this database and notifys registered DatabaseListener objects that the name has been changed.
 void setProperties(DatabaseProperties props)
          sets properties object for this database
 void setPropertiesSubset(DatabaseProperties props, int propertiesSubset)
          sets a subset of the properties object for this database object
 void setPropertyLoaded(int property, boolean loaded)
           
 void setQueryTrackingEnabled(boolean enabled)
           
 void setStarted(boolean started)
          Set the started staus of the database.
 java.lang.String toString()
           
 void updateFilterName(java.lang.String oldName, java.lang.String newName)
           
 void variableUpdated(VariableEvent e)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

filters

protected DefaultListAccess filters

started

protected boolean started

queryTrackingEnabled

protected short queryTrackingEnabled

Constructor Detail

DefaultDatabase

public DefaultDatabase()

Method Detail

updateFilterName

public void updateFilterName(java.lang.String oldName,
                             java.lang.String newName)

getApplication

public Application getApplication()
returns the application that this database is contained within.
Specified by:
getApplication in interface Database

setApplication

public void setApplication(Application value)
sets the application that this database is contained within.
Specified by:
setApplication in interface Database

getName

public java.lang.String getName()
returns the name for this database
Specified by:
getName in interface Database

setName

public void setName(java.lang.String value)
sets the name for this database and notifys registered DatabaseListener objects that the name has been changed.
Specified by:
setName in interface Database

getProperties

public DatabaseProperties getProperties()
returns properties object for this database
Specified by:
getProperties in interface Database

getPropertiesSubset

public DatabaseProperties getPropertiesSubset(int propertiesSubset)
Specified by:
getPropertiesSubset in interface Database

setProperties

public void setProperties(DatabaseProperties props)
sets properties object for this database
Specified by:
setProperties in interface Database

setPropertiesSubset

public void setPropertiesSubset(DatabaseProperties props,
                                int propertiesSubset)
sets a subset of the properties object for this database object
Specified by:
setPropertiesSubset in interface Database

addPartition

public void addPartition(DefaultPartition value)
                  throws DuplicatePartitionException
adds a partition to this database's collection.
Specified by:
addPartition in interface Database
Throws:
DuplicatePartitionException

addCalcScript

public void addCalcScript(DefaultCalcScript value)
                   throws DuplicateCalcScriptException
adds a calc script to this database's collection.
Specified by:
addCalcScript in interface Database
Throws:
DuplicateCalcScriptException

getPartitions

public DefaultPartition[] getPartitions()
retrieves this database's collection of partitions.
Specified by:
getPartitions in interface Database

getCalcScripts

public DefaultCalcScript[] getCalcScripts()
retrieves this database's collection of calc scripts.
Specified by:
getCalcScripts in interface Database

getCalcScript

public DefaultCalcScript getCalcScript(java.lang.String scriptName)
Specified by:
getCalcScript in interface Database

removePartition

public void removePartition(DefaultPartition value)
                     throws MissingPartitionException
removes a partition from this database's collection of partitions.
Specified by:
removePartition in interface Database
Throws:
MissingPartitionException

removeCalcScript

public void removeCalcScript(DefaultCalcScript value)
                      throws MissingCalcScriptException
removes a calc script from this database's collection of calc scripts.
Specified by:
removeCalcScript in interface Database
Throws:
MissingCalcScriptException

removeAllPartitions

public void removeAllPartitions()
removes all partitions from this database
Specified by:
removeAllPartitions in interface Database

removeAllCalcScripts

public void removeAllCalcScripts()
                          throws MissingCalcScriptException
removes all calc scripts from this database
Throws:
MissingCalcScriptException

removeCalcScript

public void removeCalcScript(java.lang.String value)
                      throws MissingCalcScriptException
removes a calc script from this database's collection of calc scripts.
Specified by:
removeCalcScript in interface Database
Throws:
MissingCalcScriptException

removePartitionsNotIn

public void removePartitionsNotIn(DefaultPartition[] values)
removes partitions from the database's collection that aren't contained in this collection of partitions.
Specified by:
removePartitionsNotIn in interface Database

removeCalcScriptsNotIn

public void removeCalcScriptsNotIn(java.lang.String[] values)
removes calc scripts from the database's collection that aren't contained in this collection of names.
Specified by:
removeCalcScriptsNotIn in interface Database

addFilter

public void addFilter(Filter value)
               throws DuplicateFilterException
adds a filter to this database's collection.
Specified by:
addFilter in interface Database
Throws:
DuplicateFilterException

addFilters

public void addFilters(Filter[] values)
Specified by:
addFilters in interface Database

getFilters

public Filter[] getFilters()
retrieves this database's collection of filters.
Specified by:
getFilters in interface Database

getFilter

public Filter getFilter(java.lang.String filterName)
Specified by:
getFilter in interface Database

removeFilter

public void removeFilter(Filter value)
                  throws MissingFilterException
removes a filter from this database's collection of filters.
Specified by:
removeFilter in interface Database
Throws:
MissingFilterException

removeFilter

public void removeFilter(java.lang.String value)
                  throws MissingFilterException
removes a filter from this database's collection of filters.
Specified by:
removeFilter in interface Database
Throws:
MissingFilterException

removeFiltersNotIn

public void removeFiltersNotIn(java.lang.String[] values)
removes filters from the database's collection that aren't contained in this collection of names.
Specified by:
removeFiltersNotIn in interface Database

addDatabaseListener

public void addDatabaseListener(DatabaseListener l)
adds a listener to this database.
Specified by:
addDatabaseListener in interface Database

removeDatabaseListener

public void removeDatabaseListener(DatabaseListener l)
removes a listener from this database
Specified by:
removeDatabaseListener in interface Database

propagateRemoval

protected void propagateRemoval()
propagates a database removed event, ensuring that contained objects also are removed.

fireDatabaseRenamedEvent

protected void fireDatabaseRenamedEvent(java.lang.Object old)
fires database renamed events to the listeners.

firePartitionAddedEvent

protected void firePartitionAddedEvent(DefaultPartition part)
fires partition added events to the listeners.

firePartitionsRemovedEvent

protected void firePartitionsRemovedEvent(DefaultPartition part)
fires calc script removed events to the listeners.

partitionUpdated

public void partitionUpdated(DefaultPartition part)
notifies all about the partition getting updated
Specified by:
partitionUpdated in interface Database

firePartitionUpdatedEvent

protected void firePartitionUpdatedEvent(DefaultPartition part)
fires partition added events to the listeners.

fireCalcScriptAddedEvent

protected void fireCalcScriptAddedEvent(DefaultCalcScript cs)
fires calc script added events to the listeners.

fireDatabaseStartedEvent

protected void fireDatabaseStartedEvent()

fireCalcScriptRemovedEvent

protected void fireCalcScriptRemovedEvent(DefaultCalcScript cs)
fires calc script removed events to the listeners.

fireFilterAddedEvent

protected void fireFilterAddedEvent(Filter f)
fires filter added events to the listeners.

fireFiltersAddedEvent

protected void fireFiltersAddedEvent(java.lang.Object[] values)

fireFilterRemovedEvent

protected void fireFilterRemovedEvent(Filter f)
fires filter removed events to the listeners.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addReportScript

public void addReportScript(DefaultReportScript value)
                     throws DuplicateReportScriptException
adds a report script to this database's collection.
Specified by:
addReportScript in interface Database
Throws:
DuplicateReportScriptException

getReportScript

public DefaultReportScript getReportScript(java.lang.String scriptName)
Specified by:
getReportScript in interface Database

getReportScripts

public DefaultReportScript[] getReportScripts()
retrieves this database's collection of calc scripts.
Specified by:
getReportScripts in interface Database

removeReportScript

public void removeReportScript(DefaultReportScript value)
                        throws MissingReportScriptException
removes a report script from this database's collection of calc scripts.
Specified by:
removeReportScript in interface Database
Throws:
MissingReportScriptException

removeReportScript

public void removeReportScript(java.lang.String value)
                        throws MissingReportScriptException
removes a calc script from this database's collection of calc scripts.
Specified by:
removeReportScript in interface Database
Throws:
MissingReportScriptException

removeAllReportScripts

public void removeAllReportScripts()
                            throws MissingReportScriptException
removes all report scripts from this database.
Throws:
MissingReportScriptException

removeReportScriptsNotIn

public void removeReportScriptsNotIn(java.lang.String[] values)
removes report scripts from the database's collection that aren't contained in this collection of names.
Specified by:
removeReportScriptsNotIn in interface Database

fireReportScriptAddedEvent

protected void fireReportScriptAddedEvent(DefaultReportScript rs)
fires calc script added events to the listeners.

fireReportScriptRemovedEvent

protected void fireReportScriptRemovedEvent(DefaultReportScript rs)
fires calc script removed events to the listeners.

fireDatabaseRemovedEvent

protected void fireDatabaseRemovedEvent()
fires a database removed event.

getFullName

public java.lang.String getFullName()
returns the full name associated with this database. <server>.<appname>.<dbname>
Specified by:
getFullName in interface Database

addRulesObject

public void addRulesObject(DefaultRulesObject value)
                    throws DuplicateRulesObjectException
adds a rules object to this database's collection.
Specified by:
addRulesObject in interface Database
Throws:
DuplicateRulesObjectException

getRulesObjects

public DefaultRulesObject getRulesObjects(java.lang.String scriptName)

getRulesObject

public DefaultRulesObject getRulesObject(java.lang.String scriptName)
Specified by:
getRulesObject in interface Database

getRulesObjects

public DefaultRulesObject[] getRulesObjects()
retrieves this database's collection of calc scripts.
Specified by:
getRulesObjects in interface Database

removeRulesObject

public void removeRulesObject(DefaultRulesObject value)
                       throws MissingRulesObjectException
removes a rules object from this database's collection of rules objects
Specified by:
removeRulesObject in interface Database
Throws:
MissingRulesObjectException

removeRulesObject

public void removeRulesObject(java.lang.String value)
                       throws MissingRulesObjectException
removes a rules object from this database's collection of report objects.
Specified by:
removeRulesObject in interface Database
Throws:
MissingRulesObjectException

removeAllRulesObjects

public void removeAllRulesObjects()
                           throws MissingRulesObjectException
removes all rules objects from this database.
Throws:
MissingRulesObjectException

removeAllFilters

public void removeAllFilters()
                      throws MissingRulesObjectException
Throws:
MissingRulesObjectException

removeAllLotusFileObjects

public void removeAllLotusFileObjects()

removeAllExcelFileObjects

public void removeAllExcelFileObjects()

removeAllTextlFileObjects

public void removeAllTextlFileObjects()

removeAllAliasTableObjects

public void removeAllAliasTableObjects()

removeAllOutlineFileObjects

public void removeAllOutlineFileObjects()

removeRulesObjectsNotIn

public void removeRulesObjectsNotIn(java.lang.String[] values)
removes rules objects from the database's collection that aren't contained in this collection of names.
Specified by:
removeRulesObjectsNotIn in interface Database

fireRulesObjectAddedEvent

protected void fireRulesObjectAddedEvent(DefaultRulesObject ro)
fires rules object added events to the listeners.

fireRulesObjectRemovedEvent

protected void fireRulesObjectRemovedEvent(DefaultRulesObject ro)
fires rules object removed events to the listeners.

hasTargetPartition

public boolean hasTargetPartition()
Specified by:
hasTargetPartition in interface Database

getTargetPartition

public DefaultPartition getTargetPartition(java.lang.String host,
                                           java.lang.String hostIp,
                                           java.lang.String app,
                                           java.lang.String db,
                                           int type)
looks up the partition list for a partition that is the target partition for this db
Specified by:
getTargetPartition in interface Database

getSourcePartition

public DefaultPartition getSourcePartition(java.lang.String host,
                                           java.lang.String hostIp,
                                           java.lang.String app,
                                           java.lang.String db,
                                           int type)
looks up the partition list for a partition that is the source partition for this db
Specified by:
getSourcePartition in interface Database

existPartition

public DefaultPartition existPartition(DefaultPartition part)
Description copied from interface: Database
looks up the list of partitions which matches with the source, target and the type info of the partition
Specified by:
existPartition in interface Database

getPartition

public DefaultPartition getPartition(java.lang.String srchost,
                                     java.lang.String srcIp,
                                     java.lang.String srcapp,
                                     java.lang.String srcdb,
                                     java.lang.String tgthost,
                                     java.lang.String tgtIp,
                                     java.lang.String tgtapp,
                                     java.lang.String tgtdb,
                                     int type)
looks up the partition for which either this is the source and the targer macthes the param or this is the target and the source is the param
Specified by:
getPartition in interface Database

addVariable

public void addVariable(Variable value)
                 throws DuplicateVariableException
adds a variable to this db's collection.
Specified by:
addVariable in interface Database
Throws:
DuplicateVariableException

getVariables

public Variable[] getVariables()
returns an array with the contained variable objects.
Specified by:
getVariables in interface Database

removeVariable

public void removeVariable(Variable value)
                    throws MissingVariableException
removes a variable from from the application's collection of variables.
Specified by:
removeVariable in interface Database
Throws:
MissingVariableException

getVariable

public Variable getVariable(java.lang.String value)
Description copied from interface: Database
Returns the Variable associated with the name from the collection of variables
Specified by:
getVariable in interface Database

fireVariableAddedEvent

protected void fireVariableAddedEvent(Variable variable)
fires db variable added events to the listeners.

fireVariableRemovedEvent

protected void fireVariableRemovedEvent(Variable variable)
fires db variable removed events to the listeners.

variableUpdated

public void variableUpdated(VariableEvent e)

addTextFileObject

public void addTextFileObject(DefaultTextFileObject value)
                       throws DuplicateTextFileObjectException
adds a text file object to this application's collection.
Specified by:
addTextFileObject in interface Database
Throws:
DuplicateTextFileObjectException

getTextFileObject

public DefaultTextFileObject getTextFileObject(java.lang.String value)
retrieves a specific text file object.
Specified by:
getTextFileObject in interface Database

getTextFileObjects

public DefaultTextFileObject[] getTextFileObjects()
retrieves this application's collection of text file objects.
Specified by:
getTextFileObjects in interface Database

removeTextFileObject

public void removeTextFileObject(DefaultTextFileObject value)
                          throws MissingTextFileObjectException
removes a text file object from this application's collection of text file objects.
Specified by:
removeTextFileObject in interface Database
Throws:
MissingTextFileObjectException

removeTextFileObject

public void removeTextFileObject(java.lang.String value)
                          throws MissingTextFileObjectException
removes a text file Object from this app's collection of text file objects
Specified by:
removeTextFileObject in interface Database
Throws:
MissingTextFileObjectException

removeTextFileObjectsNotIn

public void removeTextFileObjectsNotIn(java.lang.String[] values)
removes text file objects from the database's collection that aren't contained in this collection of names.
Specified by:
removeTextFileObjectsNotIn in interface Database

getLotusFileObject

public DefaultLotusFileObject getLotusFileObject(java.lang.String value,
                                                 short version)
retrieves a specific lotus file object.
Specified by:
getLotusFileObject in interface Database

addLotusFileObject

public void addLotusFileObject(DefaultLotusFileObject value)
                        throws DuplicateLotusFileObjectException
adds a lotus file object to this application's collection.
Specified by:
addLotusFileObject in interface Database
Throws:
DuplicateLotusFileObjectException

getLotusFileObjects

public DefaultLotusFileObject[] getLotusFileObjects(short version)
retrieves this application's collection of lotus file objects.
Specified by:
getLotusFileObjects in interface Database

removeLotusFileObject

public void removeLotusFileObject(DefaultLotusFileObject value)
                           throws MissingLotusFileObjectException
removes a lotus file object from this application's collection of lotus file objects.
Specified by:
removeLotusFileObject in interface Database
Throws:
MissingLotusFileObjectException

removeLotusFileObject

public void removeLotusFileObject(java.lang.String value,
                                  short version)
                           throws MissingLotusFileObjectException
removes a lotus file Object from this app's collection of lotus file objects
Specified by:
removeLotusFileObject in interface Database
Throws:
MissingLotusFileObjectException

removeLotusFileObjectsNotIn

public void removeLotusFileObjectsNotIn(java.lang.String[] values,
                                        short version)
removes lotus file objects from the database's collection that aren't contained in this collection of names.
Specified by:
removeLotusFileObjectsNotIn in interface Database

getExcelFileObject

public DefaultExcelFileObject getExcelFileObject(java.lang.String value)
retrieves a specific excel file object.
Specified by:
getExcelFileObject in interface Database

addExcelFileObject

public void addExcelFileObject(DefaultExcelFileObject value)
                        throws DuplicateExcelFileObjectException
adds a excel file object to this application's collection.
Specified by:
addExcelFileObject in interface Database
Throws:
DuplicateExcelFileObjectException

getExcelFileObjects

public DefaultExcelFileObject[] getExcelFileObjects()
retrieves this application's collection of excel file objects.
Specified by:
getExcelFileObjects in interface Database

removeExcelFileObject

public void removeExcelFileObject(DefaultExcelFileObject value)
                           throws MissingExcelFileObjectException
removes a excel file object from this application's collection of excel file objects.
Specified by:
removeExcelFileObject in interface Database
Throws:
MissingExcelFileObjectException

removeExcelFileObject

public void removeExcelFileObject(java.lang.String value)
                           throws MissingExcelFileObjectException
removes a excel file Object from this app's collection of excel file objects
Specified by:
removeExcelFileObject in interface Database
Throws:
MissingExcelFileObjectException

removeExcelFileObjectsNotIn

public void removeExcelFileObjectsNotIn(java.lang.String[] values)
removes excel file objects from the database's collection that aren't contained in this collection of names.
Specified by:
removeExcelFileObjectsNotIn in interface Database

getAliasTableFileObject

public DefaultAliasTableFileObject getAliasTableFileObject(java.lang.String value)
retrieves a specific excel file object.
Specified by:
getAliasTableFileObject in interface Database

addAliasTableFileObject

public void addAliasTableFileObject(DefaultAliasTableFileObject value)
                             throws DuplicateAliasTableFileObjectException
adds a excel file object to this application's collection.
Specified by:
addAliasTableFileObject in interface Database
Throws:
DuplicateAliasTableFileObjectException

getAliasTableFileObjects

public DefaultAliasTableFileObject[] getAliasTableFileObjects()
retrieves this application's collection of excel file objects.
Specified by:
getAliasTableFileObjects in interface Database

removeAliasTableFileObject

public void removeAliasTableFileObject(DefaultAliasTableFileObject value)
                                throws MissingAliasTableFileObjectException
removes a excel file object from this application's collection of excel file objects.
Specified by:
removeAliasTableFileObject in interface Database
Throws:
MissingAliasTableFileObjectException

removeAliasTableFileObject

public void removeAliasTableFileObject(java.lang.String value)
                                throws MissingAliasTableFileObjectException
removes a excel file Object from this app's collection of excel file objects
Specified by:
removeAliasTableFileObject in interface Database
Throws:
MissingAliasTableFileObjectException

removeAliasTableFileObjectsNotIn

public void removeAliasTableFileObjectsNotIn(java.lang.String[] values)
removes excel file objects from the database's collection that aren't contained in this collection of names.
Specified by:
removeAliasTableFileObjectsNotIn in interface Database

getOutlineFileObject

public DefaultOutlineFileObject getOutlineFileObject(java.lang.String value)
retrieves a specific outline file object.
Specified by:
getOutlineFileObject in interface Database

addOutlineFileObject

public void addOutlineFileObject(DefaultOutlineFileObject value)
                          throws DuplicateOutlineFileObjectException
adds an outline file object to this application's collection.
Specified by:
addOutlineFileObject in interface Database
Throws:
DuplicateOutlineFileObjectException

getOutlineFileObjects

public DefaultOutlineFileObject[] getOutlineFileObjects()
retrieves this application's collection of outline file objects.
Specified by:
getOutlineFileObjects in interface Database

removeOutlineFileObject

public void removeOutlineFileObject(DefaultOutlineFileObject value)
                             throws MissingOutlineFileObjectException
removes an outline file object from this application's collection of outline file objects.
Specified by:
removeOutlineFileObject in interface Database
Throws:
MissingOutlineFileObjectException

removeOutlineFileObject

public void removeOutlineFileObject(java.lang.String value)
                             throws MissingOutlineFileObjectException
removes an outline file Object from this app's collection of outline file objects
Specified by:
removeOutlineFileObject in interface Database
Throws:
MissingOutlineFileObjectException

removeOutlineFileObjectsNotIn

public void removeOutlineFileObjectsNotIn(java.lang.String[] values)
removes outline file objects from the database's collection that aren't contained in this collection of names.
Specified by:
removeOutlineFileObjectsNotIn in interface Database

isPropertyLoaded

public boolean isPropertyLoaded(int property)
Specified by:
isPropertyLoaded in interface Database

setPropertyLoaded

public void setPropertyLoaded(int property,
                              boolean loaded)
Specified by:
setPropertyLoaded in interface Database

decFiltersAccess

public void decFiltersAccess()
Description copied from interface: Database
decrements the filters list user access. used to free list reference in memory for potential garbage collection
Specified by:
decFiltersAccess in interface Database

incFiltersAccess

public void incFiltersAccess()
Description copied from interface: Database
increments the filters list user access. used to keep list reference not null and in memory
Specified by:
incFiltersAccess in interface Database

setStarted

public void setStarted(boolean started)
Description copied from interface: Database
Set the started staus of the database.
Specified by:
setStarted in interface Database

isStarted

public boolean isStarted()
Specified by:
isStarted in interface Database

isQueryTrackingEnabled

public boolean isQueryTrackingEnabled()
Specified by:
isQueryTrackingEnabled in interface Database

setQueryTrackingEnabled

public void setQueryTrackingEnabled(boolean enabled)
Specified by:
setQueryTrackingEnabled in interface Database

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.