|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.dsmlv2.request.BatchRequestDsml
public class BatchRequestDsml
This class represents the Batch Request. It can be used to generate an the XML String of a BatchRequest.
Constructor Summary | |
---|---|
BatchRequestDsml()
Creates a new instance of BatchResponseDsml. |
Method Summary | |
---|---|
boolean |
addRequest(DsmlDecorator request)
Adds a request to the Batch Request DSML. |
BatchRequest.OnError |
getOnError()
Gets the on error handling type of the request |
BatchRequest.Processing |
getProcessing()
Gets the processing type of the request |
int |
getRequestID()
Gets the ID of the request |
BatchRequest.ResponseOrder |
getResponseOrder()
Gets the reponse order type of the request |
boolean |
removeRequest(DsmlDecorator request)
Removes a request from the Batch Request DSML. |
void |
setOnError(BatchRequest.OnError onError)
Sets the on error handling type of the request |
void |
setProcessing(BatchRequest.Processing processing)
Sets the processing type of the request |
void |
setRequestID(int requestID)
Sets the ID of the request |
void |
setResponseOrder(BatchRequest.ResponseOrder responseOrder)
Sets the reponse order type of the request |
java.lang.String |
toDsml()
Converts the Batch Request to its XML representation in the DSMLv2 format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchRequestDsml()
Method Detail |
---|
public boolean addRequest(DsmlDecorator request)
request
- the request to add
public boolean removeRequest(DsmlDecorator request)
request
- the request to remove
public int getRequestID()
public void setRequestID(int requestID)
requestID
- the ID to setpublic BatchRequest.Processing getProcessing()
public void setProcessing(BatchRequest.Processing processing)
processing
- the processing type to setpublic BatchRequest.OnError getOnError()
public void setOnError(BatchRequest.OnError onError)
onError
- the on error handling type to setpublic BatchRequest.ResponseOrder getResponseOrder()
public void setResponseOrder(BatchRequest.ResponseOrder responseOrder)
responseOrder
- the reponse order type to setpublic java.lang.String toDsml()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |