|
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 | |||||||||
public interface CacheContainer
Represents the cache of content items
| Nested Class Summary | |
|---|---|
static class |
CacheContainer.Key<T>Holds a key name and type |
| Field Summary | |
|---|---|
static CacheContainer.Key<java.util.Map<java.lang.String,oracle.stellent.ridc.model.DataObject>> |
KEY_ASSET_TYPES |
static CacheContainer.Key<java.util.Map<java.lang.String,oracle.stellent.ridc.model.DataObject>> |
KEY_CONTENT_INFO |
static CacheContainer.Key<ConversionsDefinition> |
KEY_CONVERSION_DEFINITION |
static CacheContainer.Key<ElementDefinition> |
KEY_ELEMENT_DEFINITION |
static CacheContainer.Key<DataFile> |
KEY_MANAGED_DATAFILE |
static CacheContainer.Key<PlaceholderDefinition> |
KEY_PLACEHOLDER_DEFINITION |
static CacheContainer.Key<RegionDefinition> |
KEY_REGION_DEFINITION |
static CacheContainer.Key<java.lang.Long> |
KEY_TIMESTAMP |
static CacheContainer.Key<LazyLoadingContent> |
KEY_WEB_CONTENT |
| 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. |
|
| Field Detail |
|---|
static final CacheContainer.Key<java.lang.Long> KEY_TIMESTAMP
static final CacheContainer.Key<LazyLoadingContent> KEY_WEB_CONTENT
static final CacheContainer.Key<PlaceholderDefinition> KEY_PLACEHOLDER_DEFINITION
static final CacheContainer.Key<DataFile> KEY_MANAGED_DATAFILE
static final CacheContainer.Key<ConversionsDefinition> KEY_CONVERSION_DEFINITION
static final CacheContainer.Key<RegionDefinition> KEY_REGION_DEFINITION
static final CacheContainer.Key<ElementDefinition> KEY_ELEMENT_DEFINITION
static final CacheContainer.Key<java.util.Map<java.lang.String,oracle.stellent.ridc.model.DataObject>> KEY_CONTENT_INFO
static final CacheContainer.Key<java.util.Map<java.lang.String,oracle.stellent.ridc.model.DataObject>> KEY_ASSET_TYPES
| Method Detail |
|---|
<T> T getContentObject(ContentID contentID,
CacheContainer.Key<T> key)
contentID - the content IDkey - the item key
java.lang.Object getContentObject(ContentID contentID,
java.lang.String name)
contentID - the content ID of the itemname - the item key
<T> void setContentObject(ContentID contentID,
CacheContainer.Key<T> key,
T object)
contentID - the content IDkey - the item keyobject - the object
void setContentObject(ContentID contentID,
java.lang.String name,
java.lang.Object object)
contentID - the content IDname - the item nameobject - the objectvoid clearContentObjects(ContentID contentID)
contentID - the content ID
boolean containsKey(ContentID contentID,
java.lang.String name)
contentID - the content IDname - the key namevoid updateContentObjectsWithRS(oracle.stellent.ridc.model.DataResultSet resultSet)
resultSet - the result set, each row containing at least a "dDocName" valuevoid clear()
|
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 | |||||||||