Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


oracle.ocsg.oauth2.store
Class StoreHelper

java.lang.Object
  extended byoracle.ocsg.oauth2.store.StoreHelper

Direct Known Subclasses:
AccessTokenStoreHelper

public abstract class StoreHelper
extends Object

Constructor Summary
StoreHelper()
           

 

Method Summary
 boolean containsKey(Serializable k)
           
abstract  Store getStore()
           
protected  Store getStore(Class keyClass, Class valueClass)
          Gets reference to a reservation store.
 Serializable getValue(Serializable k)
           
 Serializable put(Serializable k, Serializable v)
           
 void putValue(Serializable k, Serializable v)
           
 Serializable removeValue(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(Serializable k)
                    throws StorageException
Throws:
StorageException

getStore

public abstract Store getStore()
                        throws StorageException
Throws:
StorageException

getStore

protected Store getStore(Class keyClass,
                         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 Serializable getValue(Serializable k)
                      throws StorageException
Throws:
StorageException

put

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

putValue

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

removeValue

public Serializable removeValue(Serializable k)
                         throws StorageException
Throws:
StorageException

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


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