Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

oracle.mail.ldap
Class ESDSContext

java.lang.Object
  |
  +--oracle.mail.ldap.ESDSContext

public final class ESDSContext
extends java.lang.Object

This class caches certain data for the caller. And the ESDSContext is passed to all the DS API's as an input params.


Method Summary
void clearPiecewiseAliasSearchFlags()
void clearPiecewiseDLMemberLookupFlags()
void clearPiecewiseDLSearchFlags()
void clearPiecewiseNewsGroupSearchFlags()
void clearPiecewiseUserSearchFlags()
java.util.Vector getAttributeFromCache(java.lang.String attribName)
This method will return the value of an attribute from cache the callers parameters.
java.lang.String getCallerName()
java.lang.String getCallerType()
boolean getDebug()
boolean getIfGetNextBatchAlias()
boolean getIfGetNextBatchDL()
boolean getIfGetNextBatchDLSearch()
boolean getIfGetNextBatchNewsGroup()
boolean getIfGetNextBatchUsers()
java.util.Hashtable getParamsHash()
java.lang.String getServerDN()
For client contexts, returns the pool key
boolean isAValidContext()
void refreshUserAttrsCache(java.lang.String[] toCache)
ESDSLdapObject retrieveUserAttrsFromCache(java.lang.String[] attrs)
This method construct mailuser object from cache.

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

Method Detail

isAValidContext

public boolean isAValidContext()

getDebug

public boolean getDebug()

clearPiecewiseDLMemberLookupFlags

public void clearPiecewiseDLMemberLookupFlags()

clearPiecewiseUserSearchFlags

public void clearPiecewiseUserSearchFlags()

clearPiecewiseAliasSearchFlags

public void clearPiecewiseAliasSearchFlags()

clearPiecewiseDLSearchFlags

public void clearPiecewiseDLSearchFlags()

clearPiecewiseNewsGroupSearchFlags

public void clearPiecewiseNewsGroupSearchFlags()

getIfGetNextBatchDL

public boolean getIfGetNextBatchDL()

getIfGetNextBatchUsers

public boolean getIfGetNextBatchUsers()

getIfGetNextBatchDLSearch

public boolean getIfGetNextBatchDLSearch()

getIfGetNextBatchAlias

public boolean getIfGetNextBatchAlias()

getIfGetNextBatchNewsGroup

public boolean getIfGetNextBatchNewsGroup()

refreshUserAttrsCache

public void refreshUserAttrsCache(java.lang.String[] toCache)
                           throws ESDSException

getParamsHash

public java.util.Hashtable getParamsHash()

getAttributeFromCache

public java.util.Vector getAttributeFromCache(java.lang.String attribName)
                                       throws ESDSException
This method will return the value of an attribute from cache the callers parameters.
Parameters:
attribName - Name of the attribute
Returns:
the values of the attribute

getCallerName

public java.lang.String getCallerName()

getCallerType

public java.lang.String getCallerType()

getServerDN

public java.lang.String getServerDN()
For client contexts, returns the pool key

retrieveUserAttrsFromCache

public ESDSLdapObject retrieveUserAttrsFromCache(java.lang.String[] attrs)
                                          throws ESDSException
This method construct mailuser object from cache. refreshUserAttrsCache can be invoked to refresh ctx cache
Parameters:
attrs - An array of Strings containing the name of attributes to be returned. In case any of these attrs are not cached, then the cache gets refreshed.
Returns:
ESDSLdapObject the mailuser (similar to metadata)

Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

Copyright © 1988, 2005, Oracle. All rights reserved.