Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


oracle.stellent.ridc.convenience.usersecurity.impl
Class AccessResolverAccounts

java.lang.Object
  extended by oracle.stellent.ridc.convenience.usersecurity.impl.AccessResolverAccounts

All Implemented Interfaces:
IAccessResolver

public class AccessResolverAccounts
extends java.lang.Object
implements IAccessResolver

Account part of access level


Field Summary
protected  CSEnvCache m_csEnvCache
           

 

Constructor Summary
AccessResolverAccounts(CSEnvCache csEnvCache)
           

 

Method Summary
 void clearCache()
          Clear any cache of information
 java.lang.Integer resolveAccessLevel(DataObject docInfo, DataBinder userBinder)
          Deprecated. this method swallows IdcClientExceptions
 java.lang.Integer resolveAccessLevel(DataObject docInfo, DataBinder userBinder, ITrace trace)
          Get the user's access level for this document.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

m_csEnvCache

protected CSEnvCache m_csEnvCache

Constructor Detail

AccessResolverAccounts

public AccessResolverAccounts(CSEnvCache csEnvCache)

Method Detail

resolveAccessLevel

public java.lang.Integer resolveAccessLevel(DataObject docInfo,
                                            DataBinder userBinder)
Deprecated. this method swallows IdcClientExceptions
see resolveAccessLevel (DataObject docInfo, DataBinder userBinder, List<String> trace) throws IdcClientException
Specified by:
resolveAccessLevel in interface IAccessResolver
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

public java.lang.Integer resolveAccessLevel(DataObject docInfo,
                                            DataBinder userBinder,
                                            ITrace trace)
                                     throws IdcClientException
Get the user's access level for this document. This resolver will not participate when the user doesn't have #none and the document has no account assigned to it. This resolver will also not participate if the Content Server isn't using accounts The resolver will binary OR all the permissions for accounts where the document's account name starts with each account in the account access list.
Specified by:
resolveAccessLevel in interface IAccessResolver
Parameters:
docInfo - DataObject containing security information about the document (typically from DOC_INFO)
userBinder - DataBinder containing ResultSets for user security
trace -
Returns:
access level
Throws:
IdcClientException

clearCache

public void clearCache()
Clear any cache of information
Specified by:
clearCache in interface IAccessResolver

Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.