public interface IDir
| Modifier and Type | Method and Description | 
|---|---|
| void | addAttrs(ICS ics,
        IName dn,
        Attributes attributes)Add attributes to an existing entry. | 
| Collection | andSearch(ICS ics,
         Attributes matchingAttributes)Simple search returns all entries with matching attributes
        (AND); searches under Properties.baseDN | 
| Collection | andSearch(ICS ics,
         IName parent,
         Attributes matchingAttributes)Simple search returns all entries with matching attributes
        (AND) | 
| Collection | children(ICS ics,
        IName dn)Retrieves the immediate child entries of the specified parent. | 
| void | create(ICS ics,
      IName dn,
      Attributes attributes)Create an object. | 
| void | delete(ICS ics,
      IName dn)Delete the specified entry. | 
| void | deleteAttrs(ICS ics,
           IName dn,
           Attributes attributes)Delete the specified attributes from the specified entry. | 
| Attributes | getAttrs(ICS ics,
        IName dn,
        String[] attrs)Retrieve the specified attributes from the specified entry. | 
| Collection | orSearch(ICS ics,
        Attributes matchingAttributes)Simple search returns all entries with attributes matching any of 
        those specified (OR); searches under Properties.baseDN | 
| Collection | orSearch(ICS ics,
        IName parent,
        Attributes matchingAttributes)Simple search returns all entries attributes matching any of
        those specified (OR) | 
| void | replaceAttrs(ICS ics,
            IName dn,
            Attributes attributes)Replace the existing attribute value(s) with the specified
        value(s). | 
void create(ICS ics, IName dn, Attributes attributes) throws DirectoryException
dn - Distinguished name of entry to be created.attributes - Attribute(s) to create for this entry.  If
        null, creates entry with no attributes.DirectoryExceptionvoid delete(ICS ics, IName dn) throws DirectoryException
dn - Distinguished name of entry to be deleted.DirectoryExceptionCollection andSearch(ICS ics, Attributes matchingAttributes) throws DirectoryException
matchingAttributes - The name value pairs to matchDirectoryExceptionCollection andSearch(ICS ics, IName parent, Attributes matchingAttributes) throws DirectoryException
parent - The entry under which to searchmatchingAttributes - The name value pairs to matchDirectoryExceptionCollection orSearch(ICS ics, Attributes matchingAttributes) throws DirectoryException
matchingAttributes - The name value pairs to matchDirectoryExceptionCollection orSearch(ICS ics, IName parent, Attributes matchingAttributes) throws DirectoryException
parent - The entry under which to searchmatchingAttributes - The name value pairs to matchDirectoryExceptionCollection children(ICS ics, IName dn) throws DirectoryException
dn - The distinguished name of the entry for which
        children are to be found.DirectoryExceptionvoid addAttrs(ICS ics, IName dn, Attributes attributes) throws DirectoryException
dn - The distinguished name of the entry to which
        attributes are added.attributes - Attributes to be added.DirectoryExceptionvoid replaceAttrs(ICS ics, IName dn, Attributes attributes) throws DirectoryException
dn - The distinguished name of the entry for which
       attributes are being replaced.attributes - Attributes to be replaced.DirectoryExceptionvoid deleteAttrs(ICS ics, IName dn, Attributes attributes) throws DirectoryException
entry - The distinguished name of the entry for which
       attributes are being deleted.attributes - Attributes to be removed.DirectoryExceptionAttributes getAttrs(ICS ics, IName dn, String[] attrs) throws DirectoryException
dn - The distinguished name of the entry for which
        attributes are being retrieved.attrs - The identifiers of the attributes to
        retrieve. null indicates that all attributes should be
        retrieved; an empty array indicates that none should be
        retrieved.DirectoryException