Package com.atlassian.crowd.directory
Class NamedLdapEntity.NamedEntityMapper
java.lang.Object
com.atlassian.crowd.directory.NamedLdapEntity.NamedEntityMapper
- All Implemented Interfaces:
ContextMapperWithRequiredAttributes<NamedLdapEntity>
,org.springframework.ldap.core.ContextMapper
- Enclosing class:
- NamedLdapEntity
public static class NamedLdapEntity.NamedEntityMapper
extends Object
implements ContextMapperWithRequiredAttributes<NamedLdapEntity>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the LDAP attributes that should be requested in a search whereContextMapperWithRequiredAttributes.mapFromContext(Object)
will be called on the results.int
hashCode()
mapFromContext
(Object ctx)
-
Constructor Details
-
NamedEntityMapper
-
-
Method Details
-
mapFromContext
- Specified by:
mapFromContext
in interfaceorg.springframework.ldap.core.ContextMapper
- Specified by:
mapFromContext
in interfaceContextMapperWithRequiredAttributes<NamedLdapEntity>
-
getRequiredLdapAttributes
Description copied from interface:ContextMapperWithRequiredAttributes
Returns the LDAP attributes that should be requested in a search whereContextMapperWithRequiredAttributes.mapFromContext(Object)
will be called on the results. If an implementation returnsnull
then all attributes will be requested.- Specified by:
getRequiredLdapAttributes
in interfaceContextMapperWithRequiredAttributes<NamedLdapEntity>
- Returns:
- the LDAP attributes that should be requested, or
null
for all
-
equals
-
hashCode
public int hashCode()
-