|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.content.federated.ContentCacheHelper
public class ContentCacheHelper
The ContentCacheHelper manages cache data for the CM system. It has methods to flush the content objects stored in the cache. This helper only manages caches at the API level, not at the SPI
Constructor Summary | |
---|---|
ContentCacheHelper()
|
Method Summary | |
---|---|
static void |
flushAllBinaryCacheEntries(String repositoryName,
String nodeId)
Removes all Binary entries related to a Node. |
static void |
flushBinaryCache(String repositoryName)
Removes all keys and values from a Binary cache. |
static void |
flushBinaryCacheEntry(String repositoryName,
String nodeId,
String propertyUid)
Removes both key and value for a Binary cache entry. |
static void |
flushNodeCache(String repositoryName)
Removes all keys and values from a Node cache. |
static void |
flushNodeCacheEntry(String repositoryName,
String nodeId,
String federatedPath)
Removes both key and value for a Node cache entry. |
static void |
flushSearchCache()
Remove all keys and values from all Search caches across all repositories. |
static void |
flushSearchCache(String repositoryName)
Removes all keys and values from a Search cache. |
static void |
flushSearchCacheEntry(Search search)
Removes both key and value for a search cache entry. |
static void |
flushTypeCache(String repositoryName)
Removes all keys and values from a Type cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentCacheHelper()
Method Detail |
---|
public static void flushNodeCacheEntry(String repositoryName, String nodeId, String federatedPath) throws RepositoryException
repositoryName
- The name of the repositorynodeId
- The UID of the node (node.getId().getUid())federatedPath
- The federated path of the node
RepositoryException
public static void flushBinaryCacheEntry(String repositoryName, String nodeId, String propertyUid)
repositoryName
- The name of the repositorynodeId
- The UID of the node (node.getId().getUid())propertyUid
- The UID of the property (property.getId().getUid())public static void flushSearchCacheEntry(Search search)
search
- the Search objectpublic static void flushAllBinaryCacheEntries(String repositoryName, String nodeId) throws RepositoryException
repositoryName
- The name of the repositorynodeId
- The UID of the node (node.getId().getUid())
RepositoryException
- If this operation fails.public static void flushNodeCache(String repositoryName)
repositoryName
- The name of the repository.public static void flushTypeCache(String repositoryName)
repositoryName
- The name of the repository.public static void flushBinaryCache(String repositoryName)
repositoryName
- The name of the repository.public static void flushSearchCache(String repositoryName)
repositoryName
- The name of the repository.public static void flushSearchCache()
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |