Skip navigation links


com.essbase.eas.essbase.server
Class CASCommandListener

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

All Implemented Interfaces:
CASConstants, ApplicationPart, CommandListener

public class CASCommandListener
extends EssbaseCommandListener
implements CASConstants
Author:
phani CommandListener for CAS events.

Field Summary
static int ACTION_GET_USER_ACCESS
           
static int ACTION_GET_USER_TYPE_PAGE
           
static int ACTION_GET_USERS_LIST
           
static int ACTION_LOADING_PAGE
           
static int ACTION_REFRESH_USER_LIST
           
static int ACTION_SAVE_USER_ACCESS
           
static int ACTION_SAVE_USER_TYPE
           
static int ACTION_SEARCH_USER_LIST
           

 

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

 

Fields inherited from interface com.essbase.eas.essbase.server.CASConstants
ACTION_PARAM, APP_CONTEXT_ID_PARAM, APP_CONTEXT_URI_PARAM, APP_INSTANCE_ID_PARAM, APP_NAME_PARAM, APPLICATION_ID, DB_NAME_PARAM, ESSBASE_SERVER_PARAM, GLOBAL_APP, GROUP_LIST_PARAM, HUB_URL, LOGIN_USER, OP_PARAM, REQUEST_LOCALE_PARAM, SAVE_USR_GRP_LIST_PARAM, SEARCH_PARAM, SELECTED_GROUP_LIST_PARAM, SELECTED_USER_LIST_PARAM, SESSION_ID, SHOW_USR_GRP_FLAG_PARAM, SSO_TOKEN_PARAM, USER_LIST_PARAM

 

Constructor Summary
CASCommandListener()
           

 

Method Summary
 boolean callBack(CommandEvent theEvent, ServiceContext theContext, java.lang.Integer action, java.lang.String servername, java.lang.String token, java.lang.String appname, java.lang.String appInstanceId, java.lang.String appContextId, java.lang.String locale)
           
 CommandDescriptor[] getCommands()
          Implementation of the CommandListener.getCommands() method.
 boolean saveUserAccess(ServiceContext theContext, java.util.HashMap commonAttr, boolean write)
           
 boolean saveUserType(ServiceContext theContext, java.util.HashMap commonAttr, boolean write)
           

 

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

ACTION_LOADING_PAGE

public static final int ACTION_LOADING_PAGE
See Also:
Constant Field Values

ACTION_GET_USERS_LIST

public static final int ACTION_GET_USERS_LIST
See Also:
Constant Field Values

ACTION_GET_USER_ACCESS

public static final int ACTION_GET_USER_ACCESS
See Also:
Constant Field Values

ACTION_SAVE_USER_ACCESS

public static final int ACTION_SAVE_USER_ACCESS
See Also:
Constant Field Values

ACTION_GET_USER_TYPE_PAGE

public static final int ACTION_GET_USER_TYPE_PAGE
See Also:
Constant Field Values

ACTION_SAVE_USER_TYPE

public static final int ACTION_SAVE_USER_TYPE
See Also:
Constant Field Values

ACTION_REFRESH_USER_LIST

public static final int ACTION_REFRESH_USER_LIST
See Also:
Constant Field Values

ACTION_SEARCH_USER_LIST

public static final int ACTION_SEARCH_USER_LIST
See Also:
Constant Field Values

Constructor Detail

CASCommandListener

public CASCommandListener()

Method Detail

callBack

public boolean callBack(CommandEvent theEvent,
                        ServiceContext theContext,
                        java.lang.Integer action,
                        java.lang.String servername,
                        java.lang.String token,
                        java.lang.String appname,
                        java.lang.String appInstanceId,
                        java.lang.String appContextId,
                        java.lang.String locale)

saveUserAccess

public boolean saveUserAccess(ServiceContext theContext,
                              java.util.HashMap commonAttr,
                              boolean write)

saveUserType

public boolean saveUserType(ServiceContext theContext,
                            java.util.HashMap commonAttr,
                            boolean write)

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.