|
|||||||||
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.LDAPRequest
This is the top level class for supporting requests to the LDAP Access Service. It provides basic information needed by all LDAP requests, and is extended to support specific LDAP requests.
Field Summary | |
static java.lang.String |
COMPID
|
protected java.lang.String |
requestType
|
Constructor Summary | |
LDAPRequest()
LDAPRequest constructor. |
Method Summary | |
boolean |
getBooleanValue(Context context,
java.lang.String name,
boolean required)
Functionally the same as getValue(Context, String, boolean), except that this attempts to parse the value obtained from the context into a boolean. |
int |
getIntValue(Context context,
java.lang.String name,
boolean required)
Functionally the same as getValue(Context, String, boolean), except that this attempts to parse the value obtained from the context into an int. |
java.lang.String |
getName()
Returns the LDAP name attributes of this model. |
java.lang.String |
getRequestType()
Returns the request type of this request model. |
java.lang.Object |
getValue(Context context,
java.lang.String name,
boolean required)
Obtains a named value from the supplied context and returns it. |
void |
mapFromContext(Context context)
This method supports externalization of an LDAP request. |
void |
setName(java.lang.String newRelativeDN)
Set the LDAP name attribute of this request model. |
void |
setRequestType(java.lang.String newRequestType)
Set the request type of this request model. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String COMPID
protected java.lang.String requestType
Constructor Detail |
public LDAPRequest()
Method Detail |
public boolean getBooleanValue(Context context, java.lang.String name, boolean required) throws DSEException
context
- com.ibm.dse.base.Contextname
- java.lang.Stringrequired
- booleanpublic int getIntValue(Context context, java.lang.String name, boolean required) throws DSEException
context
- com.ibm.dse.base.Contextname
- java.lang.Stringrequired
- booleanpublic java.lang.String getName()
public java.lang.String getRequestType()
public java.lang.Object getValue(Context context, java.lang.String name, boolean required) throws DSEException
context
- com.ibm.dse.base.Contextname
- java.lang.Stringrequired
- booleanpublic void mapFromContext(Context context) throws DSEException
context
- com.ibm.dse.base.Contextpublic void setName(java.lang.String newRelativeDN)
newRelativeDN
- java.lang.Stringpublic void setRequestType(java.lang.String newRequestType)
newRequestType
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |