Skip navigation links


com.essbase.eas.essbase.server
Class EssbaseFileObjectCommandListener

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

All Implemented Interfaces:
ApplicationPart, CommandListener

public class EssbaseFileObjectCommandListener
extends EssbaseCommandListener
Since:
6.2.0
Version:
6.5.4
Author:
Sree Menon

Field Summary
static CommandDescriptor DELETE_EAS_FILE
           
static CommandDescriptor GET_EAS_FILES
           
static CommandDescriptor READ_EAS_FILE
           
static CommandDescriptor SAVE_EAS_FILE
           

 

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
EssbaseFileObjectCommandListener()
           

 

Method Summary
 boolean deleteEASFile(CommandEvent theEvent, ServiceContext theContext, java.lang.String name, java.lang.String type, java.lang.String shared, java.lang.String user)
           
 CommandDescriptor[] getCommands()
          Implementation of the CommandListener.getCommands() method.
 boolean getEASFiles(CommandEvent theEvent, ServiceContext theContext, java.lang.String shared, java.lang.String type)
           
static java.lang.String getPath(java.lang.String username, boolean isPublic, java.lang.String type)
           
 boolean readEASFile(CommandEvent theEvent, ServiceContext theContext, java.lang.String name, java.lang.String type, java.lang.String shared, java.lang.String user)
           
 boolean saveEASFile(CommandEvent theEvent, ServiceContext theContext, java.lang.String name, java.lang.String type, java.lang.String shared, java.lang.String user)
           

 

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

 

Field Detail

GET_EAS_FILES

public static final CommandDescriptor GET_EAS_FILES

SAVE_EAS_FILE

public static final CommandDescriptor SAVE_EAS_FILE

READ_EAS_FILE

public static final CommandDescriptor READ_EAS_FILE

DELETE_EAS_FILE

public static final CommandDescriptor DELETE_EAS_FILE

Constructor Detail

EssbaseFileObjectCommandListener

public EssbaseFileObjectCommandListener()

Method Detail

getEASFiles

public boolean getEASFiles(CommandEvent theEvent,
                           ServiceContext theContext,
                           java.lang.String shared,
                           java.lang.String type)
                    throws java.lang.Exception
Throws:
java.lang.Exception

saveEASFile

public boolean saveEASFile(CommandEvent theEvent,
                           ServiceContext theContext,
                           java.lang.String name,
                           java.lang.String type,
                           java.lang.String shared,
                           java.lang.String user)
                    throws java.lang.Exception
Throws:
java.lang.Exception

readEASFile

public boolean readEASFile(CommandEvent theEvent,
                           ServiceContext theContext,
                           java.lang.String name,
                           java.lang.String type,
                           java.lang.String shared,
                           java.lang.String user)
                    throws java.lang.Exception
Throws:
java.lang.Exception

deleteEASFile

public boolean deleteEASFile(CommandEvent theEvent,
                             ServiceContext theContext,
                             java.lang.String name,
                             java.lang.String type,
                             java.lang.String shared,
                             java.lang.String user)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getPath

public static java.lang.String getPath(java.lang.String username,
                                       boolean isPublic,
                                       java.lang.String type)

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.