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

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

public class LDAPListResponse
extends LDAPResponse

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


Fields inherited from class com.ibm.dse.services.ldap.model.LDAPResponse
ldapReturnObject, responseType
 
Constructor Summary
LDAPListResponse()
          LDAPListResponse contructor.
 
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 list 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

LDAPListResponse

public LDAPListResponse()
LDAPListResponse contructor.
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. For the list request type the enumeration contains objects of javax.naming.NameClassPair. For the listbindings request type the enumeration contains objects of javax.naming.Binding. These objects are stored in a collection in this response model.
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 list 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 -