| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.stellent.wcm.server.cache.ThreadLocalCacheContainer
oracle.stellent.wcm.server.cache.ThreadLocalCacheContainer
public class ThreadLocalCacheContainer
A non-shared cache for a single thread
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface oracle.stellent.wcm.server.cache.CacheContainer | 
|---|
| CacheContainer.Key<T> | 
| Field Summary | 
|---|
| Fields inherited from interface oracle.stellent.wcm.server.cache.CacheContainer | 
|---|
| KEY_ASSET_TYPES, KEY_CONTENT_INFO, KEY_CONVERSION_DEFINITION, KEY_ELEMENT_DEFINITION, KEY_MANAGED_DATAFILE, KEY_PLACEHOLDER_DEFINITION, KEY_REGION_DEFINITION, KEY_TIMESTAMP, KEY_WEB_CONTENT | 
| Constructor Summary | |
|---|---|
| ThreadLocalCacheContainer(Provider provider, CacheContainer parentCache) | |
| Method Summary | ||
|---|---|---|
|  void | clear()Clear all items from cache | |
|  void | clearContentObjects(ContentID contentID)Clear all objects under a given content ID | |
|  boolean | containsKey(ContentID contentID, java.lang.String name)Determine if the cache contains the given key | |
| 
 | getContentObject(ContentID contentID, CacheContainer.Key<T> key)Retrieve an item from the cache that is of the type specified by the key | |
|  java.lang.Object | getContentObject(ContentID contentID, java.lang.String name)Retrieve an item from the cache | |
| 
 | setContentObject(ContentID contentID, CacheContainer.Key<T> key, T object)Associate the object with the given content ID and key name | |
|  void | setContentObject(ContentID contentID, java.lang.String name, java.lang.Object object)Associate the object with the given content ID and key | |
|  void | updateContentObjectsWithRS(oracle.stellent.ridc.model.DataResultSet resultSet)Update existing content objects or create new content objects in the cache for each row in the result set. | |
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ThreadLocalCacheContainer(Provider provider,
                                 CacheContainer parentCache)
| Method Detail | 
|---|
public <T> T getContentObject(ContentID contentID,
                              CacheContainer.Key<T> key)
getContentObject in interface CacheContainercontentID - the content IDkey - the item key
public java.lang.Object getContentObject(ContentID contentID,
                                         java.lang.String name)
getContentObject in interface CacheContainercontentID - the content ID of the itemname - the item key
public <T> void setContentObject(ContentID contentID,
                                 CacheContainer.Key<T> key,
                                 T object)
setContentObject in interface CacheContainercontentID - the content IDkey - the item keyobject - the object
public void setContentObject(ContentID contentID,
                             java.lang.String name,
                             java.lang.Object object)
setContentObject in interface CacheContainercontentID - the content IDname - the item nameobject - the objectpublic void clearContentObjects(ContentID contentID)
clearContentObjects in interface CacheContainercontentID - the content ID
public boolean containsKey(ContentID contentID,
                           java.lang.String name)
containsKey in interface CacheContainercontentID - the content IDname - the key namepublic void updateContentObjectsWithRS(oracle.stellent.ridc.model.DataResultSet resultSet)
updateContentObjectsWithRS in interface CacheContainerresultSet - the result set, each row containing at least a "dDocName" valuepublic void clear()
clear in interface CacheContainer| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||