Skip navigation links


com.essbase.eas.essbase.ui
Class DatabaseRequestHelper

java.lang.Object
  extended by com.essbase.eas.essbase.ui.DatabaseRequestHelper


public class DatabaseRequestHelper
extends java.lang.Object

Constructor Summary
DatabaseRequestHelper()
           

 

Method Summary
static void browseHub(Database db)
           
static boolean doMultipleSlicesExist(Database db, java.lang.String INCREMENTAL_DATA_SLICE_COL_NAME)
           
static boolean enableQueryTracking(Database db, boolean enable)
           
static java.lang.String[] getArchivedLocations()
           
static boolean getArchiveFileOverview(java.lang.Object obj, java.lang.String archiveFileName)
           
static java.lang.String getDatabaseNote(Database database)
           
static java.lang.String getDataCalculationState(Database db)
           
static java.lang.String getDefaultCalc(Database database)
           
static java.lang.Object getUserObject()
           
static boolean isQueryTrackingEnabled(Database database)
           
static MaxlResultListModel listDiskVolumes(java.lang.Object obj, java.lang.String fileName)
           
static boolean performArchiveDatabase(java.lang.Object obj, java.lang.String fileName, boolean isBackground, boolean forceArchiving)
           
static MaxlResultListModel performDisplayTransactionBasedOnDateAndTime(java.lang.Object obj, java.lang.String dateText, boolean writeToFile, boolean force, java.lang.String fileName)
           
static MaxlResultListModel performDisplayTransactionBasedOnLastReplayTime(java.lang.Object obj, boolean writeToFile, boolean force, java.lang.String fileName)
           
static boolean performReplayTransactionBasedOnDateAndTime(java.lang.Object obj, java.lang.String dateText, boolean isBackground)
           
static boolean performReplayTransactionBasedOnLastReplayTime(java.lang.Object obj, boolean isBackground)
           
static boolean performReplayTransactionBasedOnSequenceId(java.lang.Object obj, java.lang.String sequenceIdRange, boolean isBackground)
           
static boolean performRestoreDatabase(java.lang.Object obj, java.lang.String fileName, java.lang.String appendMaxl, boolean isBackground, boolean force)
           
static void performRestructure(java.lang.Object obj, boolean background)
           
static boolean performTransactionReplay(java.lang.Object obj, java.lang.String dateText)
           
static void renameASOCalcScripts(java.lang.String oldDbName, Database database)
           
static void renameASOCalcScripts(java.lang.String oldApp, java.lang.String newApp, java.lang.String oldDbName, Database database)
           
static void requestAggregate(java.lang.Object obj)
           
static void requestAggregateNew(java.lang.Object obj)
           
static boolean requestAllEQDCopy(SrcDestAppDbInfo info)
           
static boolean requestAllSlicesIntoOneMerge(java.lang.Object obj, java.util.ArrayList errorAndWarningMessages)
           
static void requestArchiveDatabase(java.lang.Object obj)
           
static void requestASOCompression(java.lang.Object obj)
           
static void requestClearAggregates(java.lang.Object obj)
           
static void requestClearDatabase(java.lang.Object obj)
           
static void requestClearNonInputBlocks(java.lang.Object obj)
           
static void requestClearUpperBlocks(java.lang.Object obj)
           
static boolean requestCopyAllDbs(java.lang.String srcServer, java.lang.String srcApp, java.lang.String newServer, java.lang.String newApp, DatabaseCopyFiles files, boolean migrate, boolean replace)
           
static void requestCopyDatabase(java.lang.Object obj)
           
static void requestCopyProperties(java.lang.String srcServer, java.lang.String srcApp, java.lang.String srcDb, java.lang.String newServer, java.lang.String newApp, java.lang.String newDb)
           
static void requestCreateDatabase()
           
static void requestCreateDatabase(Application app, java.lang.String dbName)
           
static void requestCreateDatabase(Application app, java.lang.String dbName, boolean currency)
           
static void requestCreateDatabase(Application app, java.lang.String dbName, boolean currencyDB, boolean uniqueName)
           
static void requestCreateDatabase(java.lang.Object obj)
           
static java.lang.String requestCurrencyDatabaseLink(java.lang.Object obj)
           
static boolean requestDatabaseCopy(Database srcDb, Application destApp, java.lang.String destDb)
           
static void requestDatabaseCopy(Database srcDb, Application destApp, java.lang.String destDb, DatabaseCopyFiles dcf)
           
static boolean requestDatabaseCopy(Database srcDb, Application destApp, java.lang.String destDb, DatabaseCopyFiles dcf, boolean replace)
           
static void requestDatabaseProperties(Database dbObj, int dbPropsSubset)
           
static short requestDatabaseStatus(java.lang.String serverName, java.lang.String appName, java.lang.String dbName)
           
static java.util.List requestDatabaseUsersGroups(Database db)
           
static void requestDeleteAllDbs(java.lang.Object obj)
           
static void requestDeleteDatabase(java.lang.Object obj)
           
static void requestDisplayTransaction(java.lang.Object obj)
           
static void requestExecute(java.lang.Object obj)
           
static void requestExport(java.lang.Object obj)
           
static boolean requestExportDatabase(java.lang.Object obj, java.lang.String newName, java.lang.String dataLevel, boolean format, boolean background)
           
static boolean requestIncrementalSliceMerge(java.lang.Object obj, java.util.ArrayList errorAndWarningMessages)
           
static void requestLoadData(java.lang.Object obj)
           
static void requestPartialClearData(java.lang.Object obj)
          PRD Item 369 Partial Data Clear in ASO Applications.
static void requestRenameDatabase(java.lang.Object obj, java.lang.String newDbName)
           
static void requestRestoreDatabase(java.lang.Object obj)
           
static void requestRestructure(java.lang.Object obj)
           
static boolean requestSetActive(java.lang.String serverName, java.lang.String appName, java.lang.String dbName)
           
static void requestSetDatabaseNote(java.lang.Object obj)
           
static void requestSetDefaultAliasTable(java.lang.Object obj)
           
static void requestSetDefaultCalc(java.lang.Object obj)
           
static void requestShowDeleteAllDbsDialog(java.lang.Object obj)
          handles the user interface for deleting all databases
static void requestShowDeleteDatabaseDialog(java.lang.Object obj)
          handles the user interface for deleting a database
static void requestShowRenameDatabaseDialog(java.lang.Object obj)
           
static void requestStartAllDbs(java.lang.Object obj)
           
static boolean requestStartDatabase(java.lang.Object obj)
           
static boolean requestStartDatabase(java.lang.Object obj, boolean confirm)
           
static void requestStopAllDbs(java.lang.Object obj)
           
static boolean requestStopDatabase(java.lang.Object obj)
           
static void requestTransactionReplay(java.lang.Object obj)
           
static void setDbCurrencyLink(java.lang.String srcServer, java.lang.String srcApp, java.lang.String newServer, java.lang.String newApp, java.util.List dbList)
           
static boolean setDefaultCalcFile(Database database, java.lang.String calcScript)
           
static boolean setDefaultCalcString(Database database, java.lang.String calcText)
           
static boolean setNote(Database database, java.lang.String note)
           
static boolean setProperties(Database database, DatabaseProperties dbProps, boolean storageOnly)
           
static void showPropertiesFrame(java.lang.Object obj)
           
static java.util.List tryDeletingAllDbs(java.lang.Object obj)
           
static java.util.List tryDeletingDatabase(java.lang.Object obj)
           
static boolean tryExportingDatabase(java.lang.Object obj, java.lang.String newName, java.lang.String data, boolean format, boolean background)
           
static java.util.List tryRenamingDatabase(java.lang.Object obj, java.lang.String newName)
           
static boolean verifyIfDatabaseLocked(Database db)
           

 

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

 

Constructor Detail

DatabaseRequestHelper

public DatabaseRequestHelper()

Method Detail

getUserObject

public static java.lang.Object getUserObject()

showPropertiesFrame

public static void showPropertiesFrame(java.lang.Object obj)

requestDatabaseProperties

public static void requestDatabaseProperties(Database dbObj,
                                             int dbPropsSubset)

requestCreateDatabase

public static void requestCreateDatabase()

requestCreateDatabase

public static void requestCreateDatabase(java.lang.Object obj)

requestCreateDatabase

public static void requestCreateDatabase(Application app,
                                         java.lang.String dbName,
                                         boolean currencyDB,
                                         boolean uniqueName)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

requestCreateDatabase

public static void requestCreateDatabase(Application app,
                                         java.lang.String dbName)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

requestCreateDatabase

public static void requestCreateDatabase(Application app,
                                         java.lang.String dbName,
                                         boolean currency)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

requestCopyDatabase

public static void requestCopyDatabase(java.lang.Object obj)

requestShowRenameDatabaseDialog

public static void requestShowRenameDatabaseDialog(java.lang.Object obj)

tryRenamingDatabase

public static java.util.List tryRenamingDatabase(java.lang.Object obj,
                                                 java.lang.String newName)

requestRenameDatabase

public static void requestRenameDatabase(java.lang.Object obj,
                                         java.lang.String newDbName)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

requestShowDeleteDatabaseDialog

public static void requestShowDeleteDatabaseDialog(java.lang.Object obj)
handles the user interface for deleting a database

