public class DelRequestDsml extends AbstractResultResponseRequestDsml<DeleteRequest,DeleteResponse> implements DeleteRequest
| Constructor and Description |
|---|
DelRequestDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of DelRequestDsml.
|
DelRequestDsml(LdapApiService codec,
DeleteRequest ldapMessage)
Creates a new getDecoratedMessage() of DelRequestDsml.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
DeleteRequest |
addControl(Control control)
Adds a control to this Message.
|
Dn |
getEntry()
Get the entry to be deleted
|
Dn |
getName()
Gets the distinguished name of the leaf entry to be deleted by this
request.
|
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.
|
DeleteRequest |
removeControl(Control control)
Deletes a control removing it from this Message.
|
void |
setEntry(Dn entry)
Set the entry to be deleted
|
DeleteRequest |
setMessageId(int messageId)
Sets the Message ID for this request
|
DeleteRequest |
setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this
request.
|
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 DelRequestDsml(LdapApiService codec)
public DelRequestDsml(LdapApiService codec, DeleteRequest ldapMessage)
ldapMessage - the message to decoratepublic MessageTypeEnum getType()
getType in interface MessagegetType in class AbstractDsmlMessageDecorator<DeleteRequest>public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml in interface DsmlDecorator<DeleteRequest>toDsml in class AbstractResultResponseRequestDsml<DeleteRequest,DeleteResponse>root - the root elementpublic Dn getEntry()
public void setEntry(Dn entry)
entry - The entry to set.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic Dn getName()
getName in interface DeleteRequestpublic DeleteRequest setName(Dn name)
setName in interface DeleteRequestname - the Dn of the leaf entry to delete.public DeleteRequest setMessageId(int messageId)
setMessageId in interface DeleteRequestsetMessageId in interface MessagesetMessageId in class AbstractDsmlMessageDecorator<DeleteRequest>messageId - The message Idpublic DeleteRequest addControl(Control control)
addControl in interface DeleteRequestaddControl in interface MessageaddControl in class AbstractDsmlMessageDecorator<DeleteRequest>control - the control to add.public DeleteRequest addAllControls(Control[] controls)
addAllControls in interface DeleteRequestaddAllControls in interface MessageaddAllControls in class AbstractDsmlMessageDecorator<DeleteRequest>controls - the controls to add.public DeleteRequest removeControl(Control control)
removeControl in interface DeleteRequestremoveControl in interface MessageremoveControl in class AbstractDsmlMessageDecorator<DeleteRequest>control - the control to remove.Copyright © 2021. All rights reserved.