Skip navigation links


com.essbase.eas.essbase.server
Class RulesObjectCommandListener

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

All Implemented Interfaces:
ApplicationPart, CommandListener

public class RulesObjectCommandListener
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
RulesObjectCommandListener()
           

 

Method Summary
 boolean applyDelimiter(CommandEvent theEvent)
           
 boolean applyFieldAttributes(CommandEvent theEvent)
           
 boolean applyRules(CommandEvent theEvent)
           
 boolean cleanupSession(CommandEvent theEvent, ServiceContext theContext, java.lang.Long contextHandle, java.lang.String dataFileName)
           
 boolean copy(CommandEvent theEvent)
           
 boolean createFieldsFromRecords(CommandEvent theEvent)
           
 boolean freeLocalContext(CommandEvent theEvent, ServiceContext theContext, java.lang.Long localContextHandle)
           
 boolean freeRulesFileContext(CommandEvent theEvent, ServiceContext theContext, long contextHandle)
           
 CommandDescriptor[] getCommands()
          Implementation of the CommandListener.getCommands() method.
 boolean getDSNList(CommandEvent theEvent)
           
 boolean getEncodingInfo(CommandEvent theEvent, ServiceContext theContext, java.lang.Long handle)
           
 boolean getList(CommandEvent theEvent)
           
 boolean lock(CommandEvent theEvent)
          command event handler for locking a RulesObject object.
 boolean parseDBHeader(CommandEvent theEvent)
           
 boolean readDataFile(CommandEvent theEvent)
           
 boolean readDBHeaderRecord(CommandEvent theEvent)
           
 boolean readDLHeaderRecord(CommandEvent theEvent)
           
 boolean readHeaderRecord(CommandEvent theEvent)
           
 boolean readRulesObject(CommandEvent theEvent)
          command event handler for locking a RulesObject object.
 boolean readSQLRecords(CommandEvent theEvent)
           
 boolean rename(CommandEvent theEvent)
           
 boolean saveRulesObject(CommandEvent theEvent)
          command event handler for locking a RulesObject object.
 boolean unlock(CommandEvent theEvent)
          command event handler for locking a RulesObject object.
 boolean verify(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

RulesObjectCommandListener

public RulesObjectCommandListener()

Method Detail

getList

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

copy

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

rename

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

lock

public boolean lock(CommandEvent theEvent)
             throws java.lang.Exception
command event handler for locking a RulesObject object.
Throws:
java.lang.Exception

unlock

public boolean unlock(CommandEvent theEvent)
               throws java.lang.Exception
command event handler for locking a RulesObject object.
Throws:
java.lang.Exception

readRulesObject

public boolean readRulesObject(CommandEvent theEvent)
                        throws java.lang.Exception
command event handler for locking a RulesObject object.
Throws:
java.lang.Exception

readDataFile

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

readHeaderRecord

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

readDLHeaderRecord

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

readDBHeaderRecord

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

applyDelimiter

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

applyRules

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

applyFieldAttributes

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

createFieldsFromRecords

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

parseDBHeader

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

verify

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

saveRulesObject

public boolean saveRulesObject(CommandEvent theEvent)
                        throws java.lang.Exception
command event handler for locking a RulesObject object.
Throws:
java.lang.Exception

getDSNList

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

readSQLRecords

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

freeRulesFileContext

public boolean freeRulesFileContext(CommandEvent theEvent,
                                    ServiceContext theContext,
                                    long contextHandle)

freeLocalContext

public boolean freeLocalContext(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.Long localContextHandle)

cleanupSession

public boolean cleanupSession(CommandEvent theEvent,
                              ServiceContext theContext,
                              java.lang.Long contextHandle,
                              java.lang.String dataFileName)

getEncodingInfo

public boolean getEncodingInfo(CommandEvent theEvent,
                               ServiceContext theContext,
                               java.lang.Long handle)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getCommands

public CommandDescriptor[] getCommands()
Description copied from class: AbstractCommandListener
Implementation of the CommandListener.getCommands() method. This is an empty implementation and should be overridden by any derived classes that use the new introspection method of discovering commands.
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.