Skip navigation links


com.essbase.eas.essbase.ui.factory
Class FactoryDatabase

java.lang.Object
  extended by com.essbase.eas.essbase.defs.DefaultDatabase
      extended by com.essbase.eas.essbase.ui.factory.FactoryDatabase

All Implemented Interfaces:
Database

public class FactoryDatabase
extends DefaultDatabase

extension of the DefaultDatabase class designed to work with the ObjectFactory and EssbaseUIFactory classes.

Version:
1.00, 07/29/2001
Author:
Hank Cox

Field Summary

 

Fields inherited from class com.essbase.eas.essbase.defs.DefaultDatabase
filters, queryTrackingEnabled, started

 

Method Summary
 DefaultPartition existPartition(DefaultPartition part)
          looks up the list of partitions which matches with the source, target and the type info of the partition
 DefaultAliasTableFileObject[] getAliasTableFileObjects()
          overrides the DefaultApplication.getAliasTableFileObjects() method.
 DefaultCalcScript[] getCalcScripts()
          overrides the DefaultApplication.getCalcScripts() method.
 DefaultExcelFileObject[] getExcelFileObjects()
          overrides the DefaultApplication.getExcelFileObjects() method.
 Filter[] getFilters()
          overrides the DefaultDatabase.getFilters() method.
 DefaultLotusFileObject[] getLotusFileObjects(short version)
          overrides the DefaultApplication.getLotusFileObjects() method.
 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()
          overrides the DefaultApplication.getPartitions() method.
 DatabaseProperties getProperties()
          returns properties object for this database
 DatabaseProperties getPropertiesSubset(int propertiesSubset)
           
 DefaultReportScript[] getReportScripts()
          overrides the DefaultApplication.getReportScripts() method.
 DefaultRulesObject[] getRulesObjects()
          overrides the DefaultApplication.getRulesObjects() method.
 DefaultTextFileObject[] getTextFileObjects()
          overrides the DefaultApplication.getTextFileObjects() method.
 Variable[] getVariables()
          returns an array with the contained variable objects.
 boolean isAliasTablesRetrieved()
           
 boolean isCalcScriptsRetrieved()
           
 boolean isExcelObjectsRetrieved()
           
 boolean isFiltersRetrieved()
          If isFiltersRetrieved() returns true then the caller MUST call decVariablesAccess() after this call.
 boolean isLotus2ObjectsRetrieved()
           
 boolean isLotus3ObjectsRetrieved()
           
 boolean isLotus4ObjectsRetrieved()
           
 boolean isPartitionsRetrieved()
           
 boolean isQueryTrackingEnabled()
           
 boolean isReportsRetrieved()
           
 boolean isRulesObjectsRetrieved()
           
 boolean isTextFileObjectsRetrieved()
           
 boolean isVariablesRetrieved()
           
 void setVariablesRetrieved(boolean ret)
           

 

Methods inherited from class com.essbase.eas.essbase.defs.DefaultDatabase
addAliasTableFileObject, addCalcScript, addDatabaseListener, addExcelFileObject, addFilter, addFilters, addLotusFileObject, addOutlineFileObject, addPartition, addReportScript, addRulesObject, addTextFileObject, addVariable, decFiltersAccess, fireCalcScriptAddedEvent, fireCalcScriptRemovedEvent, fireDatabaseRemovedEvent, fireDatabaseRenamedEvent, fireDatabaseStartedEvent, fireFilterAddedEvent, fireFilterRemovedEvent, fireFiltersAddedEvent, firePartitionAddedEvent, firePartitionsRemovedEvent, firePartitionUpdatedEvent, fireReportScriptAddedEvent, fireReportScriptRemovedEvent, fireRulesObjectAddedEvent, fireRulesObjectRemovedEvent, fireVariableAddedEvent, fireVariableRemovedEvent, getAliasTableFileObject, getApplication, getCalcScript, getExcelFileObject, getFilter, getFullName, getLotusFileObject, getName, getOutlineFileObject, getOutlineFileObjects, getReportScript, getRulesObject, getRulesObjects, getSourcePartition, getTargetPartition, getTextFileObject, getVariable, hasTargetPartition, incFiltersAccess, isPropertyLoaded, isStarted, partitionUpdated, propagateRemoval, removeAliasTableFileObject, removeAliasTableFileObject, removeAliasTableFileObjectsNotIn, removeAllAliasTableObjects, removeAllCalcScripts, removeAllExcelFileObjects, removeAllFilters, removeAllLotusFileObjects, removeAllOutlineFileObjects, removeAllPartitions, removeAllReportScripts, removeAllRulesObjects, removeAllTextlFileObjects, removeCalcScript, removeCalcScript, removeCalcScriptsNotIn, removeDatabaseListener, removeExcelFileObject, removeExcelFileObject, removeExcelFileObjectsNotIn, removeFilter, removeFilter, removeFiltersNotIn, removeLotusFileObject, removeLotusFileObject, removeLotusFileObjectsNotIn, removeOutlineFileObject, removeOutlineFileObject, removeOutlineFileObjectsNotIn, removePartition, removePartitionsNotIn, removeReportScript, removeReportScript, removeReportScriptsNotIn, removeRulesObject, removeRulesObject, removeRulesObjectsNotIn, removeTextFileObject, removeTextFileObject, removeTextFileObjectsNotIn, removeVariable, setApplication, setName, setProperties, setPropertiesSubset, setPropertyLoaded, setQueryTrackingEnabled, setStarted, toString, updateFilterName, variableUpdated

 

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

 

Method Detail

getReportScripts

public DefaultReportScript[] getReportScripts()
overrides the DefaultApplication.getReportScripts() method. If report scripts have never been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getReportScripts in interface Database
Overrides:
getReportScripts in class DefaultDatabase

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
Overrides:
existPartition in class DefaultDatabase

getPartitions

public DefaultPartition[] getPartitions()
overrides the DefaultApplication.getPartitions() method. If partitions haven't been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getPartitions in interface Database
Overrides:
getPartitions in class DefaultDatabase

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)
Description copied from class: DefaultDatabase
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
Overrides:
getPartition in class DefaultDatabase

getCalcScripts

public DefaultCalcScript[] getCalcScripts()
overrides the DefaultApplication.getCalcScripts() method. If calc scripts haven't been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getCalcScripts in interface Database
Overrides:
getCalcScripts in class DefaultDatabase

getRulesObjects

public DefaultRulesObject[] getRulesObjects()
overrides the DefaultApplication.getRulesObjects() method. If rules objects have never been retrieved for this database, calls the UIFactory to populate the list.
Specified by:
getRulesObjects in interface Database
Overrides:
getRulesObjects in class DefaultDatabase

getVariables

public Variable[] getVariables()
Description copied from class: DefaultDatabase
returns an array with the contained variable objects.
Specified by:
getVariables in interface Database
Overrides:
getVariables in class DefaultDatabase

getFilters

public Filter[] getFilters()
overrides the DefaultDatabase.getFilters() method. If filters haven't been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getFilters in interface Database
Overrides:
getFilters in class DefaultDatabase

getTextFileObjects

public DefaultTextFileObject[] getTextFileObjects()
overrides the DefaultApplication.getTextFileObjects() method. If text files have never been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getTextFileObjects in interface Database
Overrides:
getTextFileObjects in class DefaultDatabase

getLotusFileObjects

public DefaultLotusFileObject[] getLotusFileObjects(short version)
overrides the DefaultApplication.getLotusFileObjects() method. If lotus files have never been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getLotusFileObjects in interface Database
Overrides:
getLotusFileObjects in class DefaultDatabase

getExcelFileObjects

public DefaultExcelFileObject[] getExcelFileObjects()
overrides the DefaultApplication.getExcelFileObjects() method. If excel files have never been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getExcelFileObjects in interface Database
Overrides:
getExcelFileObjects in class DefaultDatabase

getAliasTableFileObjects

public DefaultAliasTableFileObject[] getAliasTableFileObjects()
overrides the DefaultApplication.getAliasTableFileObjects() method. If these files have never been retrieved for this application, calls the UIFactory to populate the list.
Specified by:
getAliasTableFileObjects in interface Database
Overrides:
getAliasTableFileObjects in class DefaultDatabase

getProperties

public DatabaseProperties getProperties()
Description copied from class: DefaultDatabase
returns properties object for this database
Specified by:
getProperties in interface Database
Overrides:
getProperties in class DefaultDatabase

getPropertiesSubset

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

isCalcScriptsRetrieved

public boolean isCalcScriptsRetrieved()

isReportsRetrieved

public boolean isReportsRetrieved()

isRulesObjectsRetrieved

public boolean isRulesObjectsRetrieved()

isVariablesRetrieved

public boolean isVariablesRetrieved()

isTextFileObjectsRetrieved

public boolean isTextFileObjectsRetrieved()

isLotus4ObjectsRetrieved

public boolean isLotus4ObjectsRetrieved()

setVariablesRetrieved

public void setVariablesRetrieved(boolean ret)

isLotus3ObjectsRetrieved

public boolean isLotus3ObjectsRetrieved()

isLotus2ObjectsRetrieved

public boolean isLotus2ObjectsRetrieved()

isExcelObjectsRetrieved

public boolean isExcelObjectsRetrieved()

isAliasTablesRetrieved

public boolean isAliasTablesRetrieved()

isPartitionsRetrieved

public boolean isPartitionsRetrieved()

isFiltersRetrieved

public boolean isFiltersRetrieved()
If isFiltersRetrieved() returns true then the caller MUST call decVariablesAccess() after this call. See DefaultListAccess.getListRef()
Returns:

isQueryTrackingEnabled

public boolean isQueryTrackingEnabled()
Specified by:
isQueryTrackingEnabled in interface Database
Overrides:
isQueryTrackingEnabled in class DefaultDatabase

Skip navigation links


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