Skip navigation links

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

E17274-01


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

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


public class CSEnvCache
extends BinderUtils

Cache of Content Server's GET_ENVIRONMENT service


Field Summary
protected  IdcClient m_idcClient
           
protected  IdcContext m_idcContext
           
protected  CachedDataBinder m_serverEnvBinder
           
protected  long m_timeToLive
           
protected  boolean m_usingAccounts
           
protected  boolean m_usingAcl
           

 

Fields inherited from class oracle.stellent.ridc.convenience.usersecurity.impl.BinderUtils
m_log

 

Constructor Summary
CSEnvCache(IdcClient idcClient, IdcContext idcContext, long timeToLive)
           
CSEnvCache(IdcClient idcClient, long timeToLive)
           

 

Method Summary
 void clearCache()
          Clear any cache of information
 IdcClient getIdcClient()
           
protected  DataBinder getServerEnvironmentBinder()
          Get the server Environment Binder
 boolean hasExpired(long timeToLive)
          Return true if the TimeToLive for this object has expired
 boolean isUsingAccounts()
          Check to see if the server is using Accounts security
 boolean isUsingAcl()
          Check to see if the server is using Acl security

 

Methods inherited from class oracle.stellent.ridc.convenience.usersecurity.impl.BinderUtils
getAliasMap, getDocInfo, getDocInfoRows, getServerEnvironment, getUser, getUserPermissions

 

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

 

Field Detail

m_idcClient

protected IdcClient m_idcClient

m_idcContext

protected IdcContext m_idcContext

m_serverEnvBinder

protected CachedDataBinder m_serverEnvBinder

m_timeToLive

protected long m_timeToLive

m_usingAccounts

protected boolean m_usingAccounts

m_usingAcl

protected boolean m_usingAcl

Constructor Detail

CSEnvCache

public CSEnvCache(IdcClient idcClient,
                  long timeToLive)

CSEnvCache

public CSEnvCache(IdcClient idcClient,
                  IdcContext idcContext,
                  long timeToLive)

Method Detail

hasExpired

public boolean hasExpired(long timeToLive)
Return true if the TimeToLive for this object has expired
Parameters:
timeToLive - in milliseconds
Returns:

getIdcClient

public IdcClient getIdcClient()

getServerEnvironmentBinder

protected DataBinder getServerEnvironmentBinder()
Get the server Environment Binder
Returns:
Server's environment via a Service Call (when cache expires)

clearCache

public void clearCache()
Clear any cache of information

isUsingAccounts

public boolean isUsingAccounts()
Check to see if the server is using Accounts security
Returns:

isUsingAcl

public boolean isUsingAcl()
Check to see if the server is using Acl security
Returns:

Skip navigation links

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

E17274-01


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