tryDeletingDatabase

public static java.util.List tryDeletingDatabase(java.lang.Object obj)

requestDeleteDatabase

public static void requestDeleteDatabase(java.lang.Object obj)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

requestStartDatabase

public static boolean requestStartDatabase(java.lang.Object obj)

requestStartDatabase

public static boolean requestStartDatabase(java.lang.Object obj,
                                           boolean confirm)

requestStopDatabase

public static boolean requestStopDatabase(java.lang.Object obj)

requestStartAllDbs

public static void requestStartAllDbs(java.lang.Object obj)

requestStopAllDbs

public static void requestStopAllDbs(java.lang.Object obj)

requestShowDeleteAllDbsDialog

public static void requestShowDeleteAllDbsDialog(java.lang.Object obj)
handles the user interface for deleting all databases

tryDeletingAllDbs

public static java.util.List tryDeletingAllDbs(java.lang.Object obj)

requestDeleteAllDbs

public static void requestDeleteAllDbs(java.lang.Object obj)
                                throws java.lang.Exception
Throws:
java.lang.Exception

requestSetDefaultCalc

public static void requestSetDefaultCalc(java.lang.Object obj)

requestSetDefaultAliasTable

public static void requestSetDefaultAliasTable(java.lang.Object obj)

requestSetDatabaseNote

public static void requestSetDatabaseNote(java.lang.Object obj)

requestClearDatabase

public static void requestClearDatabase(java.lang.Object obj)

requestClearAggregates

public static void requestClearAggregates(java.lang.Object obj)

requestPartialClearData

public static void requestPartialClearData(java.lang.Object obj)
PRD Item 369 Partial Data Clear in ASO Applications. Implementation for the enhancement 369.
Parameters:
obj -
sRegion -

requestClearUpperBlocks

public static void requestClearUpperBlocks(java.lang.Object obj)

requestClearNonInputBlocks

public static void requestClearNonInputBlocks(java.lang.Object obj)

requestExecute

public static void requestExecute(java.lang.Object obj)

getDataCalculationState

public static java.lang.String getDataCalculationState(Database db)

requestAggregate

public static void requestAggregate(java.lang.Object obj)

requestAggregateNew

public static void requestAggregateNew(java.lang.Object obj)

doMultipleSlicesExist

public static boolean doMultipleSlicesExist(Database db,
                                            java.lang.String INCREMENTAL_DATA_SLICE_COL_NAME)

requestAllSlicesIntoOneMerge

public static boolean requestAllSlicesIntoOneMerge(java.lang.Object obj,
                                                   java.util.ArrayList errorAndWarningMessages)

requestIncrementalSliceMerge

public static boolean requestIncrementalSliceMerge(java.lang.Object obj,
                                                   java.util.ArrayList errorAndWarningMessages)

requestLoadData

public static void requestLoadData(java.lang.Object obj)

requestExport

public static void requestExport(java.lang.Object obj)

requestRestructure

public static void requestRestructure(java.lang.Object obj)

requestArchiveDatabase

public static void requestArchiveDatabase(java.lang.Object obj)

requestRestoreDatabase

public static void requestRestoreDatabase(java.lang.Object obj)

requestDisplayTransaction

public static void requestDisplayTransaction(java.lang.Object obj)

requestTransactionReplay

public static void requestTransactionReplay(java.lang.Object obj)

requestASOCompression

public static void requestASOCompression(java.lang.Object obj)

performRestructure

public static void performRestructure(java.lang.Object obj,
                                      boolean background)

getArchiveFileOverview

public static boolean getArchiveFileOverview(java.lang.Object obj,
                                             java.lang.String archiveFileName)

performArchiveDatabase

public static boolean performArchiveDatabase(java.lang.Object obj,
                                             java.lang.String fileName,
                                             boolean isBackground,
                                             boolean forceArchiving)

performRestoreDatabase

public static boolean performRestoreDatabase(java.lang.Object obj,
                                             java.lang.String fileName,
                                             java.lang.String appendMaxl,
                                             boolean isBackground,
                                             boolean force)

listDiskVolumes

public static MaxlResultListModel listDiskVolumes(java.lang.Object obj,
                                                  java.lang.String fileName)

performDisplayTransactionBasedOnLastReplayTime

public static MaxlResultListModel performDisplayTransactionBasedOnLastReplayTime(java.lang.Object obj,
                                                                                 boolean writeToFile,
                                                                                 boolean force,
                                                                                 java.lang.String fileName)

performDisplayTransactionBasedOnDateAndTime

