public interface IDir
Modifier and Type | Method and Description |
---|---|
void |
addAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Add attributes to an existing entry.
|
java.util.Collection |
andSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes)
Simple search returns all entries with matching attributes
(AND); searches under Properties.baseDN
|
java.util.Collection |
andSearch(COM.FutureTense.Interfaces.ICS ics,
IName parent,
Attributes matchingAttributes)
Simple search returns all entries with matching attributes
(AND)
|
java.util.Collection |
children(COM.FutureTense.Interfaces.ICS ics,
IName dn)
Retrieves the immediate child entries of the specified parent.
|
void |
create(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Create an object.
|
void |
delete(COM.FutureTense.Interfaces.ICS ics,
IName dn)
Delete the specified entry.
|
void |
deleteAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Delete the specified attributes from the specified entry.
|
Attributes |
getAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
java.lang.String[] attrs)
Retrieve the specified attributes from the specified entry.
|
java.util.Collection |
orSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes)
Simple search returns all entries with attributes matching any of
those specified (OR); searches under Properties.baseDN
|
java.util.Collection |
orSearch(COM.FutureTense.Interfaces.ICS ics,
IName parent,
Attributes matchingAttributes)
Simple search returns all entries attributes matching any of
those specified (OR)
|
void |
replaceAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Replace the existing attribute value(s) with the specified
value(s).
|
void create(COM.FutureTense.Interfaces.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.DirectoryException
void delete(COM.FutureTense.Interfaces.ICS ics, IName dn) throws DirectoryException
dn
- Distinguished name of entry to be deleted.DirectoryException
java.util.Collection andSearch(COM.FutureTense.Interfaces.ICS ics, Attributes matchingAttributes) throws DirectoryException
matchingAttributes
- The name value pairs to matchDirectoryException
java.util.Collection andSearch(COM.FutureTense.Interfaces.ICS ics, IName parent, Attributes matchingAttributes) throws DirectoryException
parent
- The entry under which to searchmatchingAttributes
- The name value pairs to matchDirectoryException
java.util.Collection orSearch(COM.FutureTense.Interfaces.ICS ics, Attributes matchingAttributes) throws DirectoryException
matchingAttributes
- The name value pairs to matchDirectoryException
java.util.Collection orSearch(COM.FutureTense.Interfaces.ICS ics, IName parent, Attributes matchingAttributes) throws DirectoryException
parent
- The entry under which to searchmatchingAttributes
- The name value pairs to matchDirectoryException
java.util.Collection children(COM.FutureTense.Interfaces.ICS ics, IName dn) throws DirectoryException
dn
- The distinguished name of the entry for which
children are to be found.DirectoryException
void addAttrs(COM.FutureTense.Interfaces.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.DirectoryException
void replaceAttrs(COM.FutureTense.Interfaces.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.DirectoryException
void deleteAttrs(COM.FutureTense.Interfaces.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.DirectoryException
Attributes getAttrs(COM.FutureTense.Interfaces.ICS ics, IName dn, java.lang.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