org.ektorp
Class BulkDeleteDocument

java.lang.Object
  extended by org.ektorp.BulkDeleteDocument
All Implemented Interfaces:
java.io.Serializable

public class BulkDeleteDocument
extends java.lang.Object
implements java.io.Serializable

This class can be used to delete documents in bulk operations. Add an instance for each document to be deleted to the objects collection.

Author:
henrik lundgren
See Also:
Serialized Form

Nested Class Summary
static class BulkDeleteDocument.Serializer
           
 
Constructor Summary
BulkDeleteDocument(java.lang.String id, java.lang.String rev)
           
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getRevision()
           
static BulkDeleteDocument of(java.lang.Object o)
          Will create a bulk delete document based on the specified object.
 void setRevision(java.lang.String s)
          Dummy setter, only exists because the BulkOperationResponseHandler tries to set revision on all objects, no matter what.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkDeleteDocument

public BulkDeleteDocument(java.lang.String id,
                          java.lang.String rev)
Method Detail

of

public static BulkDeleteDocument of(java.lang.Object o)
Will create a bulk delete document based on the specified object.

Parameters:
o -
Returns:

getId

public java.lang.String getId()

getRevision

public java.lang.String getRevision()

setRevision

public void setRevision(java.lang.String s)
Dummy setter, only exists because the BulkOperationResponseHandler tries to set revision on all objects, no matter what.

Parameters:
s -


Copyright © 2010. All Rights Reserved.