|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AddRequest
Add protocol operation request used to add a new entry to the DIT.
| Field Summary | |
|---|---|
static MessageTypeEnum |
RESP_TYPE
LDAPv3 add response type enum code |
static MessageTypeEnum |
TYPE
LDAPv3 add request type enum code |
| Method Summary | |
|---|---|
AddRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message. |
AddRequest |
addControl(Control control)
Adds a control to this Message. |
Entry |
getEntry()
Gets the entry to add. |
Dn |
getEntryDn()
Gets the distinguished name of the entry to add. |
AddRequest |
removeControl(Control control)
Deletes a control removing it from this Message. |
AddRequest |
setEntry(Entry entry)
Sets the Entry to add. |
AddRequest |
setEntryDn(Dn entry)
Sets the distinguished name of the entry to add. |
AddRequest |
setMessageId(int messageId)
Sets the Message ID for this request |
| 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 getEntryDn()
AddRequest setEntryDn(Dn entry)
entry - the Dn of the added entry.
Entry getEntry()
AddRequest setEntry(Entry entry)
entry - the added Entry
AddRequest setMessageId(int messageId)
setMessageId in interface MessagemessageId - The message Id
AddRequest 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.
AddRequest 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.
AddRequest 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 | |||||||||