public static MaxlResultListModel performDisplayTransactionBasedOnDateAndTime(java.lang.Object obj,
                                                                              java.lang.String dateText,
                                                                              boolean writeToFile,
                                                                              boolean force,
                                                                              java.lang.String fileName)

performReplayTransactionBasedOnLastReplayTime

public static boolean performReplayTransactionBasedOnLastReplayTime(java.lang.Object obj,
                                                                    boolean isBackground)

performReplayTransactionBasedOnSequenceId

public static boolean performReplayTransactionBasedOnSequenceId(java.lang.Object obj,
                                                                java.lang.String sequenceIdRange,
                                                                boolean isBackground)

performReplayTransactionBasedOnDateAndTime

public static boolean performReplayTransactionBasedOnDateAndTime(java.lang.Object obj,
                                                                 java.lang.String dateText,
                                                                 boolean isBackground)

performTransactionReplay

public static boolean performTransactionReplay(java.lang.Object obj,
                                               java.lang.String dateText)

tryExportingDatabase

public static boolean tryExportingDatabase(java.lang.Object obj,
                                           java.lang.String newName,
                                           java.lang.String data,
                                           boolean format,
                                           boolean background)

requestExportDatabase

public static boolean requestExportDatabase(java.lang.Object obj,
                                            java.lang.String newName,
                                            java.lang.String dataLevel,
                                            boolean format,
                                            boolean background)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

requestCurrencyDatabaseLink

public static java.lang.String requestCurrencyDatabaseLink(java.lang.Object obj)

requestDatabaseCopy

public static void requestDatabaseCopy(Database srcDb,
                                       Application destApp,
                                       java.lang.String destDb,
                                       DatabaseCopyFiles dcf)

requestDatabaseCopy

public static boolean requestDatabaseCopy(Database srcDb,
                                          Application destApp,
                                          java.lang.String destDb)

requestDatabaseCopy

public static boolean requestDatabaseCopy(Database srcDb,
                                          Application destApp,
                                          java.lang.String destDb,
                                          DatabaseCopyFiles dcf,
                                          boolean replace)

requestSetActive

public static boolean requestSetActive(java.lang.String serverName,
                                       java.lang.String appName,
                                       java.lang.String dbName)

requestDatabaseUsersGroups

public static java.util.List requestDatabaseUsersGroups(Database db)

requestAllEQDCopy

public static boolean requestAllEQDCopy(SrcDestAppDbInfo info)

requestCopyProperties

public static void requestCopyProperties(java.lang.String srcServer,
                                         java.lang.String srcApp,
                                         java.lang.String srcDb,
                                         java.lang.String newServer,
                                         java.lang.String newApp,
                                         java.lang.String newDb)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

requestCopyAllDbs

public static boolean requestCopyAllDbs(java.lang.String srcServer,
                                        java.lang.String srcApp,
                                        java.lang.String newServer,
                                        java.lang.String newApp,
                                        DatabaseCopyFiles files,
                                        boolean migrate,
                                        boolean replace)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

setDbCurrencyLink

public static void setDbCurrencyLink(java.lang.String srcServer,
                                     java.lang.String srcApp,
                                     java.lang.String newServer,
                                     java.lang.String newApp,
                                     java.util.List dbList)
                              throws java.lang.Exception
Throws:
java.lang.Exception

verifyIfDatabaseLocked

public static boolean verifyIfDatabaseLocked(Database db)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

requestDatabaseStatus

public static short requestDatabaseStatus(java.lang.String serverName,
                                          java.lang.String appName,
                                          java.lang.String dbName)

browseHub

public static void browseHub(Database db)

enableQueryTracking

public static boolean enableQueryTracking(Database db,
                                          boolean enable)

isQueryTrackingEnabled

public static boolean isQueryTrackingEnabled(Database database)

renameASOCalcScripts

public static void renameASOCalcScripts(java.lang.String oldDbName,
                                        Database database)

renameASOCalcScripts

public static void renameASOCalcScripts(java.lang.String oldApp,
                                        java.lang.String newApp,
                                        java.lang.String oldDbName,
                                        Database database)

getDefaultCalc

public static java.lang.String getDefaultCalc(Database database)

setDefaultCalcFile

public static boolean setDefaultCalcFile(Database database,
                                         java.lang.String calcScript)

setDefaultCalcString

public static boolean setDefaultCalcString(Database database,
                                           java.lang.String calcText)

getDatabaseNote

public static java.lang.String getDatabaseNote(Database database)

setNote

public static boolean setNote(Database database,
                              java.lang.String note)

setProperties

public static boolean setProperties(Database database,
                                    DatabaseProperties dbProps,
                                    boolean storageOnly)

getArchivedLocations

public static java.lang.String[] getArchivedLocations()

Skip navigation links


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