public interface ModelFactory
org.apache.directory.api.ldap.model objects.| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.message.AddRequest |
newAddRequest(org.apache.directory.api.ldap.model.entry.Entry entry)
Returns a new
AddRequest for the entry. |
org.apache.directory.api.ldap.model.entry.Attribute |
newAttribute(String name)
Returns a new Attribute for with the provided
name and
a null value. |
org.apache.directory.api.ldap.model.entry.Attribute |
newAttribute(String name,
byte[]... values)
Returns a new Attribute for with the provided
name and
value(s). |
org.apache.directory.api.ldap.model.entry.Attribute |
newAttribute(String name,
String... values)
Returns a new Attribute for with the provided
name and
value(s). |
org.apache.directory.api.ldap.model.entry.Attribute |
newAttribute(String name,
org.apache.directory.api.ldap.model.entry.Value<?>... values)
Returns a new Attribute for with the provided
name and
value(s). |
org.apache.directory.api.ldap.model.message.DeleteRequest |
newDeleteRequest(org.apache.directory.api.ldap.model.name.Dn dn)
Returns a new
DeleteRequest for the dn. |
org.apache.directory.api.ldap.model.name.Dn |
newDn(String dn)
Returns a
Dn that represents dn. |
org.apache.directory.api.ldap.model.entry.Entry |
newEntry(org.apache.directory.api.ldap.model.name.Dn dn)
Returns a
Entry with the specified dn. |
org.apache.directory.api.ldap.model.entry.Entry |
newEntry(String dn)
Returns a
Entry with the specified dn. |
org.apache.directory.api.ldap.model.message.ModifyRequest |
newModifyRequest(org.apache.directory.api.ldap.model.name.Dn dn)
Returns a new
ModifyRequest for the dn. |
org.apache.directory.api.ldap.model.message.ModifyRequest |
newModifyRequest(String dn)
Returns a new
ModifyRequest for the dn. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
FilterBuilder filter,
org.apache.directory.api.ldap.model.message.SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
FilterBuilder filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(String baseDn,
FilterBuilder filter,
org.apache.directory.api.ldap.model.message.SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(String baseDn,
FilterBuilder filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.SearchRequest |
newSearchRequest(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
org.apache.directory.api.ldap.model.message.AddRequest newAddRequest(org.apache.directory.api.ldap.model.entry.Entry entry)
AddRequest for the entry.entry - The Entry to addorg.apache.directory.api.ldap.model.entry.Attribute newAttribute(String name)
name and
a null value. This is useful for clearing out an Attribute with a
ModifyRequest, replace function.name - The attribute's nameorg.apache.directory.api.ldap.model.entry.Attribute newAttribute(String name, byte[]... values)
name and
value(s).name - The attribute's namevalues - The attribute's valuesorg.apache.directory.api.ldap.model.entry.Attribute newAttribute(String name, String... values)
name and
value(s).name - The attribute's namevalues - The attribute's valuesorg.apache.directory.api.ldap.model.entry.Attribute newAttribute(String name, org.apache.directory.api.ldap.model.entry.Value<?>... values)
name and
value(s).name - The attribute's namevalues - The attribute's valuesorg.apache.directory.api.ldap.model.message.DeleteRequest newDeleteRequest(org.apache.directory.api.ldap.model.name.Dn dn)
DeleteRequest for the dn.dn - The Dn for the Entry to deleteorg.apache.directory.api.ldap.model.name.Dn newDn(String dn)
Dn that represents dn.dn - The Entry's Dnorg.apache.directory.api.ldap.model.entry.Entry newEntry(String dn)
Entry with the specified dn.dn - The Entry's Dnorg.apache.directory.api.ldap.model.entry.Entry newEntry(org.apache.directory.api.ldap.model.name.Dn dn)
Entry with the specified dn.dn - The Entry's Dnorg.apache.directory.api.ldap.model.message.ModifyRequest newModifyRequest(String dn)
ModifyRequest for the dn.dn - The Dn of the entry to modifyorg.apache.directory.api.ldap.model.message.ModifyRequest newModifyRequest(org.apache.directory.api.ldap.model.name.Dn dn)
ModifyRequest for the dn.dn - The DN of the entry to modifyorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(String baseDn, FilterBuilder filter, org.apache.directory.api.ldap.model.message.SearchScope scope)
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(String baseDn, String filter, org.apache.directory.api.ldap.model.message.SearchScope scope)
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope)
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
FilterBuilder filter,
org.apache.directory.api.ldap.model.message.SearchScope scope)
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(String baseDn, String filter, org.apache.directory.api.ldap.model.message.SearchScope scope, String... attributes)
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromattributes - The list of AttributeType to returnorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(String baseDn, FilterBuilder filter, org.apache.directory.api.ldap.model.message.SearchScope scope, String... attributes)
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromattributes - The list of AttributeType to returnorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromattributes - The list of AttributeType to returnorg.apache.directory.api.ldap.model.message.SearchRequest newSearchRequest(org.apache.directory.api.ldap.model.name.Dn baseDn,
FilterBuilder filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry.baseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromattributes - The list of AttributeType to returnCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.