|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.dsmlv2.AbstractDsmlMessageDecorator<E>
org.apache.directory.api.dsmlv2.request.AbstractRequestDsml<AbandonRequest>
org.apache.directory.api.dsmlv2.request.AbandonRequestDsml
public class AbandonRequestDsml
DSML Decorator for AbandonRequest
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.api.ldap.model.message.AbandonRequest |
|---|
TYPE |
| Constructor Summary | |
|---|---|
AbandonRequestDsml(LdapApiService codec)
Creates a new instance of AbandonRequestDsml. |
|
AbandonRequestDsml(LdapApiService codec,
AbandonRequest ldapMessage)
Creates a new instance of AbandonRequestDsml. |
|
| Method Summary | |
|---|---|
AbandonRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message. |
AbandonRequest |
addControl(Control control)
Adds a control to this Message. |
int |
getAbandoned()
Gets the id of the request operation to terminate. |
int |
getAbandonedMessageId()
Get the abandoned message ID |
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message. |
AbandonRequest |
removeControl(Control control)
Deletes a control removing it from this Message. |
AbandonRequest |
setAbandoned(int requestId)
Sets the id of the request operation to terminate. |
AbandonRequest |
setAbandonedMessageId(int abandonedMessageId)
Set the abandoned message ID |
AbandonRequest |
setMessageId(int messageId)
Sets the Message ID for this request |
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Creates the Request Element and adds RequestID and Controls. |
| Methods inherited from class org.apache.directory.api.dsmlv2.request.AbstractRequestDsml |
|---|
computeLength, encode, hasResponse |
| Methods inherited from class org.apache.directory.api.dsmlv2.AbstractDsmlMessageDecorator |
|---|
get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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, hasControl, put |
| Constructor Detail |
|---|
public AbandonRequestDsml(LdapApiService codec)
public AbandonRequestDsml(LdapApiService codec,
AbandonRequest ldapMessage)
ldapMessage - the message to decorate| Method Detail |
|---|
public MessageTypeEnum getType()
getType in interface MessagegetType in class AbstractDsmlMessageDecorator<AbandonRequest>public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml in interface DsmlDecorator<AbandonRequest>toDsml in class AbstractRequestDsml<AbandonRequest>root - the root element
public int getAbandonedMessageId()
public AbandonRequest setAbandonedMessageId(int abandonedMessageId)
abandonedMessageId - The abandoned messageID to set.public int getAbandoned()
getAbandoned in interface AbandonRequestpublic AbandonRequest setAbandoned(int requestId)
setAbandoned in interface AbandonRequestrequestId - the sequence id of the request message to abandon
public AbandonRequest setMessageId(int messageId)
setMessageId in interface MessagesetMessageId in class AbstractDsmlMessageDecorator<AbandonRequest>messageId - The message Id
public AbandonRequest addControl(Control control)
throws MessageException
addControl in interface MessageaddControl in class AbstractDsmlMessageDecorator<AbandonRequest>control - the control to add.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
public AbandonRequest addAllControls(Control[] controls)
throws MessageException
addAllControls in interface MessageaddAllControls in class AbstractDsmlMessageDecorator<AbandonRequest>controls - the controls to add.
MessageException - if controls cannot be added to this Message or they are not known etc.
public AbandonRequest removeControl(Control control)
throws MessageException
removeControl in interface MessageremoveControl in class AbstractDsmlMessageDecorator<AbandonRequest>control - 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 | |||||||||