Skip navigation links


com.essbase.eas.framework.server.application
Class DefaultMetaCommandParser

java.lang.Object
  extended by com.essbase.eas.framework.server.application.DefaultMetaCommandParser

All Implemented Interfaces:
MetaCommandParser

public class DefaultMetaCommandParser
extends java.lang.Object
implements MetaCommandParser

Provides a default implementation of the CommandFactory interface.

Since:
6.5.3
Version:
6.5.3
Author:
Hank Cox, Painted Word

Field Summary
protected static java.lang.String APP_PARTS
           
protected static java.util.ResourceBundle b
           
protected static java.lang.String COMMAND
           
protected static java.lang.String COMMAND_ARRAY
           
protected static java.lang.String INPUT
           
protected static java.lang.String INPUT_ARRAY
           
protected static java.lang.String INPUT_URI_ARRAY
           
protected static java.lang.String MULTIPLICITY
           
protected static java.lang.String NO_STORE
           
protected static java.lang.String ONLY_STORE_URI
           
protected static java.lang.String OUTPUT
           
protected static java.lang.String OUTPUT_ARRAY
           
protected static java.lang.String OUTPUT_URI
           
protected static java.lang.String URI_CONST
           
protected static java.lang.String URI_REQUEST
           
protected static java.lang.String URI_STORE
           

 

Constructor Summary
DefaultMetaCommandParser()
          Constructs a DefaultMetaCommandParser object.

 

Method Summary
protected  void buildCommandDescriptors(ServiceContext context, StoreService store, java.util.HashMap commandMap)
          Adds commands built in the "new" style to the command map.
 java.util.HashMap buildMetaCommands(ServiceContext context)
          Implementation of the MetaCommandParser.buildMetaCommands() method.
 java.util.HashMap getInputParameters(ServiceContext context, StoreService store, MetaCommand metaCommand, java.util.HashMap parameters)
          Implementation of the MetaCommandParser.getInputParameters() method.
protected  java.lang.Object getInputVal(java.lang.String name, int multiplicityLevel, java.lang.String uri, java.util.HashMap parms, StoreService store, ServiceContext context)
           
 void setOutputParameters(ServiceContext context, StoreService store, MetaCommand metaCommand, java.util.HashMap values)
          Implementation of the MetaCommandParser.setOutputParameters() method.
protected  void setOutputVal(java.lang.String name, int multiplicityLevel, java.lang.String uri, java.util.HashMap values, StoreService store, ServiceContext context)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

b

protected static final java.util.ResourceBundle b

APP_PARTS

protected static final java.lang.String APP_PARTS

COMMAND

protected static final java.lang.String COMMAND

COMMAND_ARRAY

protected static final java.lang.String COMMAND_ARRAY

INPUT

protected static final java.lang.String INPUT

INPUT_ARRAY

protected static final java.lang.String INPUT_ARRAY

INPUT_URI_ARRAY

protected static final java.lang.String INPUT_URI_ARRAY

MULTIPLICITY

protected static final java.lang.String MULTIPLICITY

OUTPUT

protected static final java.lang.String OUTPUT

OUTPUT_ARRAY

protected static final java.lang.String OUTPUT_ARRAY

OUTPUT_URI

protected static final java.lang.String OUTPUT_URI

URI_CONST

protected static final java.lang.String URI_CONST

URI_REQUEST

protected static final java.lang.String URI_REQUEST

URI_STORE

protected static final java.lang.String URI_STORE

NO_STORE

protected static final java.lang.String NO_STORE

ONLY_STORE_URI

protected static final java.lang.String ONLY_STORE_URI

Constructor Detail

DefaultMetaCommandParser

public DefaultMetaCommandParser()
Constructs a DefaultMetaCommandParser object.

Method Detail

buildCommandDescriptors

protected void buildCommandDescriptors(ServiceContext context,
                                       StoreService store,
                                       java.util.HashMap commandMap)
Adds commands built in the "new" style to the command map.
Parameters:
context -
store -
commandMap -

buildMetaCommands

public java.util.HashMap buildMetaCommands(ServiceContext context)
                                    throws ApplicationException
Implementation of the MetaCommandParser.buildMetaCommands() method.
Specified by:
buildMetaCommands in interface MetaCommandParser
Parameters:
context -
Returns:
a HashMap object containing all of the command definitions.
Throws:
ApplicationException

getInputParameters

public java.util.HashMap getInputParameters(ServiceContext context,
                                            StoreService store,
                                            MetaCommand metaCommand,
                                            java.util.HashMap parameters)
                                     throws ApplicationException
Implementation of the MetaCommandParser.getInputParameters() method.
Specified by:
getInputParameters in interface MetaCommandParser
Parameters:
context -
store -
metaCommand -
parameters -
Returns:
Throws:
ApplicationException

getInputVal

protected java.lang.Object getInputVal(java.lang.String name,
                                       int multiplicityLevel,
                                       java.lang.String uri,
                                       java.util.HashMap parms,
                                       StoreService store,
                                       ServiceContext context)

setOutputParameters

public void setOutputParameters(ServiceContext context,
                                StoreService store,
                                MetaCommand metaCommand,
                                java.util.HashMap values)
                         throws ApplicationException
Implementation of the MetaCommandParser.setOutputParameters() method.
Specified by:
setOutputParameters in interface MetaCommandParser
Parameters:
context -
store -
metaCommand -
values -
Throws:
ApplicationException

setOutputVal

protected void setOutputVal(java.lang.String name,
                            int multiplicityLevel,
                            java.lang.String uri,
                            java.util.HashMap values,
                            StoreService store,
                            ServiceContext context)
                     throws ServiceException
Throws:
ServiceException

Skip navigation links


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