|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserSecurityCache
Implementation of the interface caches security information e.g. access level for users.
Method Summary | |
---|---|
void |
addAccessResolver(IAccessResolver accessResolver) Adds an access resolver to the chain of resolvers that will work together to calculate the access levels for a given document |
void |
clearCache() Clear the cache completely |
int |
getAccessLevelForDocument(CacheId id, DataObject docInfo) Get the user's access level for a document from cached security information |
CacheId |
getCacheIdForUser(IdcContext userContext) Get the CacheId. |
void |
initializeCache(int maxSize, long timeToLive) Initialize the cache with maximum size and length to live |
DataBinder |
removeCacheId(CacheId id) Remove cache |
Method Detail |
---|
void initializeCache(int maxSize, long timeToLive)
maxSize
- Assuming an LRU cache, the maximum number of entriestimeToLive
- Number of milliseconds for each entry to be validvoid clearCache()
void addAccessResolver(IAccessResolver accessResolver)
accessResolver
- the IAccessResolver to addCacheId getCacheIdForUser(IdcContext userContext)
userContext
- the IdcContentDataBinder removeCacheId(CacheId id)
id
- CacheIDint getAccessLevelForDocument(CacheId id, DataObject docInfo)
id
- a cacheId previously obtaineddocInfo
- DataObject containing security information about the document (typically from DOC_INFO)IdcClientException
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |