class ModelFactoryImpl extends Object implements ModelFactory
ModelFactory.| Constructor and Description |
|---|
ModelFactoryImpl() |
| 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. |
public org.apache.directory.api.ldap.model.message.AddRequest newAddRequest(org.apache.directory.api.ldap.model.entry.Entry entry)
AddRequest for the entry.newAddRequest in interface ModelFactoryentry - The Entry to addpublic org.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.newAttribute in interface ModelFactoryname - The attribute's namepublic org.apache.directory.api.ldap.model.entry.Attribute newAttribute(String name, byte[]... values)
name and
value(s).newAttribute in interface ModelFactoryname - The attribute's namevalues - The attribute's valuespublic org.apache.directory.api.ldap.model.entry.Attribute newAttribute(String name, String... values)
name and
value(s).newAttribute in interface ModelFactoryname - The attribute's namevalues - The attribute's valuespublic org.apache.directory.api.ldap.model.entry.Attribute newAttribute(String name, org.apache.directory.api.ldap.model.entry.Value... values)
name and
value(s).newAttribute in interface ModelFactoryname - The attribute's namevalues - The attribute's valuespublic org.apache.directory.api.ldap.model.message.DeleteRequest newDeleteRequest(org.apache.directory.api.ldap.model.name.Dn dn)
DeleteRequest for the dn.newDeleteRequest in interface ModelFactorydn - The Dn for the Entry to deletepublic org.apache.directory.api.ldap.model.name.Dn newDn(String dn)
Dn that represents dn.newDn in interface ModelFactorydn - The Entry's Dnpublic org.apache.directory.api.ldap.model.entry.Entry newEntry(String dn)
Entry with the specified dn.newEntry in interface ModelFactorydn - The Entry's Dnpublic org.apache.directory.api.ldap.model.entry.Entry newEntry(org.apache.directory.api.ldap.model.name.Dn dn)
Entry with the specified dn.newEntry in interface ModelFactorydn - The Entry's Dnpublic org.apache.directory.api.ldap.model.message.ModifyRequest newModifyRequest(String dn)
ModifyRequest for the dn.newModifyRequest in interface ModelFactorydn - The Dn of the entry to modifypublic org.apache.directory.api.ldap.model.message.ModifyRequest newModifyRequest(org.apache.directory.api.ldap.model.name.Dn dn)
ModifyRequest for the dn.newModifyRequest in interface ModelFactorydn - The DN of the entry to modifypublic org.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.newSearchRequest in interface ModelFactorybaseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look frompublic org.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.newSearchRequest in interface ModelFactorybaseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look frompublic 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)
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry.newSearchRequest in interface ModelFactorybaseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look frompublic 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)
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry.newSearchRequest in interface ModelFactorybaseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look frompublic org.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.newSearchRequest in interface ModelFactorybaseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromattributes - The list of AttributeType to returnpublic org.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.newSearchRequest in interface ModelFactorybaseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromattributes - The list of AttributeType to returnpublic 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)
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry.newSearchRequest in interface ModelFactorybaseDn - The base DN from which to start the searchfilter - The filter selecting the entriesscope - The scope to look fromattributes - The list of AttributeType to returnpublic 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)
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry.newSearchRequest in interface ModelFactorybaseDn - 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–2019 The Apache Software Foundation. All rights reserved.