Skip navigation links


com.essbase.eas.essbase.defs
Class DefaultApplication

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

All Implemented Interfaces:
Application
Direct Known Subclasses:
FactoryApplication

public class DefaultApplication
extends java.lang.Object
implements Application

This is an implementation of Application that provides the most basic functionality.

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

Field Summary
protected  boolean started
           

 

Constructor Summary
DefaultApplication()
           

 

Method Summary
 void addAliasTableFileObject(DefaultAliasTableFileObject value)
          adds an alias table file object to this application's collection.
 void addApplicationListener(ApplicationListener l)
          add a listener to the application's collection of listeners.
 void addCalcScript(DefaultCalcScript value)
          adds a calc script to this application's collection.
 void addDatabase(Database value)
          adds a database to the application's collection of databases.
 void addDatabases(Database[] values)
           
 void addExcelFileObject(DefaultExcelFileObject value)
          adds a excel file object to this application's collection.
 void addFunction(Function value)
          adds a Function to this app's collection.
 void addLotusFileObject(DefaultLotusFileObject value)
          adds a lotus file object to this application's collection.
 void addMacro(Macro value)
          adds a Macro to this app's collection.
 void addOutlineFileObject(DefaultOutlineFileObject value)
          adds an outline file object to this application's collection.
 void addReportScript(DefaultReportScript value)
          adds a report script to this application's collection.
 void addRulesObject(DefaultRulesObject value)
          adds a rules object to this application'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 app's collection.
 void databaseRenamed(java.lang.String oldname, java.lang.String newname, java.lang.Object database)
           
protected  void fireApplicationRemovedEvent()
          fires application removed events to the listeners.
protected  void fireApplicationRenamedEvent(java.lang.Object old)
          fires application renamed events to the listeners.
protected  void fireAppLoadedEvent()
           
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 fireDatabaseAddedEvent(Database db)
          fires application database added events to the listeners.
protected  void fireDatabaseRemovedEvent(Database db)
          fires database removed events to the listeners.
protected  void fireDatabasesAddedEvent(java.lang.Object[] dbs)
          fires application database added events to the listeners.
protected  void fireFunctionAddedEvent(Function function)
          fires application function added events to the listeners.
protected  void fireFunctionRemovedEvent(Function function)
          fires application function removed events to the listeners.
protected  void fireMacroAddedEvent(Macro macro)
          fires application macro added events to the listeners.
protected  void fireMacroRemovedEvent(Macro macro)
          fires application macro removed events to the listeners.
protected  void fireReportScriptAddedEvent(DefaultReportScript rs)
          fires report script added events to the listeners.
protected  void fireReportScriptRemovedEvent(DefaultReportScript rs)
          fires report 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 calc script removed events to the listeners.
protected  void fireVariableAddedEvent(Variable variable)
          fires application variable added events to the listeners.
protected  void fireVariableRemovedEvent(Variable variable)
          fires application variable removed events to the listeners.
 void functionUpdated(FunctionEvent e)
           
 DefaultAliasTableFileObject getAliasTableFileObject(java.lang.String value)
          retrieves a specific alias table file object.
 DefaultAliasTableFileObject[] getAliasTableFileObjects()
          retrieves this application's collection of alias table file objects.
 short getAppFrontEndType()
           
 short getAppType()
          implementation of the Application interface getAppType() method.
 DefaultCalcScript getCalcScript(java.lang.String scriptName)
           
 DefaultCalcScript[] getCalcScripts()
          retrieves this application's collection of calc scripts.
 Database getDatabase(java.lang.String value)
          retrieves a specific database.
 Database[] getDatabases()
          returns an array with the contained database objects.
 DefaultExcelFileObject getExcelFileObject(java.lang.String value)
          retrieves a specific excel file object.
 DefaultExcelFileObject[] getExcelFileObjects()
          retrieves this application's collection of excel file objects.
 Function getFunction(java.lang.String value)
          Returns the Function associated with the name from the collection of functions
 Function[] getFunctions()
          returns an array with the contained function objects.
 Database[] getLoadedDatabases()
          retrieves this application's currently loaded of databases.
 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.
 Macro getMacro(java.lang.String value)
          Returns the Macro associated with the name from the collection of macros
 Macro[] getMacros()
          returns an array with the contained macro objects.
 java.lang.String getName()
          implementation of the Application interface getName() method.
 DefaultOutlineFileObject getOutlineFileObject(java.lang.String value)
          retrieves a specific outline file object.
 DefaultOutlineFileObject[] getOutlineFileObjects()
          retrieves this application's collection of outline file objects.
 ApplicationProperties getProperties()
          implementation of the Application interface getApplicationProperties() method.
 DefaultReportScript getReportScript(java.lang.String scriptName)
           
 DefaultReportScript[] getReportScripts()
          retrieves this application's collection of report scripts.
 DefaultRulesObject getRulesObject(java.lang.String scriptName)
           
 DefaultRulesObject[] getRulesObjects()
          retrieves this application's collection of rules objects.
 DefaultRulesObject getRulesObjects(java.lang.String scriptName)
           
 Server getServer()
          get the server that this application object is contained in.
 DefaultTextFileObject getTextFileObject(java.lang.String value)
          retrieves a specific text file object.
 DefaultTextFileObject[] getTextFileObjects()
          retrieves this application's collection of text file objects.
 boolean getUnicode()
          Implements getUnicode from Application interface
 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 isASO()
          returns whether the application's storage is ASO
 boolean isStarted()
           
 boolean isUnicode()
          Implements isUnicode from Application interface
 void macroUpdated(MacroEvent e)
           
protected  void propagateRemoval()
           
 void removeAliasTableFileObject(DefaultAliasTableFileObject value)
          removes an alias table file object from this application's collection of alias table file objects.
 void removeAliasTableFileObject(java.lang.String value)
          removes a excel file Object from this app's collection of alias table file objects
 void removeAliasTableFileObjects()
           
 void removeAliasTableFileObjectsNotIn(java.lang.String[] values)
          removes alias table file objects from the database's collection that aren't contained in this collection of names.
 void removeAllCalcScripts()
           
 void removeAllDatabases()
          removes all Databases.
 void removeAllFunctions()
           
 void removeAllLotusFileObjects()
           
 void removeAllMacros()
           
 void removeAllReportScripts()
           
 void removeAllRulesObjects()
           
 void removeAllTextFileObjects()
           
 void removeAllVariables()
           
 void removeApplicationListener(ApplicationListener l)
          removes an event listener from an application
 void removeCalcScript(DefaultCalcScript value)
          removes a calc script from this application's collection of calc scripts.
 void removeCalcScript(java.lang.String value)
          removes a calc script from this app's collection of calc scripts.
 void removeCalcScriptsNotIn(java.lang.String[] values)
          removes report scripts from the database's collection that aren't contained in this collection of names.
 void removeDatabase(Database value)
          removes a database from from the application's collection of databases.
 void removeDatabase(java.lang.String value)
          removes a database from from the application's collection of databases.
 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 removeExcelFileObjects()
           
 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 removeFunction(Function value)
          removes a function from from the application's collection of functions.
 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 removeMacro(Macro value)
          removes a macro from from the application's collection of macros.
 void removeOutlineFileObject(DefaultOutlineFileObject value)
          removes an outline file object from this application's collection of alias table file objects.
 void removeOutlineFileObject(java.lang.String value)
          removes an outline file Object from this app's collection of alias table file objects
 void removeOutlineFileObjects()
           
 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 removeReportScript(DefaultReportScript value)
          removes a report script from this application's collection of report scripts.
 void removeReportScript(java.lang.String value)
          removes a report script from this app'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 application's collection of rules objects.
 void removeRulesObject(java.lang.String value)
          removes a rules Object from this app's collection of rules 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 setAppFrontEndType(short value)
           
 void setAppType(short value)
          implementation of the Application interface setAppType() method.
 void setDatabasesLoaded(boolean loaded)
           
 void setName(java.lang.String value)
          implementation of the Application interface setName() method.
 void setProperties(ApplicationProperties props)
          implementation of the Application interface setApplicationProperties() method.
 void setServer(Server value)
          set the server that this application object is contained in.
 void setStarted(boolean started)
           
 void setUnicode(boolean _unicode)
          Implements setUnicode from Application interface Sets whether the application is Unicode application
 java.lang.String toString()
           
 void variableUpdated(VariableEvent e)
           

 

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

 

Field Detail

started

protected boolean started

Constructor Detail

DefaultApplication

public DefaultApplication()

Method Detail

getServer

public Server getServer()
get the server that this application object is contained in.
Specified by:
getServer in interface Application

setServer

public void setServer(Server value)
set the server that this application object is contained in.
Specified by:
setServer in interface Application

getName

public java.lang.String getName()
implementation of the Application interface getName() method. Returns the name of this Essbase application.
Specified by:
getName in interface Application

getAppType

public short getAppType()
implementation of the Application interface getAppType() method. Returns the type of this Essbase application.
Specified by:
getAppType in interface Application

setAppType

public void setAppType(short value)
implementation of the Application interface setAppType() method. Returns the name of this Essbase application.
Specified by:
setAppType in interface Application

setProperties

public void setProperties(ApplicationProperties props)
implementation of the Application interface setApplicationProperties() method. Returns the name of this Essbase application.
Specified by:
setProperties in interface Application

getProperties

public ApplicationProperties getProperties()
implementation of the Application interface getApplicationProperties() method. Returns the name of this Essbase application.
Specified by:
getProperties in interface Application

setName

public void setName(java.lang.String value)
implementation of the Application interface setName() method. Changes the name of this Essbase application and generates an ApplicationEvent for the name change.
Specified by:
setName in interface Application

addDatabase

public void addDatabase(Database value)
                 throws DuplicateDatabaseException
adds a database to the application's collection of databases.
Specified by:
addDatabase in interface Application
Throws:
DuplicateDatabaseException

addDatabases

public void addDatabases(Database[] values)
Specified by:
addDatabases in interface Application

addMacro

public void addMacro(Macro value)
              throws DuplicateMacroException
adds a Macro to this app's collection.
Specified by:
addMacro in interface Application
Throws:
DuplicateMacroException

addFunction

public void addFunction(Function value)
                 throws DuplicateFunctionException
adds a Function to this app's collection.
Specified by:
addFunction in interface Application
Throws:
DuplicateFunctionException

removeAllDatabases

public void removeAllDatabases()
                        throws MissingDatabaseException
removes all Databases.
Specified by:
removeAllDatabases in interface Application
Throws:
MissingDatabaseException

removeDatabase

public void removeDatabase(Database value)
                    throws MissingDatabaseException
removes a database from from the application's collection of databases.
Specified by:
removeDatabase in interface Application
Throws:
MissingDatabaseException

removeMacro

public void removeMacro(Macro value)
                 throws MissingMacroException
removes a macro from from the application's collection of macros.
Specified by:
removeMacro in interface Application
Throws:
MissingMacroException

removeFunction

public void removeFunction(Function value)
                    throws MissingFunctionException
removes a function from from the application's collection of functions.
Specified by:
removeFunction in interface Application
Throws:
MissingFunctionException

removeDatabase

public void removeDatabase(java.lang.String value)
                    throws MissingDatabaseException
removes a database from from the application's collection of databases.
Specified by:
removeDatabase in interface Application
Throws:
MissingDatabaseException

getLoadedDatabases

public Database[] getLoadedDatabases()
retrieves this application's currently loaded of databases.
Specified by:
getLoadedDatabases in interface Application

getDatabases

public Database[] getDatabases()
returns an array with the contained database objects.
Specified by:
getDatabases in interface Application

getMacros

public Macro[] getMacros()
returns an array with the contained macro objects.
Specified by:
getMacros in interface Application

getFunctions

public Function[] getFunctions()
returns an array with the contained function objects.
Specified by:
getFunctions in interface Application

getDatabase

public Database getDatabase(java.lang.String value)
retrieves a specific database.
Specified by:
getDatabase in interface Application

getMacro

public Macro getMacro(java.lang.String value)
Description copied from interface: Application
Returns the Macro associated with the name from the collection of macros
Specified by:
getMacro in interface Application

getFunction

public Function getFunction(java.lang.String value)
Description copied from interface: Application
Returns the Function associated with the name from the collection of functions
Specified by:
getFunction in interface Application

propagateRemoval

protected void propagateRemoval()

removeAllMacros

public void removeAllMacros()

removeAllFunctions

public void removeAllFunctions()

removeAllVariables

public void removeAllVariables()

removeAllTextFileObjects

public void removeAllTextFileObjects()

removeAllLotusFileObjects

public void removeAllLotusFileObjects()

removeExcelFileObjects

public void removeExcelFileObjects()

removeAliasTableFileObjects

public void removeAliasTableFileObjects()

removeOutlineFileObjects

public void removeOutlineFileObjects()

addCalcScript

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

getCalcScripts

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

getCalcScript

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

removeCalcScript

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

removeCalcScript

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

removeCalcScriptsNotIn

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

removeAllCalcScripts

public void removeAllCalcScripts()
                          throws MissingCalcScriptException
Throws:
MissingCalcScriptException

addReportScript

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

getReportScript

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

getReportScripts

public DefaultReportScript[] getReportScripts()
retrieves this application's collection of report scripts.
Specified by:
getReportScripts in interface Application

removeReportScript

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

removeReportScript

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

removeAllReportScripts

public void removeAllReportScripts()
                            throws MissingReportScriptException
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 Application

addApplicationListener

public void addApplicationListener(ApplicationListener l)
add a listener to the application's collection of listeners.
Specified by:
addApplicationListener in interface Application

removeApplicationListener

public void removeApplicationListener(ApplicationListener l)
removes an event listener from an application
Specified by:
removeApplicationListener in interface Application

fireApplicationRemovedEvent

protected void fireApplicationRemovedEvent()
fires application removed events to the listeners.

fireApplicationRenamedEvent

protected void fireApplicationRenamedEvent(java.lang.Object old)
fires application renamed events to the listeners.

fireCalcScriptAddedEvent

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

fireCalcScriptRemovedEvent

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

fireDatabaseAddedEvent

protected void fireDatabaseAddedEvent(Database db)
fires application database added events to the listeners.

fireDatabasesAddedEvent

protected void fireDatabasesAddedEvent(java.lang.Object[] dbs)
fires application database added events to the listeners.

fireMacroAddedEvent

protected void fireMacroAddedEvent(Macro macro)
fires application macro added events to the listeners.

fireAppLoadedEvent

protected void fireAppLoadedEvent()

fireFunctionAddedEvent

protected void fireFunctionAddedEvent(Function function)
fires application function added events to the listeners.

fireDatabaseRemovedEvent

protected void fireDatabaseRemovedEvent(Database db)
fires database removed events to the listeners.

fireMacroRemovedEvent

protected void fireMacroRemovedEvent(Macro macro)
fires application macro removed events to the listeners.

fireFunctionRemovedEvent

protected void fireFunctionRemovedEvent(Function function)
fires application function removed events to the listeners.

fireReportScriptAddedEvent

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

fireReportScriptRemovedEvent

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

toString

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

addRulesObject

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

getRulesObject

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

getRulesObjects

