|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.util.LDAPEntry
This abstract class represents an LDAP entry. It is subclassed by many of the objects in the oracle.ldap.util package - for example, User
and Subscriber
classes.
The class provides some general LDAP search and modify methods to be performed on an LDAP entry.
Method Summary | |
java.lang.String |
getDN(javax.naming.directory.DirContext ctx) Returns the DN of the entry (resolves the name if necessary). |
PropertySetCollection |
getProperties(javax.naming.directory.DirContext ctx, java.lang.String[] attrList, boolean usecache) Retrieves selected attributes associated with this entry. |
abstract void |
resolve(javax.naming.directory.DirContext ctx) Abstract method - implements validation of the LDAP entry by resolving the DN |
void |
setProperties(javax.naming.directory.DirContext ctx, ModPropertySet ps) Sets or modifies the properties of this entry. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public PropertySetCollection getProperties(javax.naming.directory.DirContext ctx, java.lang.String[] attrList, boolean usecache) throws UtilException
Retrieves selected attributes associated with this entry.
A cache is used where previous getProperties() results are stored. If a new search is desired, usecache
should be set to false. A new LDAP search will be done and the cache will be refreshed with these new values.
ctx
- a valid DirContextattrList
- an array of attributes to be retrievedusecache
- boolean value to determine if cached values from the previous search should be used. Set to true to fetch the cached values.UtilException
public void setProperties(javax.naming.directory.DirContext ctx, ModPropertySet ps) throws UtilException
Sets or modifies the properties of this entry.
A ModPropertySet
object must be created first. PropertySet for the modification.
ctx
- a valid DirContextps
- a valid PropertySet containing the items to be modifiedUtilException
public java.lang.String getDN(javax.naming.directory.DirContext ctx) throws UtilException
ctx
- a valid DirContextUtilException
public abstract void resolve(javax.naming.directory.DirContext ctx) throws UtilException
UtilException
|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |