com.ibm.btt.services.ldap.model
Class LDAPListResponse
java.lang.Object
com.ibm.btt.services.ldap.model.LDAPResponse
com.ibm.btt.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.
Constructor Summary |
LDAPListResponse()
This constructor creates an LDAPListResponse object. |
LDAPListResponse(java.lang.String responseType)
This constructor creates an LDAPListResponse 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 list response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LDAPListResponse
public LDAPListResponse()
- This constructor creates an LDAPListResponse object.
LDAPListResponse
public LDAPListResponse(java.lang.String responseType)
- This constructor creates an LDAPListResponse object.
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. 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.
- 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 list 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
(c) Copyright IBM Corporation 1998, 2009