|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IncrementalAttributesMapper
Utility that helps with reading all attribute values from Active Directory using Incremental Retrieval of Multi-valued Properties.
org.springframework.ldap.core.support.DefaultIncrementalAttributesMapper}
Method Summary | |
---|---|
String[] |
getAttributesForLookup()
Get properly formatted attributes for use in the next query. |
Attributes |
getCollectedAttributes()
Get all collected values for all managed attributes as an Attributes instance. |
List |
getValues(String attributeName)
Get all of the collected values for the specified attribute. |
boolean |
hasMore()
Check whether another query iteration is required to get all values for all attributes. |
Object |
mapFromAttributes(Attributes attributes)
Goes through all of the attributes to record their values and figure out whether a new query iteration is needed to get more values. |
Method Detail |
---|
List getValues(String attributeName)
attributeName
- the attribute to get values for.
null
if the requested attribute has not been returned by the server (attribute did not exist).Attributes getCollectedAttributes()
boolean hasMore()
true
if there are more values for at least one of the managed attributes,
false
otherwise.String[] getAttributesForLookup()
LdapTemplate.lookup(javax.naming.Name, String[], org.springframework.ldap.core.AttributesMapper)
in the next iteration.Object mapFromAttributes(Attributes attributes) throws NamingException
mapFromAttributes
in interface AttributesMapper
attributes
- attributes from a SearchResult.
NamingException
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |