public class JpegPhotoContextMapper extends Object implements ContextMapperWithRequiredAttributes<AvatarReference.BlobAvatar>
Constructor and Description |
---|
JpegPhotoContextMapper() |
JpegPhotoContextMapper(String propertyName) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getRequiredLdapAttributes()
Returns the LDAP attributes that should be requested in a search where
ContextMapperWithRequiredAttributes.mapFromContext(Object) will
be called on the results. |
AvatarReference.BlobAvatar |
mapFromContext(Object ctx) |
public JpegPhotoContextMapper()
public JpegPhotoContextMapper(String propertyName)
public Set<String> getRequiredLdapAttributes()
ContextMapperWithRequiredAttributes
ContextMapperWithRequiredAttributes.mapFromContext(Object)
will
be called on the results. If an implementation returns null
then all attributes will
be requested.getRequiredLdapAttributes
in interface ContextMapperWithRequiredAttributes<AvatarReference.BlobAvatar>
null
for allpublic AvatarReference.BlobAvatar mapFromContext(Object ctx)
mapFromContext
in interface ContextMapperWithRequiredAttributes<AvatarReference.BlobAvatar>
mapFromContext
in interface org.springframework.ldap.core.ContextMapper
Copyright © 2017 Atlassian. All rights reserved.