Skip navigation links


com.essbase.eas.essbase.server
Class NamedObjectCommandListener

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.NamedObjectCommandListener

All Implemented Interfaces:
ApplicationPart, CommandListener

public class NamedObjectCommandListener
extends EssbaseCommandListener
Since:
6.5.1
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
NamedObjectCommandListener()
           

 

Method Summary
 boolean copyAllObjects(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String destServerName, java.lang.String destAppName, java.lang.String destDbName, java.lang.String objTypeI)
           
 boolean copyAllObjects(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String destServerName, java.lang.String destAppName, java.lang.String destDbName, java.lang.String objTypeI, java.lang.Boolean bReplace)
          This method is used to copy Essbase Objects between databases, that can be on the same server or different servers.
 boolean copyObject(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String objName, java.lang.String destServerName, java.lang.String destAppName, java.lang.String destDbName, java.lang.String destObjName, java.lang.String objTypeI)
           
 boolean copyObject(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String objName, java.lang.String destServerName, java.lang.String destAppName, java.lang.String destDbName, java.lang.String destObjName, java.lang.String objTypeI, java.lang.Boolean bReplace)
          This method is used to copy Essbase Objects between databases, that can be on the same server or different servers.
 boolean delete(CommandEvent theEvent)
          Command for deleting a named (file) object.
 CommandDescriptor[] getCommands()
          The commands that are supported for this CommandListener are listed here.
 boolean getList(CommandEvent theEvent)
           
 boolean getObject(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String objectName, java.lang.String objType)
           
 boolean getObjects(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String objType)
           
 boolean putObject(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String objType, java.lang.String objName, java.lang.String localName, java.lang.Boolean lock, java.lang.Boolean replace, java.lang.Boolean isLocal)
           
 boolean removeLocks(CommandEvent theEvent)
           

 

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

NamedObjectCommandListener

public NamedObjectCommandListener()

Method Detail

removeLocks

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

delete

public boolean delete(CommandEvent theEvent)
               throws java.lang.Exception
Command for deleting a named (file) object. If the UNLOCK parameter is specified with a value of "true", then this function attempts to unlock the named object before deleting it.
Throws:
java.lang.Exception

getList

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

getObject

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

getObjects

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

copyAllObjects

public boolean copyAllObjects(CommandEvent theEvent,
                              ServiceContext theContext,
                              java.lang.String serverName,
                              java.lang.String appName,
                              java.lang.String dbName,
                              java.lang.String destServerName,
                              java.lang.String destAppName,
                              java.lang.String destDbName,
                              java.lang.String objTypeI)
                       throws java.lang.Exception
Throws:
java.lang.Exception

copyAllObjects

public boolean copyAllObjects(CommandEvent theEvent,
                              ServiceContext theContext,
                              java.lang.String serverName,
                              java.lang.String appName,
                              java.lang.String dbName,
                              java.lang.String destServerName,
                              java.lang.String destAppName,
                              java.lang.String destDbName,
                              java.lang.String objTypeI,
                              java.lang.Boolean bReplace)
                       throws java.lang.Exception
This method is used to copy Essbase Objects between databases, that can be on the same server or different servers. This shall copy all the Essbase Objects of type defined in class EssbaseObjectsConstants. The database on the target server is assumed to exist, otherwise an error will be returned.
Throws:
java.lang.Exception

copyObject

public boolean copyObject(CommandEvent theEvent,
                          ServiceContext theContext,
                          java.lang.String serverName,
                          java.lang.String appName,
                          java.lang.String dbName,
                          java.lang.String objName,
                          java.lang.String destServerName,
                          java.lang.String destAppName,
                          java.lang.String destDbName,
                          java.lang.String destObjName,
                          java.lang.String objTypeI)
                   throws java.lang.Exception
Throws:
java.lang.Exception

copyObject

public boolean copyObject(CommandEvent theEvent,
                          ServiceContext theContext,
                          java.lang.String serverName,
                          java.lang.String appName,
                          java.lang.String dbName,
                          java.lang.String objName,
                          java.lang.String destServerName,
                          java.lang.String destAppName,
                          java.lang.String destDbName,
                          java.lang.String destObjName,
                          java.lang.String objTypeI,
                          java.lang.Boolean bReplace)
                   throws java.lang.Exception
This method is used to copy Essbase Objects between databases, that can be on the same server or different servers. The database on the target server is assumed to exist, otherwise an error will be returned.
Throws:
java.lang.Exception

putObject

public boolean putObject(CommandEvent theEvent,
                         ServiceContext theContext,
                         java.lang.String serverName,
                         java.lang.String appName,
                         java.lang.String dbName,
                         java.lang.String objType,
                         java.lang.String objName,
                         java.lang.String localName,
                         java.lang.Boolean lock,
                         java.lang.Boolean replace,
                         java.lang.Boolean isLocal)

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.