|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class defines the interfaces that are needed to maintain a local cache of entity properties. SmartBMP classes can uses this interface to add runtime properties from sources other than the the EntityPropertyManager
Method Summary | |
void |
addCachedPropertyMapped(String scope,
String key,
String mapKey,
Object value)
Add the specified value to the cache in the case where the value is a map. |
void |
addCachedPropertyValue(String scope,
String key,
Object value)
Add the specified value to the cache for a multivalued property. |
Object |
getCachedProperty(String scope,
String key)
Retrieve the value associated with the scope and key from the object cache |
void |
removeCachedProperties()
Clear all the entries in the cache. |
void |
removeCachedProperties(String scope)
Clear all entries in the cache for the specified scope. |
Object |
removeCachedProperty(String scope,
String key)
Retrieve the value associated with the key from the object cache. |
Object |
removeCachedPropertyMapped(String scope,
String key,
String mapKey)
Remove the value at the specified key from a named property that represents a map. |
void |
removeCachedPropertyValue(String scope,
String key,
Object value)
Add the specified value to the cache. |
void |
setCachedProperty(String scope,
String key,
Object value)
Add the specified value to the cache. |
Method Detail |
public void addCachedPropertyMapped(String scope, String key, String mapKey, Object value) throws ApplicationException, RemoteException
scope
- key
- mapKey
- The key into which the property will be mappedvalue
- The value to be set.
ApplicationException
RemoteException
public void addCachedPropertyValue(String scope, String key, Object value) throws ApplicationException, RemoteException
scope
- key
- value
- java.lang.Object the value to be set.
ApplicationException
RemoteException
public Object getCachedProperty(String scope, String key) throws ApplicationException, RemoteException
scope
- key
-
ApplicationException
RemoteException
public void removeCachedProperties() throws ApplicationException, RemoteException
ApplicationException
RemoteException
public void removeCachedProperties(String scope) throws ApplicationException, RemoteException
scope
- the scope for which properties are to be removed.
ApplicationException
RemoteException
public Object removeCachedProperty(String scope, String key) throws ApplicationException, RemoteException
scope
- key
-
ApplicationException
RemoteException
public Object removeCachedPropertyMapped(String scope, String key, String mapKey) throws ApplicationException, RemoteException
scope
- key
- mapKey
- The key into which the property will be mapped
ApplicationException
RemoteException
public void removeCachedPropertyValue(String scope, String key, Object value) throws ApplicationException, RemoteException
scope
- key
- value
- java.lang.Object the value to be set.
ApplicationException
RemoteException
public void setCachedProperty(String scope, String key, Object value) throws ApplicationException, RemoteException
scope
- key
- value
- java.lang.Object the value to be set.
ApplicationException
RemoteException
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |