public class CSEnvCache extends Object
Modifier and Type | Field and Description |
---|---|
protected IdcClient |
m_idcClient |
protected IdcContext |
m_idcContext |
protected ILog |
m_log |
protected CachedDataBinder |
m_serverEnvBinder |
protected IServiceCallUtils |
m_serviceCallUtils |
protected String |
m_specialAuthGroups |
protected long |
m_timeToLive |
protected Boolean |
m_using11gDefaultAcl |
protected Boolean |
m_usingAccounts |
protected Boolean |
m_usingAcl |
protected Boolean |
m_usingAclRoles |
protected Boolean |
m_usingAuthorDelete |
protected Boolean |
m_usingCollab |
protected Boolean |
m_usingOldRIDCAccessModel |
Constructor and Description |
---|
CSEnvCache(IdcClient idcClient, IdcContext idcContext, long timeToLive)
Deprecated.
|
CSEnvCache(IdcClient idcClient, IdcContext idcContext, long timeToLive, IServiceCallUtils serviceCallUtils) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear any cache of information
|
IdcClient |
getIdcClient() |
protected DataBinder |
getServerEnvironmentBinder(ITrace trace)
Get the server Environment Binder
|
IServiceCallUtils |
getServiceCallUtils() |
boolean |
hasExpired(long timeToLive)
Return true if the TimeToLive for this object has expired
|
boolean |
isAuthorDeleteEnabled(ITrace trace) |
boolean |
isCollaborationModel()
Deprecated.
this method swallows IdcClientExceptions
|
boolean |
isCollaborationModel(ITrace trace)
Check to see if the server is using Collaboration for Acl Security
|
boolean |
isInSpecialAuthGroups(String dSecurityGroup)
Deprecated.
this method swallows IdcClientExceptions
|
boolean |
isInSpecialAuthGroups(String dSecurityGroup, ITrace trace)
Check to see if dSecurityGroup is covered by ACL
|
boolean |
isUsing11gDefaultAcl()
Deprecated.
this method swallows IdcClientExceptions
|
boolean |
isUsing11gDefaultAcl(ITrace trace)
Check to see which default ACL algorithm to use
|
boolean |
isUsingAccounts()
Deprecated.
this method swallows IdcClientExceptions
|
boolean |
isUsingAccounts(ITrace trace)
Check to see if the server is using Accounts security
|
boolean |
isUsingAcl()
Deprecated.
this method swallows IdcClientExceptions
|
boolean |
isUsingAcl(ITrace trace)
Check to see if the server is using Acl security
|
boolean |
isUsingAclRoles()
Deprecated.
this method swallows IdcClientExceptions
|
boolean |
isUsingAclRoles(ITrace trace)
Check to see if server is using the RoleEntityACL feature
|
protected ILog m_log
protected IdcClient m_idcClient
protected IdcContext m_idcContext
protected CachedDataBinder m_serverEnvBinder
protected long m_timeToLive
protected Boolean m_usingAccounts
protected Boolean m_usingAcl
protected Boolean m_usingCollab
protected Boolean m_using11gDefaultAcl
protected Boolean m_usingAclRoles
protected Boolean m_usingOldRIDCAccessModel
protected Boolean m_usingAuthorDelete
protected String m_specialAuthGroups
protected IServiceCallUtils m_serviceCallUtils
@Deprecated public CSEnvCache(IdcClient idcClient, IdcContext idcContext, long timeToLive)
public CSEnvCache(IdcClient idcClient, IdcContext idcContext, long timeToLive, IServiceCallUtils serviceCallUtils)
public void clearCache()
public IServiceCallUtils getServiceCallUtils()
public boolean hasExpired(long timeToLive)
timeToLive
- in millisecondspublic IdcClient getIdcClient()
protected DataBinder getServerEnvironmentBinder(ITrace trace) throws IdcClientException
IdcClientException
public boolean isAuthorDeleteEnabled(ITrace trace) throws IdcClientException
IdcClientException
public boolean isUsingAccounts()
public boolean isUsingAccounts(ITrace trace) throws IdcClientException
trace
-IdcClientException
public boolean isUsingAcl()
public boolean isUsingAcl(ITrace trace) throws IdcClientException
trace
-IdcClientException
public boolean isCollaborationModel()
public boolean isCollaborationModel(ITrace trace) throws IdcClientException
trace
-IdcClientException
public boolean isUsingAclRoles()
public boolean isUsingAclRoles(ITrace trace) throws IdcClientException
trace
-IdcClientException
public boolean isUsing11gDefaultAcl()
public boolean isUsing11gDefaultAcl(ITrace trace) throws IdcClientException
trace
-IdcClientException
public boolean isInSpecialAuthGroups(String dSecurityGroup)
dSecurityGroup
- of the documentpublic boolean isInSpecialAuthGroups(String dSecurityGroup, ITrace trace) throws IdcClientException
dSecurityGroup
- of the documentIdcClientException