Skip navigation links


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

java.lang.Object
  extended by com.essbase.eas.framework.server.defs.AbstractService
      extended by com.essbase.eas.framework.server.application.DefaultStoreService

All Implemented Interfaces:
FrameworkService, StoreService

public class DefaultStoreService
extends AbstractService
implements StoreService

Default implementation of a storage service provider.

Since:
6.5.2
Version:
6.5.2, 10/01/02
Author:
Hank Cox, Painted Word

Field Summary
protected  java.util.HashMap scopeMap
           
protected  StoreAdmin storeAdmin
           

 

Fields inherited from interface com.essbase.eas.framework.server.defs.StoreService
SERVICE_NAME

 

Constructor Summary
DefaultStoreService()
          Constructs a DefaultStoreService object.

 

Method Summary
 boolean add(ServiceContext context, ScopeType type, java.lang.Object list, java.lang.Object value)
           
 java.lang.Object add(ServiceRequest request, ServiceContext context)
           
 StoreToken findStoreToken(ServiceContext context)
           
 java.lang.Object get(ServiceContext context, ScopeType type, java.lang.Object key)
           
 java.lang.Object get(ServiceRequest request, ServiceContext context)
           
 StoreAdmin getAdmin()
           
 java.lang.Object[] getAll(ServiceContext context, ScopeType type)
           
 java.lang.Object[] getAsArray(ServiceContext context, ScopeType type, java.lang.Object key)
           
 java.lang.Object[] getAsArray(ServiceRequest request, ServiceContext context)
           
 java.lang.String getServiceName()
          returns a name for the service being provided by the implementor.
protected  ScopeType lookupCreateScope(java.lang.String key)
           
protected  ScopeType lookupScope(java.lang.String key)
           
 java.lang.Object remove(ServiceContext context, ScopeType type, java.lang.Object key)
           
 java.lang.Object remove(ServiceRequest request, ServiceContext context)
           
 boolean set(ServiceContext context, ScopeType type, java.lang.Object key, java.lang.Object value)
           
 java.lang.Object set(ServiceRequest request, ServiceContext context)
           
 java.lang.Object set(ServiceRequest request, ServiceContext context, java.lang.Object value)
           

 

Methods inherited from class com.essbase.eas.framework.server.defs.AbstractService
buildMethodMap, getMethod, handleRequest, handleRequest

 

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.FrameworkService
handleRequest, handleRequest

 

Field Detail

storeAdmin

protected StoreAdmin storeAdmin

scopeMap

protected java.util.HashMap scopeMap

Constructor Detail

DefaultStoreService

public DefaultStoreService()
Constructs a DefaultStoreService object.

Method Detail

getServiceName

public java.lang.String getServiceName()
Description copied from interface: FrameworkService
returns a name for the service being provided by the implementor.
Specified by:
getServiceName in interface FrameworkService
Returns:
the string containining a name for the service being provided.

getAdmin

public StoreAdmin getAdmin()
Specified by:
getAdmin in interface StoreService

set

public boolean set(ServiceContext context,
                   ScopeType type,
                   java.lang.Object key,
                   java.lang.Object value)
Specified by:
set in interface StoreService

get

public java.lang.Object get(ServiceContext context,
                            ScopeType type,
                            java.lang.Object key)
Specified by:
get in interface StoreService

getAll

public java.lang.Object[] getAll(ServiceContext context,
                                 ScopeType type)
Specified by:
getAll in interface StoreService

getAsArray

public java.lang.Object[] getAsArray(ServiceContext context,
                                     ScopeType type,
                                     java.lang.Object key)
Specified by:
getAsArray in interface StoreService

remove

public java.lang.Object remove(ServiceContext context,
                               ScopeType type,
                               java.lang.Object key)
Specified by:
remove in interface StoreService

add

public boolean add(ServiceContext context,
                   ScopeType type,
                   java.lang.Object list,
                   java.lang.Object value)
Specified by:
add in interface StoreService

set

public java.lang.Object set(ServiceRequest request,
                            ServiceContext context)
                     throws ServiceException
Specified by:
set in interface StoreService
Throws:
ServiceException

set

public java.lang.Object set(ServiceRequest request,
                            ServiceContext context,
                            java.lang.Object value)
                     throws ServiceException
Specified by:
set in interface StoreService
Throws:
ServiceException

get

public java.lang.Object get(ServiceRequest request,
                            ServiceContext context)
                     throws ServiceException
Specified by:
get in interface StoreService
Throws:
ServiceException

getAsArray

public java.lang.Object[] getAsArray(ServiceRequest request,
                                     ServiceContext context)
                              throws ServiceException
Specified by:
getAsArray in interface StoreService
Throws:
ServiceException

remove

public java.lang.Object remove(ServiceRequest request,
                               ServiceContext context)
                        throws ServiceException
Specified by:
remove in interface StoreService
Throws:
ServiceException

add

public java.lang.Object add(ServiceRequest request,
                            ServiceContext context)
                     throws ServiceException
Specified by:
add in interface StoreService
Throws:
ServiceException

findStoreToken

public StoreToken findStoreToken(ServiceContext context)
Specified by:
findStoreToken in interface StoreService

lookupScope

protected ScopeType lookupScope(java.lang.String key)

lookupCreateScope

protected ScopeType lookupCreateScope(java.lang.String key)

Skip navigation links


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