com.ibm.dse.services.ldap.model
Class LDAPSearchResponse

java.lang.Object
  |
  +--com.ibm.dse.services.ldap.model.LDAPResponse
        |
        +--com.ibm.dse.services.ldap.model.LDAPSearchResponse

public class LDAPSearchResponse
extends LDAPResponse

This class wraps the data returned from an LDAP provider via the LDAP Access Service, in response to a search request.


Fields inherited from class com.ibm.dse.services.ldap.model.LDAPResponse
ldapReturnObject, responseType
 
Constructor Summary
LDAPSearchResponse()
          LDAPSearchResponse constructor.
 
Method Summary
 void mapFromLDAPData(java.lang.Object data)
          Data returned from LDAP is mapped into this response model using this function.
 void mapToContext(Context context)
          This method supports externalization of an LDAP search response.
 
Methods inherited from class com.ibm.dse.services.ldap.model.LDAPResponse
addDataFieldToColl, getKeyedCollection, getLDAPReturnObject, getResponseType, setLDAPReturnObject, setResponseType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPSearchResponse

public LDAPSearchResponse()
LDAPSearchResponse constructor.
Method Detail

mapFromLDAPData

public void mapFromLDAPData(java.lang.Object data)
                     throws DSEException
Data returned from LDAP is mapped into this response model using this function. A javax.naming.NamingEnumeration object is returned from LDAP. This enumeration contains objects of type javax.naming.directory.SearchResult. Each of these objects in turn contains a set of attributes. These attributes are stored in a collection of collections.
Overrides:
mapFromLDAPData in class LDAPResponse
Parameters:
data - java.lang.Object
Throws:
DSEException -  

mapToContext

public void mapToContext(Context context)
                  throws DSEException
This method supports externalization of an LDAP search response. It maps data from this response model into a Composer context.
Overrides:
mapToContext in class LDAPResponse
Parameters:
context - com.ibm.dse.base.Context
Throws:
DSEException -