Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

oracle.ocsg.oauth2.store
Class StoreHelper

java.lang.Object
  extended byoracle.ocsg.oauth2.store.StoreHelper
Direct Known Subclasses:
AccessTokenStoreHelper

public abstract class StoreHelper
extends java.lang.Object


Constructor Summary
StoreHelper()
           
 
Method Summary
 boolean containsKey(java.io.Serializable k)
           
abstract  Store getStore()
           
protected  Store getStore(java.lang.Class keyClass, java.lang.Class valueClass)
          Gets reference to a reservation store.
 java.io.Serializable getValue(java.io.Serializable k)
           
 java.io.Serializable put(java.io.Serializable k, java.io.Serializable v)
           
 void putValue(java.io.Serializable k, java.io.Serializable v)
           
 java.io.Serializable removeValue(java.io.Serializable k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreHelper

public StoreHelper()
Method Detail

containsKey

public boolean containsKey(java.io.Serializable k)
                    throws StorageException
Throws:
StorageException

getStore

public abstract Store getStore()
                        throws StorageException
Throws:
StorageException

getStore

protected Store getStore(java.lang.Class keyClass,
                         java.lang.Class valueClass)
                  throws StorageException
Gets reference to a reservation store.

Returns:
The store reference.
Throws:
StorageException - An exception if the store cannot be retrieved

getValue

public java.io.Serializable getValue(java.io.Serializable k)
                              throws StorageException
Throws:
StorageException

put

public java.io.Serializable put(java.io.Serializable k,
                                java.io.Serializable v)
                         throws StorageException
Throws:
StorageException

putValue

public void putValue(java.io.Serializable k,
                     java.io.Serializable v)
              throws StorageException
Throws:
StorageException

removeValue

public java.io.Serializable removeValue(java.io.Serializable k)
                                 throws StorageException
Throws:
StorageException

Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

Copyright © 2008, 2018, Oracle and/or its affiliates. All rights reserved.