IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

java.lang.Object
  extended by com.ibm.btt.services.ldap.model.LDAPResponse
      extended by com.ibm.btt.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.


Field Summary
 
Fields inherited from class com.ibm.btt.services.ldap.model.LDAPResponse
ldapReturnObject, responseType
 
Constructor Summary
LDAPSearchResponse()
          This constructor creates an LDAPSearchResponse object.
 
Method Summary
 void mapFromLDAPData(java.lang.Object data)
          Maps data returned from LDAP into this response model.
 void mapToContext(Context context)
          Supports externalization of an LDAP search response.
 
Methods inherited from class com.ibm.btt.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()
This constructor creates an LDAPSearchResponse object.

Method Detail

mapFromLDAPData

public void mapFromLDAPData(java.lang.Object data)
                     throws DSEException
Maps data returned from LDAP into this response model. 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.

Overrides:
mapFromLDAPData in class LDAPResponse
Parameters:
data - java.lang.Object
Throws:
DSEException

mapToContext

public void mapToContext(Context context)
                  throws DSEException
Supports externalization of an LDAP search response. It maps data from this response model into a context.

Overrides:
mapToContext in class LDAPResponse
Parameters:
context - com.ibm.btt.base.Context
Throws:
DSEException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009