Interface IAccessResolver
- All Known Implementing Classes:
AccessResolverAccounts,AccessResolverAcl,AccessResolverSecurityGroups
@Concealed
public interface IAccessResolver
The implementation of IAccessResolver is responsible for determining the access level to a document for a user.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear any cache of informationvoidclearCache(ITrace trace) Clear any cache of informationresolveAccessLevel(DataObject docInfo, DataBinder userBinder) Deprecated.this method swallows IdcClientExceptionsresolveAccessLevel(DataObject docInfo, DataBinder userBinder, ITrace trace) For a given document, determine the user's access level If the resolver determines that it doesn't want to participate in the access level calculation, it returns null
-
Method Details
-
resolveAccessLevel
Deprecated.this method swallows IdcClientExceptionsFor a given document, determine the user's access level If the resolver determines that it doesn't want to participate in the access level calculation, it returns null- Parameters:
docInfo- DataObject containing security information about the document (typically from DOC_INFO)userBinder- DataBinder containing resultsets for user security @return null or access level- Returns:
- access levels presented as bits in an integer
-
resolveAccessLevel
Integer resolveAccessLevel(DataObject docInfo, DataBinder userBinder, ITrace trace) throws IdcClientException For a given document, determine the user's access level If the resolver determines that it doesn't want to participate in the access level calculation, it returns null- Parameters:
docInfo- DataObject containing security information about the document (typically from DOC_INFO)userBinder- DataBinder containing resultsets for user security @return null or access level- Returns:
- access levels presented as bits in an integer
- Throws:
IdcClientException
-
clearCache
void clearCache()Clear any cache of information -
clearCache
Clear any cache of information
-