|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.essbase.defs.DefaultApplication
public class DefaultApplication
This is an implementation of Application that provides the most basic functionality.
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 |
|---|
protected boolean started
| Constructor Detail |
|---|
public DefaultApplication()
| Method Detail |
|---|
public Server getServer()
getServer in interface Applicationpublic void setServer(Server value)
setServer in interface Applicationpublic java.lang.String getName()
getName in interface Applicationpublic short getAppType()
getAppType in interface Applicationpublic void setAppType(short value)
setAppType in interface Applicationpublic void setProperties(ApplicationProperties props)
setProperties in interface Applicationpublic ApplicationProperties getProperties()
getProperties in interface Applicationpublic void setName(java.lang.String value)
setName in interface Application
public void addDatabase(Database value)
throws DuplicateDatabaseException
addDatabase in interface ApplicationDuplicateDatabaseExceptionpublic void addDatabases(Database[] values)
addDatabases in interface Application
public void addMacro(Macro value)
throws DuplicateMacroException
addMacro in interface ApplicationDuplicateMacroException
public void addFunction(Function value)
throws DuplicateFunctionException
addFunction in interface ApplicationDuplicateFunctionException
public void removeAllDatabases()
throws MissingDatabaseException
removeAllDatabases in interface ApplicationMissingDatabaseException
public void removeDatabase(Database value)
throws MissingDatabaseException
removeDatabase in interface ApplicationMissingDatabaseException
public void removeMacro(Macro value)
throws MissingMacroException
removeMacro in interface ApplicationMissingMacroException
public void removeFunction(Function value)
throws MissingFunctionException
removeFunction in interface ApplicationMissingFunctionException
public void removeDatabase(java.lang.String value)
throws MissingDatabaseException
removeDatabase in interface ApplicationMissingDatabaseExceptionpublic Database[] getLoadedDatabases()
getLoadedDatabases in interface Applicationpublic Database[] getDatabases()
getDatabases in interface Applicationpublic Macro[] getMacros()
getMacros in interface Applicationpublic Function[] getFunctions()
getFunctions in interface Applicationpublic Database getDatabase(java.lang.String value)
getDatabase in interface Applicationpublic Macro getMacro(java.lang.String value)
ApplicationgetMacro in interface Applicationpublic Function getFunction(java.lang.String value)
ApplicationgetFunction in interface Applicationprotected void propagateRemoval()
public void removeAllMacros()
public void removeAllFunctions()
public void removeAllVariables()
public void removeAllTextFileObjects()
public void removeAllLotusFileObjects()
public void removeExcelFileObjects()
public void removeAliasTableFileObjects()
public void removeOutlineFileObjects()
public void addCalcScript(DefaultCalcScript value)
throws DuplicateCalcScriptException
addCalcScript in interface ApplicationDuplicateCalcScriptExceptionpublic DefaultCalcScript[] getCalcScripts()
getCalcScripts in interface Applicationpublic DefaultCalcScript getCalcScript(java.lang.String scriptName)
getCalcScript in interface Application
public void removeCalcScript(DefaultCalcScript value)
throws MissingCalcScriptException
removeCalcScript in interface ApplicationMissingCalcScriptException
public void removeCalcScript(java.lang.String value)
throws MissingCalcScriptException
removeCalcScript in interface ApplicationMissingCalcScriptExceptionpublic void removeCalcScriptsNotIn(java.lang.String[] values)
removeCalcScriptsNotIn in interface Application
public void removeAllCalcScripts()
throws MissingCalcScriptException
MissingCalcScriptException
public void addReportScript(DefaultReportScript value)
throws DuplicateReportScriptException
addReportScript in interface ApplicationDuplicateReportScriptExceptionpublic DefaultReportScript getReportScript(java.lang.String scriptName)
getReportScript in interface Applicationpublic DefaultReportScript[] getReportScripts()
getReportScripts in interface Application
public void removeReportScript(DefaultReportScript value)
throws MissingReportScriptException
removeReportScript in interface ApplicationMissingReportScriptException
public void removeReportScript(java.lang.String value)
throws MissingReportScriptException
removeReportScript in interface ApplicationMissingReportScriptException
public void removeAllReportScripts()
throws MissingReportScriptException
MissingReportScriptExceptionpublic void removeReportScriptsNotIn(java.lang.String[] values)
removeReportScriptsNotIn in interface Applicationpublic void addApplicationListener(ApplicationListener l)
addApplicationListener in interface Applicationpublic void removeApplicationListener(ApplicationListener l)
removeApplicationListener in interface Applicationprotected void fireApplicationRemovedEvent()
protected void fireApplicationRenamedEvent(java.lang.Object old)
protected void fireCalcScriptAddedEvent(DefaultCalcScript cs)
protected void fireCalcScriptRemovedEvent(DefaultCalcScript cs)
protected void fireDatabaseAddedEvent(Database db)
protected void fireDatabasesAddedEvent(java.lang.Object[] dbs)
protected void fireMacroAddedEvent(Macro macro)
protected void fireAppLoadedEvent()
protected void fireFunctionAddedEvent(Function function)
protected void fireDatabaseRemovedEvent(Database db)
protected void fireMacroRemovedEvent(Macro macro)
protected void fireFunctionRemovedEvent(Function function)
protected void fireReportScriptAddedEvent(DefaultReportScript rs)
protected void fireReportScriptRemovedEvent(DefaultReportScript rs)
public java.lang.String toString()
toString in class java.lang.Object
public void addRulesObject(DefaultRulesObject value)
throws DuplicateRulesObjectException
addRulesObject in interface ApplicationDuplicateRulesObjectExceptionpublic DefaultRulesObject getRulesObject(java.lang.String scriptName)
getRulesObject in interface Applicationpublic DefaultRulesObject getRulesObjects(java.lang.String scriptName)
public DefaultRulesObject[] getRulesObjects()
getRulesObjects in interface Application
public void removeRulesObject(DefaultRulesObject value)
throws MissingRulesObjectException
removeRulesObject in interface ApplicationMissingRulesObjectException
public void removeRulesObject(java.lang.String value)
throws MissingRulesObjectException
removeRulesObject in interface ApplicationMissingRulesObjectException
public void removeAllRulesObjects()
throws MissingRulesObjectException
MissingRulesObjectExceptionpublic void removeRulesObjectsNotIn(java.lang.String[] values)
removeRulesObjectsNotIn in interface Applicationprotected void fireRulesObjectAddedEvent(DefaultRulesObject ro)
protected void fireRulesObjectRemovedEvent(DefaultRulesObject ro)
public void macroUpdated(MacroEvent e)
public void functionUpdated(FunctionEvent e)
public void variableUpdated(VariableEvent e)
public void addVariable(Variable value)
throws DuplicateVariableException
addVariable in interface ApplicationDuplicateVariableExceptionpublic Variable[] getVariables()
getVariables in interface Application
public void removeVariable(Variable value)
throws MissingVariableException
removeVariable in interface ApplicationMissingVariableExceptionpublic Variable getVariable(java.lang.String value)
ApplicationgetVariable in interface Applicationprotected void fireVariableAddedEvent(Variable variable)
protected void fireVariableRemovedEvent(Variable variable)
public void addTextFileObject(DefaultTextFileObject value)
throws DuplicateTextFileObjectException
addTextFileObject in interface ApplicationDuplicateTextFileObjectExceptionpublic DefaultTextFileObject getTextFileObject(java.lang.String value)
getTextFileObject in interface Applicationpublic DefaultTextFileObject[] getTextFileObjects()
getTextFileObjects in interface Application
public void removeTextFileObject(DefaultTextFileObject value)
throws MissingTextFileObjectException
removeTextFileObject in interface ApplicationMissingTextFileObjectException
public void removeTextFileObject(java.lang.String value)
throws MissingTextFileObjectException
removeTextFileObject in interface ApplicationMissingTextFileObjectExceptionpublic void removeTextFileObjectsNotIn(java.lang.String[] values)
removeTextFileObjectsNotIn in interface Application
public DefaultLotusFileObject getLotusFileObject(java.lang.String value,
short version)
getLotusFileObject in interface Application
public void addLotusFileObject(DefaultLotusFileObject value)
throws DuplicateLotusFileObjectException
addLotusFileObject in interface ApplicationDuplicateLotusFileObjectExceptionpublic DefaultLotusFileObject[] getLotusFileObjects(short version)
getLotusFileObjects in interface Application
public void removeLotusFileObject(DefaultLotusFileObject value)
throws MissingLotusFileObjectException
removeLotusFileObject in interface ApplicationMissingLotusFileObjectException
public void removeLotusFileObject(java.lang.String value,
short version)
throws MissingLotusFileObjectException
removeLotusFileObject in interface ApplicationMissingLotusFileObjectException
public void removeLotusFileObjectsNotIn(java.lang.String[] values,
short version)
removeLotusFileObjectsNotIn in interface Applicationpublic DefaultExcelFileObject getExcelFileObject(java.lang.String value)
getExcelFileObject in interface Application
public void addExcelFileObject(DefaultExcelFileObject value)
throws DuplicateExcelFileObjectException
addExcelFileObject in interface ApplicationDuplicateExcelFileObjectExceptionpublic DefaultExcelFileObject[] getExcelFileObjects()
getExcelFileObjects in interface Application
public void removeExcelFileObject(DefaultExcelFileObject value)
throws MissingExcelFileObjectException
removeExcelFileObject in interface ApplicationMissingExcelFileObjectException
public void removeExcelFileObject(java.lang.String value)
throws MissingExcelFileObjectException
removeExcelFileObject in interface ApplicationMissingExcelFileObjectExceptionpublic void removeExcelFileObjectsNotIn(java.lang.String[] values)
removeExcelFileObjectsNotIn in interface Applicationpublic DefaultAliasTableFileObject getAliasTableFileObject(java.lang.String value)
getAliasTableFileObject in interface Application
public void addAliasTableFileObject(DefaultAliasTableFileObject value)
throws DuplicateAliasTableFileObjectException
addAliasTableFileObject in interface ApplicationDuplicateAliasTableFileObjectExceptionpublic DefaultAliasTableFileObject[] getAliasTableFileObjects()
getAliasTableFileObjects in interface Application
public void removeAliasTableFileObject(DefaultAliasTableFileObject value)
throws MissingAliasTableFileObjectException
removeAliasTableFileObject in interface ApplicationMissingAliasTableFileObjectException
public void removeAliasTableFileObject(java.lang.String value)
throws MissingAliasTableFileObjectException
removeAliasTableFileObject in interface ApplicationMissingAliasTableFileObjectExceptionpublic void removeAliasTableFileObjectsNotIn(java.lang.String[] values)
removeAliasTableFileObjectsNotIn in interface Applicationpublic DefaultOutlineFileObject getOutlineFileObject(java.lang.String value)
getOutlineFileObject in interface Application
public void addOutlineFileObject(DefaultOutlineFileObject value)
throws DuplicateOutlineFileObjectException
addOutlineFileObject in interface ApplicationDuplicateOutlineFileObjectExceptionpublic DefaultOutlineFileObject[] getOutlineFileObjects()
getOutlineFileObjects in interface Application
public void removeOutlineFileObject(DefaultOutlineFileObject value)
throws MissingOutlineFileObjectException
removeOutlineFileObject in interface ApplicationMissingOutlineFileObjectException
public void removeOutlineFileObject(java.lang.String value)
throws MissingOutlineFileObjectException
removeOutlineFileObject in interface ApplicationMissingOutlineFileObjectExceptionpublic void removeOutlineFileObjectsNotIn(java.lang.String[] values)
removeOutlineFileObjectsNotIn in interface Applicationpublic boolean isUnicode()
isUnicode in interface Applicationpublic boolean getUnicode()
getUnicode in interface Applicationpublic void setUnicode(boolean _unicode)
setUnicode in interface Application
public void databaseRenamed(java.lang.String oldname,
java.lang.String newname,
java.lang.Object database)
databaseRenamed in interface Applicationpublic boolean isASO()
ApplicationisASO in interface Applicationpublic boolean isStarted()
isStarted in interface Applicationpublic void setStarted(boolean started)
setStarted in interface Applicationpublic void setDatabasesLoaded(boolean loaded)
setDatabasesLoaded in interface Applicationpublic short getAppFrontEndType()
getAppFrontEndType in interface Applicationpublic void setAppFrontEndType(short value)
setAppFrontEndType in interface Application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||