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

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

public class LDAPGetAttributesResponse
extends LDAPResponse

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


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

LDAPGetAttributesResponse

public LDAPGetAttributesResponse()
LDAPGetAttributesResponse 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.directory.Attributes object is returned from LDAP. javax.naming.directory.Attributes is a collection of javax.naming.directory.Attribute objects. Each of these javax.naming.directory.Attribute objects is composed of a name:values pair. These name:values pairs are stored in this response model as 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 getattributes 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 -