public class CompareRequestDsml extends AbstractResultResponseRequestDsml<CompareRequest,CompareResponse> implements CompareRequest
| Constructor and Description |
|---|
CompareRequestDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of CompareRequestDsml.
|
CompareRequestDsml(LdapApiService codec,
CompareRequest ldapMessage)
Creates a new getDecoratedMessage() of CompareRequestDsml.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getAttributeDesc()
Get the attribute description
|
String |
getAttributeId()
Gets the attribute id use in making the comparison.
|
Dn |
getName()
Get the entry to be compared
|
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces
at least one response.
|
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message.
|
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.
|
void |
setAssertionValue(Object assertionValue)
Set the assertion value
|
CompareRequest |
setAssertionValue(String value)
Sets the attribute value to use in the comparison.
|
void |
setAttributeDesc(String attributeDesc)
Set the attribute description
|
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 entry)
Set the entry to be compared
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Creates the Request Element and adds RequestID and Controls.
|
abandon, addAbandonListener, computeLength, encode, getResultResponse, isAbandonedhasResponseget, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, putclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResultResponsehasResponseget, getControl, getControls, getMessageId, hasControl, putabandon, addAbandonListener, isAbandonedpublic CompareRequestDsml(LdapApiService codec)
public CompareRequestDsml(LdapApiService codec, CompareRequest ldapMessage)
ldapMessage - the message to decoratepublic MessageTypeEnum getType()
getType in interface MessagegetType in class AbstractDsmlMessageDecorator<CompareRequest>public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml in interface DsmlDecorator<CompareRequest>toDsml in class AbstractResultResponseRequestDsml<CompareRequest,CompareResponse>root - the root elementpublic Dn getName()
getName in interface CompareRequestpublic CompareRequest setName(Dn entry)
setName in interface CompareRequestentry - The entry to set.public void setAssertionValue(Object assertionValue)
assertionValue - The assertionValue to set.public String getAttributeDesc()
public void setAttributeDesc(String attributeDesc)
attributeDesc - The attributeDesc to set.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic CompareRequest setAssertionValue(String value)
setAssertionValue in interface CompareRequestvalue - the attribute value used in comparison.public CompareRequest setAssertionValue(byte[] value)
setAssertionValue in interface CompareRequestvalue - the attribute value used in comparison.public String getAttributeId()
getAttributeId in interface CompareRequestpublic CompareRequest setAttributeId(String attrId)
setAttributeId in interface CompareRequestattrId - the attribute id used in comparison.public Value<?> getAssertionValue()
getAssertionValue in interface CompareRequestpublic CompareRequest setMessageId(int messageId)
setMessageId in interface CompareRequestsetMessageId in interface MessagesetMessageId in class AbstractDsmlMessageDecorator<CompareRequest>messageId - The message Idpublic CompareRequest addControl(Control control)
addControl in interface CompareRequestaddControl in interface MessageaddControl in class AbstractDsmlMessageDecorator<CompareRequest>control - the control to add.public CompareRequest addAllControls(Control[] controls)
addAllControls in interface CompareRequestaddAllControls in interface MessageaddAllControls in class AbstractDsmlMessageDecorator<CompareRequest>controls - the controls to add.public CompareRequest removeControl(Control control)
removeControl in interface CompareRequestremoveControl in interface MessageremoveControl in class AbstractDsmlMessageDecorator<CompareRequest>control - the control to remove.Copyright © 2021. All rights reserved.