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 TypeMethodDescriptionbooleanReturns the LDAP attributes that should be requested in a search whereContextMapperWithRequiredAttributes.mapFromContext(Object)will be called on the results.inthashCode()mapFromContext(Object ctx)
-
Constructor Details
-
NamedEntityMapper
-
-
Method Details
-
mapFromContext
- Specified by:
mapFromContextin interfaceorg.springframework.ldap.core.ContextMapper- Specified by:
mapFromContextin interfaceContextMapperWithRequiredAttributes<NamedLdapEntity>
-
getRequiredLdapAttributes
Description copied from interface:ContextMapperWithRequiredAttributesReturns the LDAP attributes that should be requested in a search whereContextMapperWithRequiredAttributes.mapFromContext(Object)will be called on the results. If an implementation returnsnullthen all attributes will be requested.- Specified by:
getRequiredLdapAttributesin interfaceContextMapperWithRequiredAttributes<NamedLdapEntity>- Returns:
- the LDAP attributes that should be requested, or
nullfor all
-
equals
-
hashCode
public int hashCode()
-