public DefaultRulesObject getRulesObjects(java.lang.String scriptName)

getRulesObjects

public DefaultRulesObject[] getRulesObjects()
retrieves this application's collection of rules objects.
Specified by:
getRulesObjects in interface Application

removeRulesObject

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

removeRulesObject

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

removeAllRulesObjects

public void removeAllRulesObjects()
                           throws MissingRulesObjectException
Throws:
MissingRulesObjectException

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 Application

fireRulesObjectAddedEvent

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

fireRulesObjectRemovedEvent

protected void fireRulesObjectRemovedEvent(DefaultRulesObject ro)
fires calc script removed events to the listeners.

macroUpdated

public void macroUpdated(MacroEvent e)

functionUpdated

public void functionUpdated(FunctionEvent e)

variableUpdated

public void variableUpdated(VariableEvent e)

addVariable

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

getVariables

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

removeVariable

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

getVariable

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

fireVariableAddedEvent

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

fireVariableRemovedEvent

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

addTextFileObject

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

getTextFileObject

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

getTextFileObjects

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

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 Application
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 Application
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 Application

getLotusFileObject

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

addLotusFileObject

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

getLotusFileObjects

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

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 Application
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 Application
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 Application

getExcelFileObject

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

addExcelFileObject

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

getExcelFileObjects

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

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 Application
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 Application
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 Application

getAliasTableFileObject

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

addAliasTableFileObject

public void addAliasTableFileObject(DefaultAliasTableFileObject value)
                             throws DuplicateAliasTableFileObjectException
adds an alias table file object to this application's collection.
Specified by:
addAliasTableFileObject in interface Application
Throws:
DuplicateAliasTableFileObjectException

getAliasTableFileObjects

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

removeAliasTableFileObject

public void removeAliasTableFileObject(DefaultAliasTableFileObject value)
                                throws MissingAliasTableFileObjectException
removes an alias table file object from this application's collection of alias table file objects.
Specified by:
removeAliasTableFileObject in interface Application
Throws:
MissingAliasTableFileObjectException

removeAliasTableFileObject

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

removeAliasTableFileObjectsNotIn

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

getOutlineFileObject

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

addOutlineFileObject

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

getOutlineFileObjects

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

removeOutlineFileObject

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

removeOutlineFileObject

public void removeOutlineFileObject(java.lang.String value)
                             throws MissingOutlineFileObjectException
removes an outline file Object from this app's collection of alias table file objects
Specified by:
removeOutlineFileObject in interface Application
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 Application

isUnicode

public boolean isUnicode()
Implements isUnicode from Application interface
Specified by:
isUnicode in interface Application
Returns:
whether the application is Unicode application

getUnicode

public boolean getUnicode()
Implements getUnicode from Application interface
Specified by:
getUnicode in interface Application
Returns:
whether the application is Unicode application

setUnicode

public void setUnicode(boolean _unicode)
Implements setUnicode from Application interface Sets whether the application is Unicode application
Specified by:
setUnicode in interface Application

databaseRenamed

public void databaseRenamed(java.lang.String oldname,
                            java.lang.String newname,
                            java.lang.Object database)
Specified by:
databaseRenamed in interface Application

isASO

public boolean isASO()
Description copied from interface: Application
returns whether the application's storage is ASO
Specified by:
isASO in interface Application

isStarted

public boolean isStarted()
Specified by:
isStarted in interface Application
Returns:
true if the app is started

setStarted

public void setStarted(boolean started)
Specified by:
setStarted in interface Application

setDatabasesLoaded

public void setDatabasesLoaded(boolean loaded)
Specified by:
setDatabasesLoaded in interface Application

getAppFrontEndType

public short getAppFrontEndType()
Specified by:
getAppFrontEndType in interface Application

setAppFrontEndType

public void setAppFrontEndType(short value)
Specified by:
setAppFrontEndType in interface Application

Skip navigation links


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