|
spring-ldap-odm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.odm.core.impl.OdmManagerImpl
public final class OdmManagerImpl
An implementation of OdmManager which
uses ConverterManager to
convert between Java and LDAP representations of attribute values.
| Constructor Summary | |
|---|---|
OdmManagerImpl(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager,
org.springframework.ldap.core.ContextSource contextSource)
Deprecated. |
|
OdmManagerImpl(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager,
org.springframework.ldap.core.ContextSource contextSource,
Set<Class<?>> managedClasses)
Deprecated. |
|
OdmManagerImpl(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager,
org.springframework.ldap.core.LdapOperations ldapOperations,
Set<Class<?>> managedClasses)
Deprecated. |
|
| Method Summary | ||
|---|---|---|
void |
addManagedClass(Class<?> managedClass)
Deprecated. Adds an org.springframework.ldap.odm.annotations annotated class to the set
managed by this OdmManager. |
|
void |
create(Object entry)
Deprecated. Create the given entry in the LDAP directory. |
|
void |
delete(Object entry)
Deprecated. Delete an entry from the LDAP directory. |
|
|
findAll(Class<T> managedClass,
Name base,
SearchControls scope)
Deprecated. Find all entries in the LDAP directory of a given type. |
|
|
read(Class<T> clazz,
Name dn)
Deprecated. Read a named entry from the LDAP directory. |
|
|
search(Class<T> clazz,
org.springframework.ldap.query.LdapQuery query)
Deprecated. Search for entries in the LDAP directory. |
|
|
search(Class<T> managedClass,
Name base,
String filter,
SearchControls scope)
Deprecated. Search for entries in the LDAP directory. |
|
void |
update(Object entry)
Deprecated. Update the given entry in the LDAP directory. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OdmManagerImpl(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager,
org.springframework.ldap.core.LdapOperations ldapOperations,
Set<Class<?>> managedClasses)
public OdmManagerImpl(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager,
org.springframework.ldap.core.ContextSource contextSource,
Set<Class<?>> managedClasses)
public OdmManagerImpl(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager,
org.springframework.ldap.core.ContextSource contextSource)
| Method Detail |
|---|
public void addManagedClass(Class<?> managedClass)
org.springframework.ldap.odm.annotations annotated class to the set
managed by this OdmManager.
managedClass - The class to add to the managed set.
public <T> T read(Class<T> clazz,
Name dn)
OdmManager
read in interface OdmManagerT - The Java type to returnclazz - The Java type to returndn - The distinguished name of the entry to read from the LDAP directory.
public void create(Object entry)
OdmManager
create in interface OdmManagerentry - The entry to be create, it must not already exist in the directory.public void update(Object entry)
OdmManager
update in interface OdmManagerentry - The entry to update, it must already exist in the directory.public void delete(Object entry)
OdmManager
delete in interface OdmManagerentry - The entry to delete, it must already exist in the directory.
public <T> List<T> search(Class<T> managedClass,
Name base,
String filter,
SearchControls scope)
OdmManagerOnly those entries that both match the given search filter and are represented by the given Java class are returned
search in interface OdmManagerT - The Java type to returnmanagedClass - The Java type to returnbase - The root of the sub-tree at which to begin the search.filter - An LDAP search filter.scope - The scope of the search.
public <T> List<T> search(Class<T> clazz,
org.springframework.ldap.query.LdapQuery query)
OdmManagerOnly those entries that both match the query search filter and are represented by the given Java class are returned.
search in interface OdmManagerT - The Java type to returnclazz - The Java type to returnquery - the LDAP query specification
LdapQueryBuilder
public <T> List<T> findAll(Class<T> managedClass,
Name base,
SearchControls scope)
OdmManager
findAll in interface OdmManagerT - The Java type to returnmanagedClass - The Java type to returnbase - The root of the sub-tree at which to begin the search.scope - The scope of the search.
|
spring-ldap-odm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||