public class ProjectedDocumentRevision extends BasicDocumentRevision
Modifier and Type | Method and Description |
---|---|
MutableDocumentRevision |
mutableCopy()
Return a mutable copy of this
DocumentRevision . |
asBytes, asMap, compareTo, equals, getAttachments, getBody, getGeneration, getId, getParent, getRevision, getSequence, hashCode, initialiseSequence, isCurrent, isDeleted, setDeleted, setId, setRevision, toString
public MutableDocumentRevision mutableCopy()
BasicDocumentRevision
Return a mutable copy of this DocumentRevision
.
The mutable copy can be used to change the body and attachments.
Mutable copies can be created or updated in the datastore by calling the appropriate
methods on the Datastore
mutableCopy
in class BasicDocumentRevision
Datastore.createDocumentFromRevision(MutableDocumentRevision)
,
Datastore.updateDocumentFromRevision(MutableDocumentRevision)