public interface DocumentHandle
Document
representing a change
to be applied to the GSA after fetching any needed information from
the repository holding the document.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) . |
java.lang.String getDocumentId()
null
and
and must match the value returned by calling
getDocument().findProperty(PROPNAME_DOCID))
Document getDocument() throws RepositoryException
null
Document
for applying this change
to the Google Search Appliance.RepositoryException
java.lang.String toString()
String
representation of this DocumentHandle
suitable for deserialization using DocumentHandleFactory.fromString(String)
. The return value must
not be null
.toString
in class java.lang.Object