|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityPropertyCache
Class used to hold properties for a given entity. An instance of this class is used as the runtime store for a ConfigurableEntity EJB during its lifecycle, as a container to pass properties from the EntityPropertyManager to an entity, and as a container to cache properties in the application-wide cache by the EntityPropertyManager.
ConfigurableEntity
, EntityPropertyManager
Method Summary | |
---|---|
void |
clear() Clear the cache |
EntityPropertyCache |
filterByPropertyMapKeys(Set propertyMapKeys) Return a subset of this cache containing only the named property map keys |
EntityPropertyCache |
filterByPropertySet(String propertySetName) Return a subset of this cache containing only the named property sets |
Object |
get(PropertyMapKey key) Get a value from the cache |
List |
getContentsAsString() Describes the contents of this cache as a List of Strings such as: {"propertySet:propertyName=propertyValue" } |
Iterator |
getEntries() |
Map |
getMap() Get the entire map that backs up the cache |
boolean |
isEmpty() |
void |
put(PropertyMapKey key, Object value) Put a value in the cache |
void |
putAll(Map map) Add all the key/value pairs from the given map to the cache |
void |
remove(PropertyMapKey key) Remove a value from the cache |
int |
size() |
Method Detail |
---|
int size()
boolean isEmpty()
Object get(PropertyMapKey key)
key
- the key to lookupvoid remove(PropertyMapKey key)
key
- the key to removevoid put(PropertyMapKey key, Object value)
key
- the key of the new valuevalue
- the value to cachevoid putAll(Map map)
map
- the Map containing values to addMap getMap()
Iterator getEntries()
void clear()
List getContentsAsString()
EntityPropertyCache filterByPropertySet(String propertySetName)
EntityPropertyCache filterByPropertyMapKeys(Set propertyMapKeys)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.