|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompareRequest
Compare request protocol message that tests an entry to see if it abides by an attribute value assertion.
| Field Summary | |
|---|---|
static MessageTypeEnum |
RESP_TYPE
Compare response message type enum code |
static MessageTypeEnum |
TYPE
Compare request message type enum code |
| Method Summary | |
|---|---|
CompareRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message. |
CompareRequest |
addControl(Control control)
Adds a control to this Message. |
Value<?> |
getAssertionValue()
Gets the attribute value to use in making the comparison. |
String |
getAttributeId()
Gets the attribute id use in making the comparison. |
Dn |
getName()
Gets the distinguished name of the entry to be compared using the attribute value assertion. |
CompareRequest |
removeControl(Control control)
Deletes a control removing it from this Message. |
CompareRequest |
setAssertionValue(byte[] value)
Sets the attribute value to use in the comparison. |
CompareRequest |
setAssertionValue(String value)
Sets the attribute value to use in the comparison. |
CompareRequest |
setAttributeId(String attrId)
Sets the attribute id used in the comparison. |
CompareRequest |
setMessageId(int messageId)
Sets the Message ID for this request |
CompareRequest |
setName(Dn name)
Sets the distinguished name of the entry to be compared using the attribute value assertion. |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest |
|---|
getResponseType |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponseRequest |
|---|
getResultResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Request |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
get, getControl, getControls, getMessageId, getType, hasControl, put |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.AbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Field Detail |
|---|
static final MessageTypeEnum TYPE
static final MessageTypeEnum RESP_TYPE
| Method Detail |
|---|
Dn getName()
CompareRequest setName(Dn name)
name - the Dn of the compared entry.
Value<?> getAssertionValue()
CompareRequest setAssertionValue(String value)
value - the attribute value used in comparison.
CompareRequest setAssertionValue(byte[] value)
value - the attribute value used in comparison.
String getAttributeId()
CompareRequest setAttributeId(String attrId)
attrId - the attribute id used in comparison.
CompareRequest setMessageId(int messageId)
setMessageId in interface MessagemessageId - The message Id
CompareRequest addControl(Control control)
throws MessageException
addControl in interface Messagecontrol - the control to add.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
CompareRequest addAllControls(Control[] controls)
throws MessageException
addAllControls in interface Messagecontrols - the controls to add.
MessageException - if controls cannot be added to this Message or they are not known etc.
CompareRequest removeControl(Control control)
throws MessageException
removeControl in interface Messagecontrol - the control to remove.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||