|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
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.
Nested Class Summary | |
---|---|
static class |
IUserSecurityCache.AdminType |
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) Deprecated. this method swallows IdcClientExceptions |
int |
getAccessLevelForDocument(CacheId id, DataObject docInfo, ITrace trace) Get the user's access level for a document. |
CacheId |
getCacheIdForUser(IdcContext userContext) Deprecated. this method swallows IdcClientExceptions |
CacheId |
getCacheIdForUser(IdcContext userContext, ITrace trace) Get the CacheId. |
IUserSecurityFlags |
getUserSecurityFlags(CacheId id, ITrace trace) Returns the UserSecurityFlags object. |
void |
initializeCache(int maxSize, long timeToLive) Initialize the cache with maximum size and length to live |
boolean |
isAdmin(CacheId id, DataObject docInfo, IUserSecurityCache.AdminType adminType) Deprecated. this method swallows IdcClientExceptions |
boolean |
isAdmin(CacheId id, DataObject docInfo, IUserSecurityCache.AdminType adminType, ITrace trace) Returns the Admin flag for the specific admin type. |
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 add
@Deprecated
CacheId getCacheIdForUser(IdcContext userContext)
userContext
- the IdcContentCacheId getCacheIdForUser(IdcContext userContext, ITrace trace) throws IdcClientException
userContext
- the IdcContenttrace
-IdcClientException
DataBinder removeCacheId(CacheId id)
id
- CacheID
@Deprecated
int getAccessLevelForDocument(CacheId id,
DataObject docInfo)
id
- CacheIddocInfo
- document info either from LocalData or from DOC_INFO resultsetint getAccessLevelForDocument(CacheId id, DataObject docInfo, ITrace trace) throws IdcClientException
id
- CacheIddocInfo
- document info either from LocalData or from DOC_INFO resultsettrace
-IdcClientException
@Deprecated
boolean isAdmin(CacheId id,
DataObject docInfo,
IUserSecurityCache.AdminType adminType)
id
- CacheIddocInfo
- document info either from LocalData or from DOC_INFO resultsetadminType
-boolean isAdmin(CacheId id, DataObject docInfo, IUserSecurityCache.AdminType adminType, ITrace trace) throws IdcClientException
id
- CacheIddocInfo
- document info either from LocalData or from DOC_INFO resultsetadminType
-trace
-IdcClientException
IUserSecurityFlags getUserSecurityFlags(CacheId id, ITrace trace) throws IdcClientException
id
- CacheId for the usertrace
- (can be null to disable tracing)IdcClientException
|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |