|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.services.ldap.model.LDAPResponse
This class provides basic support for wrapping data returned from an LDAP provider, via the LDAP Access Service. Each of the request models for the LDAP Access Service has a corresponding response model, which extends from this class.
Field Summary | |
protected java.lang.Object |
ldapReturnObject
|
protected java.lang.String |
responseType
|
Constructor Summary | |
LDAPResponse()
LDAPResponse constructor. |
Method Summary | |
protected void |
addDataFieldToColl(DataCollection coll,
java.lang.String name,
java.lang.Object value)
Creates a DataField object from supplied arguments and adds it to the supplied collection. |
KeyedCollection |
getKeyedCollection(Context context,
java.lang.String name,
boolean create)
Obtains a keyed collection from the supplied context using the supplied name. |
java.lang.Object |
getLDAPReturnObject()
Returns the 'native' LDAP object stored in this response model. |
java.lang.String |
getResponseType()
Returns the response type for this response model. |
void |
mapFromLDAPData(java.lang.Object data)
The default action of this function is to store the data object returned by LDAP. |
void |
mapToContext(Context context)
This method supports externalization of an LDAP response. |
void |
setLDAPReturnObject(java.lang.Object object)
Stores the 'native' object returned by LDAP in this request model, as-is. |
void |
setResponseType(java.lang.String newResponseType)
Sets the response type for this response model |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String responseType
protected java.lang.Object ldapReturnObject
Constructor Detail |
public LDAPResponse()
Method Detail |
protected void addDataFieldToColl(DataCollection coll, java.lang.String name, java.lang.Object value) throws DSEException
coll
- com.ibm.dse.base.DataCollectionname
- java.lang.Stringvalue
- java.lang.Objectpublic KeyedCollection getKeyedCollection(Context context, java.lang.String name, boolean create)
context
- com.ibm.dse.base.Contextname
- java.lang.Stringcreate
- booleanpublic java.lang.Object getLDAPReturnObject()
public java.lang.String getResponseType()
public void mapFromLDAPData(java.lang.Object data) throws DSEException
data
- java.lang.Objectpublic void mapToContext(Context context) throws DSEException
context
- com.ibm.dse.base.Contextpublic void setLDAPReturnObject(java.lang.Object object)
newLdapReturnObject
- java.lang.Objectpublic void setResponseType(java.lang.String newResponseType)
newResponseType
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |