public class DeleteDocumentHandle extends java.lang.Object implements DocumentHandle
DocumentHandle implementation for deleting documents.| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument()
Returns the non-
null Document for applying this change
to the Google Search Appliance. |
java.lang.String |
getDocumentId()
Returns the Document's id.
|
java.lang.String |
toString()
Returns serialized
String representation of this DocumentHandle suitable for deserialization using DocumentHandleFactory.fromString(String). |
public Document getDocument()
DocumentHandlenull Document for applying this change
to the Google Search Appliance.getDocument in interface DocumentHandlepublic java.lang.String getDocumentId()
DocumentHandlenull and
and must match the value returned by calling
getDocument().findProperty(PROPNAME_DOCID))getDocumentId in interface DocumentHandlepublic java.lang.String toString()
DocumentHandleString representation of this DocumentHandle suitable for deserialization using DocumentHandleFactory.fromString(String). The return value must
not be null.toString in interface DocumentHandletoString in class java.lang.Object