Skip navigation links


com.essbase.eas.server
Class InteropCommandListener

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.server.InteropCommandListener

All Implemented Interfaces:
ApplicationPart, CommandListener

public class InteropCommandListener
extends AppManCommandListener

Field Summary
static java.lang.String DIMENSION_EXTENSION
           

 

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

 

Method Summary
 boolean callBack(CommandEvent theEvent, ServiceContext theContext, java.lang.String action, java.lang.String user, java.lang.String password, java.lang.String option)
           
 boolean enterHub(CommandEvent theEvent, ServiceContext theContext, java.lang.String user, java.lang.String password, java.lang.String option, java.lang.String project, java.lang.String sessionID, java.lang.String language)
           
 boolean getCASUrl(CommandEvent theEvent, ServiceContext theContext)
           
 CommandDescriptor[] getCommands()
          Implementation of the CommandListener.getCommands() method.
 boolean getHubProperties(CommandEvent theEvent, ServiceContext theContext)
           
static java.lang.Class getLogic(java.lang.String type)
           
 boolean getModel(CommandEvent theEvent, ServiceContext theContext, java.lang.String product, java.lang.String productVersion, java.lang.String project, java.lang.String type, java.lang.String modelName, java.lang.String modelVersion)
           
 boolean getProjects(CommandEvent theEvent, ServiceContext theContext, java.lang.String user, java.lang.String password, java.lang.String option)
           
static java.lang.String getProjectURL(java.lang.String url, java.lang.String callBack, java.lang.String product, java.lang.String project, java.lang.String user, java.lang.String password, java.lang.String sessionID, java.lang.String language)
           
 boolean handleCompare(CommandEvent theEvent, ServiceContext theContext, java.lang.String user, java.lang.String password, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String option)
           
 boolean handleDirectory(CommandEvent theEvent, ServiceContext theContext, java.lang.String sProjectName, java.lang.String action, java.lang.String user, java.lang.String password, java.lang.String path, java.lang.String sServerName, int nPort, java.lang.String option)
           
 boolean handleEventPrep(CommandEvent command)
          implementation of the CommandListener.handleEventPrep() method.
 boolean handleImport(CommandEvent theEvent, ServiceContext theContext, java.lang.String user, java.lang.String password, javax.servlet.http.HttpServletRequest request, java.lang.String modelName)
           
 boolean isCASEnabled(CommandEvent theEvent, ServiceContext theContext)
           
 boolean publishModel(CommandEvent theEvent, ServiceContext theContext, java.lang.Object model, java.lang.String product, java.lang.String version, java.lang.String project, java.lang.String type, java.lang.String modelName, java.lang.String comment)
           
static void registerLogic(java.lang.String type, java.lang.Class logic)
           
 boolean updateModel(CommandEvent theEvent, ServiceContext theContext, java.lang.String product, java.lang.String version, java.lang.String project, java.lang.String type, java.lang.String modelName, java.lang.String modelVersion, java.lang.Object model)
           

 

Methods inherited from class com.essbase.eas.server.AppManCommandListener
getSession, getSession, getSession, handleEventException, handleEventPost, 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

DIMENSION_EXTENSION

public static final java.lang.String DIMENSION_EXTENSION
See Also:
Constant Field Values

Constructor Detail

InteropCommandListener

public InteropCommandListener()

Method Detail

registerLogic

public static void registerLogic(java.lang.String type,
                                 java.lang.Class logic)

getLogic

public static java.lang.Class getLogic(java.lang.String type)

handleEventPrep

public boolean handleEventPrep(CommandEvent command)
                        throws ApplicationException
Description copied from class: AbstractCommandListener
implementation of the CommandListener.handleEventPrep() method. Inheriting classes should override this method if they need to perform any special processing before the method invocation occurs.
Specified by:
handleEventPrep in interface CommandListener
Overrides:
handleEventPrep in class AppManCommandListener
Parameters:
command - the command event that we are processing.
Returns:
true if Ok to continue, false otherwise
Throws:
ApplicationException

getHubProperties

public boolean getHubProperties(CommandEvent theEvent,
                                ServiceContext theContext)

getProjects

public boolean getProjects(CommandEvent theEvent,
                           ServiceContext theContext,
                           java.lang.String user,
                           java.lang.String password,
                           java.lang.String option)

getProjectURL

public static java.lang.String getProjectURL(java.lang.String url,
                                             java.lang.String callBack,
                                             java.lang.String product,
                                             java.lang.String project,
                                             java.lang.String user,
                                             java.lang.String password,
                                             java.lang.String sessionID,
                                             java.lang.String language)

enterHub

public boolean enterHub(CommandEvent theEvent,
                        ServiceContext theContext,
                        java.lang.String user,
                        java.lang.String password,
                        java.lang.String option,
                        java.lang.String project,
                        java.lang.String sessionID,
                        java.lang.String language)

callBack

public boolean callBack(CommandEvent theEvent,
                        ServiceContext theContext,
                        java.lang.String action,
                        java.lang.String user,
                        java.lang.String password,
                        java.lang.String option)

handleDirectory

public boolean handleDirectory(CommandEvent theEvent,
                               ServiceContext theContext,
                               java.lang.String sProjectName,
                               java.lang.String action,
                               java.lang.String user,
                               java.lang.String password,
                               java.lang.String path,
                               java.lang.String sServerName,
                               int nPort,
                               java.lang.String option)

handleImport

public boolean handleImport(CommandEvent theEvent,
                            ServiceContext theContext,
                            java.lang.String user,
                            java.lang.String password,
                            javax.servlet.http.HttpServletRequest request,
                            java.lang.String modelName)

publishModel

public boolean publishModel(CommandEvent theEvent,
                            ServiceContext theContext,
                            java.lang.Object model,
                            java.lang.String product,
                            java.lang.String version,
                            java.lang.String project,
                            java.lang.String type,
                            java.lang.String modelName,
                            java.lang.String comment)

updateModel

public boolean updateModel(CommandEvent theEvent,
                           ServiceContext theContext,
                           java.lang.String product,
                           java.lang.String version,
                           java.lang.String project,
                           java.lang.String type,
                           java.lang.String modelName,
                           java.lang.String modelVersion,
                           java.lang.Object model)

getModel

public boolean getModel(CommandEvent theEvent,
                        ServiceContext theContext,
                        java.lang.String product,
                        java.lang.String productVersion,
                        java.lang.String project,
                        java.lang.String type,
                        java.lang.String modelName,
                        java.lang.String modelVersion)

handleCompare

public boolean handleCompare(CommandEvent theEvent,
                             ServiceContext theContext,
                             java.lang.String user,
                             java.lang.String password,
                             javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse res,
                             java.lang.String option)

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.

isCASEnabled

public boolean isCASEnabled(CommandEvent theEvent,
                            ServiceContext theContext)

getCASUrl

public boolean getCASUrl(CommandEvent theEvent,
                         ServiceContext theContext)

Skip navigation links


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