Skip navigation links


com.essbase.eas.essbase.server
Class DatabaseCommandListener

java.lang.Object
  extended by com.essbase.eas.framework.server.application.DefaultApplicationPart
      extended by com.essbase.eas.framework.server.application.AbstractCommandListener
          extended by com.essbase.eas.server.AppManCommandListener
              extended by com.essbase.eas.essbase.server.EssbaseCommandListener
                  extended by com.essbase.eas.essbase.server.DatabaseCommandListener

All Implemented Interfaces:
ApplicationPart, CommandListener

public class DatabaseCommandListener
extends EssbaseCommandListener
Since:
6.2.0
Version:
6.5.4
Author:
Hyperion Solutions

Field Summary

 

Fields inherited from class com.essbase.eas.essbase.server.EssbaseCommandListener
DEADEND, DEADEND_KEY, FAILED, FAILED_KEY, NOT_CONNECTED, NOT_CONNECTED_KEY, NOT_CONNECTING, NOT_CONNECTING_KEY, RELOGIN, RELOGIN_KEY, requestMap, TOKEN_TIMEOUT1_KEY, TOKEN_TIMEOUT2_KEY

 

Fields inherited from class com.essbase.eas.framework.server.application.AbstractCommandListener
aliasMap, methodMap, RESULT, THERESULT, UPLOAD

 

Fields inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart
CHAIN_SEPARATOR, manager, parts, serviceContext, serviceManager, state, STATE_BEFORE_WORKERS_ASSIGNED, STATE_CONSTRUCTED, STATE_DESTROYED, STATE_INITIALIZED, STATE_MANAGED, STATE_NULL, STATE_WORKERS_ASSIGNED, STATE_WORKERS_INITIALIZED, storeService

 

Constructor Summary
DatabaseCommandListener()
           

 

Method Summary
 boolean clearDatabase(CommandEvent theEvent)
           
 boolean clearNonInput(CommandEvent theEvent)
           
 boolean clearUpperLevel(CommandEvent theEvent)
           
 boolean copy(CommandEvent theEvent)
           
 boolean copyAllDbs(CommandEvent theEvent, ServiceContext theContext, java.lang.String srcServer, java.lang.String srcApp, java.lang.String destServer, java.lang.String destApp, java.lang.Boolean isMigration, java.lang.Boolean replace)
           
 boolean copyProperties(CommandEvent theEvent, ServiceContext theContext, java.lang.String srcServer, java.lang.String srcApp, java.lang.String srcDb, java.lang.String destServer, java.lang.String destApp, java.lang.String destDb)
           
 boolean create(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.Boolean isCurrency, java.lang.Boolean isUnique)
           
 boolean delete(CommandEvent theEvent)
           
 boolean deleteAllDbs(CommandEvent theEvent)
           
 boolean export(CommandEvent theEvent)
           
 void getArchiveDetails(CommandEvent theEvent, ServiceContext theContext)
           
 CommandDescriptor[] getCommands()
          The commands that are supported for this CommandListener are listed here.
 boolean getCurrencyDatabase(CommandEvent theEvent)
           
 boolean getDatabaseAlias(CommandEvent theEvent)
           
 boolean getDatabaseNote(CommandEvent theEvent)
           
 boolean getDataCalculationState(CommandEvent theEvent)
           
 boolean getDefaultCalc(CommandEvent theEvent)
           
 boolean getList(CommandEvent theEvent)
           
 java.util.List getList(StoreService store, ServiceContext theContext, java.lang.String serverName, java.lang.String appName)
           
 boolean getProperties(CommandEvent theEvent)
           
 boolean getStatus(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName)
           
 boolean getSystemDiskVolumes(CommandEvent theEvent)
           
 boolean getUsersGroups(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName)
          This method returns the list of users and groups collectively comprising of users and groups that have access to a particular application and database.
 boolean isDatabaseLocked(CommandEvent theEvent, ServiceContext theContext, java.lang.String server, java.lang.String app, java.lang.String db)
           
 boolean listDatabaseAliases(CommandEvent theEvent)
           
 boolean rename(CommandEvent theEvent)
           
 boolean setActive(CommandEvent theEvent)
           
 boolean setCurrencyLink(CommandEvent theEvent, ServiceContext theContext, java.lang.String srcServer, java.lang.String srcApp, java.lang.String destServer, java.lang.String destApp, java.lang.String dbListString)
          This function is used to set the currency link once the databases have been migrated.
 boolean setDatabaseAlias(CommandEvent theEvent)
           
 boolean setDatabaseNote(CommandEvent theEvent)
           
 boolean setDefaultCalc(CommandEvent theEvent)
           
 boolean setDefaultCalcFile(CommandEvent theEvent)
           
 boolean setProperties(CommandEvent theEvent)
           
 boolean start(CommandEvent theEvent)
           
 boolean startAllDbs(CommandEvent theEvent)
           
 boolean stop(CommandEvent theEvent)
           
 boolean stopAllDbs(CommandEvent theEvent)
           
 void storeArchiveDetails(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String archiveLocation)
           

 

Methods inherited from class com.essbase.eas.essbase.server.EssbaseCommandListener
getEssbaseSession, handleEventException, handleEventPost, handleEventPrep, set, setResult, validateSession

 

Methods inherited from class com.essbase.eas.server.AppManCommandListener
getSession, getSession, getSession, releaseSession

 

Methods inherited from class com.essbase.eas.framework.server.application.AbstractCommandListener
addMethodAlias, addMethodAlias, assignWorkers, buildMethodMap, convertStringValueToArgument, getArgumentsForCommand, getMethod, getMethodForAlias, getRoles, getSessionObject, handleEvent, init, isRequestFromSameServer, removeSessionObject, setServiceResult, setSessionObject

 

Methods inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart
destroy, getManager, getManagerChain, getServiceContext, getServiceManager, getStoreService, initWorkers, requestPart, requestPartPool, setManager

 

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

 

Methods inherited from interface com.essbase.eas.framework.server.defs.ApplicationPart
destroy, getManager, getServiceContext, getServiceManager, getStoreService, initWorkers, setManager

 

Constructor Detail

DatabaseCommandListener

public DatabaseCommandListener()

Method Detail

getList

public boolean getList(CommandEvent theEvent)
                throws java.lang.Exception
Throws:
java.lang.Exception

getList

public java.util.List getList(StoreService store,
                              ServiceContext theContext,
                              java.lang.String serverName,
                              java.lang.String appName)
                       throws java.lang.Exception
Throws:
java.lang.Exception

create

public boolean create(CommandEvent theEvent,
                      ServiceContext theContext,
                      java.lang.String serverName,
                      java.lang.String appName,
                      java.lang.String dbName,
                      java.lang.Boolean isCurrency,
                      java.lang.Boolean isUnique)
               throws java.lang.Exception
Throws:
java.lang.Exception

copy

public boolean copy(CommandEvent theEvent)
             throws java.lang.Exception
Throws:
java.lang.Exception

delete

public boolean delete(CommandEvent theEvent)
               throws java.lang.Exception
Throws:
java.lang.Exception

rename

public boolean rename(CommandEvent theEvent)
               throws java.lang.Exception
Throws:
java.lang.Exception

export

public boolean export(CommandEvent theEvent)
               throws java.lang.Exception
Throws:
java.lang.Exception

start

public boolean start(CommandEvent theEvent)
              throws java.lang.Exception
Throws:
java.lang.Exception

stop

public boolean stop(CommandEvent theEvent)
             throws java.lang.Exception
Throws:
java.lang.Exception

startAllDbs

public boolean startAllDbs(CommandEvent theEvent)
                    throws java.lang.Exception
Throws:
java.lang.Exception

stopAllDbs

public boolean stopAllDbs(CommandEvent theEvent)
                   throws java.lang.Exception
Throws:
java.lang.Exception

deleteAllDbs

public boolean deleteAllDbs(CommandEvent theEvent)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getSystemDiskVolumes

public boolean getSystemDiskVolumes(CommandEvent theEvent)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getDataCalculationState

public boolean getDataCalculationState(CommandEvent theEvent)
                                throws java.lang.Exception
Throws:
java.lang.Exception

getProperties

public boolean getProperties(CommandEvent theEvent)
                      throws java.lang.Exception
Throws:
java.lang.Exception

setProperties

public boolean setProperties(CommandEvent theEvent)
                      throws java.lang.Exception
Throws:
java.lang.Exception

setDefaultCalc

public boolean setDefaultCalc(CommandEvent theEvent)
                       throws java.lang.Exception
Throws:
java.lang.Exception

setDefaultCalcFile

public boolean setDefaultCalcFile(CommandEvent theEvent)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultCalc

public boolean getDefaultCalc(CommandEvent theEvent)
                       throws java.lang.Exception
Throws:
java.lang.Exception

setDatabaseNote

public boolean setDatabaseNote(CommandEvent theEvent)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getDatabaseNote

public boolean getDatabaseNote(CommandEvent theEvent)
                        throws java.lang.Exception
Throws:
java.lang.Exception

setDatabaseAlias

public boolean setDatabaseAlias(CommandEvent theEvent)
                         throws java.lang.Exception
Throws:
java.lang.Exception

listDatabaseAliases

public boolean listDatabaseAliases(CommandEvent theEvent)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getDatabaseAlias

public boolean getDatabaseAlias(CommandEvent theEvent)
                         throws java.lang.Exception
Throws:
java.lang.Exception

clearDatabase

public boolean clearDatabase(CommandEvent theEvent)
                      throws java.lang.Exception
Throws:
java.lang.Exception

clearUpperLevel

public boolean clearUpperLevel(CommandEvent theEvent)
                        throws java.lang.Exception
Throws:
java.lang.Exception

clearNonInput

public boolean clearNonInput(CommandEvent theEvent)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getCurrencyDatabase

public boolean getCurrencyDatabase(CommandEvent theEvent)
                            throws java.lang.Exception
Throws:
java.lang.Exception

setActive

public boolean setActive(CommandEvent theEvent)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getUsersGroups

public boolean getUsersGroups(CommandEvent theEvent,
                              ServiceContext theContext,
                              java.lang.String serverName,
                              java.lang.String appName,
                              java.lang.String dbName)
                       throws java.lang.Exception
This method returns the list of users and groups collectively comprising of users and groups that have access to a particular application and database.
Throws:
java.lang.Exception

copyProperties

public boolean copyProperties(CommandEvent theEvent,
                              ServiceContext theContext,
                              java.lang.String srcServer,
                              java.lang.String srcApp,
                              java.lang.String srcDb,
                              java.lang.String destServer,
                              java.lang.String destApp,
                              java.lang.String destDb)
                       throws java.lang.Exception
Throws:
java.lang.Exception

copyAllDbs

public boolean copyAllDbs(CommandEvent theEvent,
                          ServiceContext theContext,
                          java.lang.String srcServer,
                          java.lang.String srcApp,
                          java.lang.String destServer,
                          java.lang.String destApp,
                          java.lang.Boolean isMigration,
                          java.lang.Boolean replace)
                   throws java.lang.Exception
Throws:
java.lang.Exception

setCurrencyLink

public boolean setCurrencyLink(CommandEvent theEvent,
                               ServiceContext theContext,
                               java.lang.String srcServer,
                               java.lang.String srcApp,
                               java.lang.String destServer,
                               java.lang.String destApp,
                               java.lang.String dbListString)
                        throws java.lang.Exception
This function is used to set the currency link once the databases have been migrated. Will be used in context of application migration only, where the databases created on the target have to be the same name as that existed on the source.
Throws:
java.lang.Exception

isDatabaseLocked

public boolean isDatabaseLocked(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.String server,
                                java.lang.String app,
                                java.lang.String db)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getStatus

public boolean getStatus(CommandEvent theEvent,
                         ServiceContext theContext,
                         java.lang.String serverName,
                         java.lang.String appName,
                         java.lang.String dbName)
                  throws java.lang.Exception
Throws:
java.lang.Exception

storeArchiveDetails

public void storeArchiveDetails(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.String serverName,
                                java.lang.String appName,
                                java.lang.String dbName,
                                java.lang.String archiveLocation)

getArchiveDetails

public void getArchiveDetails(CommandEvent theEvent,
                              ServiceContext theContext)

getCommands

public CommandDescriptor[] getCommands()
The commands that are supported for this CommandListener are listed here.
Specified by:
getCommands in interface CommandListener
Overrides:
getCommands in class AbstractCommandListener
Returns:
a zero-length array of CommandDescriptor objects.

Skip navigation links


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