public interface TemporalDocumentManager<R extends AbstractReadHandle,W extends AbstractWriteHandle>
Modifier and Type | Interface and Description |
---|---|
static class |
TemporalDocumentManager.ProtectionLevel
Various protection levels to prevent
updation/deletion and wiping of temporal documents.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
advanceLsqt(java.lang.String temporalCollection)
Enables Last Stable Query Time (LSQT) on the
named collection and advances the LSQT for the collection to the
maximum system start time.
|
java.lang.String |
advanceLsqt(java.lang.String temporalCollection,
long lag)
Enables Last Stable Query Time (LSQT) on the
named collection and advances the LSQT for the collection to the
maximum system start time.
|
TemporalDescriptor |
create(DocumentUriTemplate template,
DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection)
Just like
create but create document in a
temporalCollection, which will enforce all the rules of bitemporal data
management. |
TemporalDescriptor |
create(DocumentUriTemplate template,
DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection,
java.util.Calendar systemTime)
Just like
create but create document at a specific system
time |
TemporalDescriptor |
delete(DocumentDescriptor desc,
Transaction transaction,
java.lang.String temporalCollection)
Just like
delete but delete document in a
temporalCollection, which will enforce all the rules of bitemporal data
management. |
TemporalDescriptor |
delete(DocumentDescriptor desc,
Transaction transaction,
java.lang.String temporalCollection,
java.util.Calendar systemTime)
Just like
delete but delete document at a specified system
time |
TemporalDescriptor |
delete(java.lang.String docId,
Transaction transaction,
java.lang.String temporalCollection)
Just like
delete but delete document in a
temporalCollection, which will enforce all the rules of bitemporal data
management. |
TemporalDescriptor |
delete(java.lang.String docId,
Transaction transaction,
java.lang.String temporalCollection,
java.util.Calendar systemTime)
Just like
delete but delete document at a specified system
time |
void |
patch(java.lang.String uri,
java.lang.String temporalCollection, DocumentPatchHandle patch)
Modifies the content of a temporal JSON or XML
document in the temporal collection.
|
void |
patch(java.lang.String uri,
java.lang.String temporalCollection, DocumentPatchHandle patch,
Transaction transaction)
Modifies the content of a temporal JSON or XML
document in the temporal collection.
|
void |
patch(java.lang.String uri,
java.lang.String temporalDocumentURI,
java.lang.String temporalCollection,
java.lang.String sourceDocumentURI, DocumentPatchHandle patch)
Patches a temporal document by taking the
content from the sourceDocumentURI present in the
temporalDocumentURI collection with the patch handle and creates a
new version identified by the uri in the temporalCollection.
|
void |
patch(java.lang.String uri,
java.lang.String temporalDocumentURI,
java.lang.String temporalCollection,
java.lang.String sourceDocumentURI, DocumentPatchHandle patch,
Transaction transaction)
Patches a temporal document by taking the
content from the sourceDocumentURI present in the
temporalDocumentURI collection with the patch handle and creates a
new version identified by the uri in the temporalCollection.
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
java.util.Calendar expiryTime)
Protects the temporal document from document
update, wipe or delete till the expiryTime provided
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
java.util.Calendar expiryTime,
java.lang.String archivePath)
Protects the temporal document from document
update, wipe or delete till the expiryTime provided and saves the
serialized copy of the current version in the path given
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
java.util.Calendar expiryTime,
java.lang.String archivePath, Transaction transaction)
Protects the temporal document from document
update, wipe or delete till the expiryTime provided and saves the
serialized copy of the current version in the path given
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
java.util.Calendar expiryTime, Transaction transaction)
Protects the temporal document from document
update, wipe or delete till the expiryTime provided
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
javax.xml.datatype.Duration duration)
Protects the temporal document from document
update, wipe or delete for the specified duration.
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
javax.xml.datatype.Duration duration,
java.lang.String archivePath)
Protects the temporal document from document
update, wipe or delete till the expiryTime provided and saves the
serialized copy of the current version in the path given
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
javax.xml.datatype.Duration duration,
java.lang.String archivePath, Transaction transaction)
Protects the temporal document from document
update, wipe or delete till the expiryTime provided and saves the
serialized copy of the current version in the path given
|
void |
protect(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level,
javax.xml.datatype.Duration duration, Transaction transaction)
Protects the temporal document from document
update, wipe or delete for the specified duration.
|
void |
wipe(java.lang.String temporalDocumentURI,
java.lang.String temporalCollection)
Removes all the versions of the temporal
document specified by the temporal document logical URI in the
temporalCollection
|
void |
wipe(java.lang.String temporalDocumentURI,
Transaction transaction,
java.lang.String temporalCollection)
Removes all the versions of the temporal
document specified by the temporal document logical URI in the
temporalCollection
|
TemporalDescriptor |
write(DocumentDescriptor desc,
DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection)
Just like
write but write document in a temporalCollection,
which will enforce all the rules of bitemporal data
management. |
TemporalDescriptor |
write(DocumentDescriptor desc,
DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection,
java.util.Calendar systemTime)
Just like
write but write document at a specific system
time |
TemporalDescriptor |
write(DocumentDescriptor desc,
java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection)
Just like
write but creates a new version of the document in
the logical temporal collection URI passed as argument and names
the new version of the document as the URI in the Document
descriptor |
TemporalDescriptor |
write(DocumentDescriptor desc,
java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection,
java.util.Calendar systemTime)
Just like
write but writes document at a specific system
time |
void |
write(DocumentWriteSet writeSet,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection)
Just like
write but create document in a temporalCollection,
which will enforce all the rules of bitemporal data
management. |
TemporalDescriptor |
write(java.lang.String docId,
DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection)
Just like
write but write document in a temporalCollection,
which will enforce all the rules of bitemporal data
management. |
TemporalDescriptor |
write(java.lang.String docId,
DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection,
java.util.Calendar systemTime)
Just like
write but write document at a specific system
time |
TemporalDescriptor |
write(java.lang.String uri,
java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection)
Just like
write but creates a new version of the document in
the logical temporal collection URI passed as argument and names
the new version of the document as the docId passed. |
TemporalDescriptor |
write(java.lang.String uri,
java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle,
W contentHandle,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection,
java.util.Calendar systemTime)
Just like
write but writes document at a specific system
time |
java.lang.String advanceLsqt(java.lang.String temporalCollection)
DatatypeConverter.parseDateTime
but will lose
precision since java.util.Calendar only supports millisecond
precision. Requires a user with the "rest-admin" privilege. For
details on how to use LSQT, see [Last Stable Query Time (LSQT) and
Application-controlled System
Time](http://docs.marklogic.com/guide/temporal/managing#id_75536)
in the *Temporal Developer's Guide*.temporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenjava.lang.String advanceLsqt(java.lang.String temporalCollection, long lag)
DatatypeConverter.parseDateTime
but will lose
precision since java.util.Calendar only supports millisecond
precision. Requires a user with the "rest-admin" privilege. For
details on how to use LSQT, see [Last Stable Query Time (LSQT) and
Application-controlled System
Time](http://docs.marklogic.com/guide/temporal/managing#id_75536)
in the *Temporal Developer's Guide*.temporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenlag
- the milliseconds behind the maximum system
start time to set LSQTTemporalDescriptor create(DocumentUriTemplate template, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection) throws ForbiddenUserException, FailedRequestException
create
but create document in a
temporalCollection, which will enforce all the rules of bitemporal data
management.template
- the template for constructing the
document urimetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenForbiddenUserException
FailedRequestException
TemporalDescriptor write(DocumentDescriptor desc, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
write
but write document in a temporalCollection,
which will enforce all the rules of bitemporal data
management.desc
- a descriptor for the URI identifier,
format, and mimetype of the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenResourceNotFoundException
ForbiddenUserException
FailedRequestException
TemporalDescriptor write(java.lang.String docId, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
write
but write document in a temporalCollection,
which will enforce all the rules of bitemporal data
management.docId
- the URI identifier for the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenResourceNotFoundException
ForbiddenUserException
FailedRequestException
TemporalDescriptor delete(DocumentDescriptor desc, Transaction transaction, java.lang.String temporalCollection) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
delete
but delete document in a
temporalCollection, which will enforce all the rules of bitemporal data
management.desc
- a descriptor for the URI identifier,
format, and mimetype of the documenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database in which this document should
be marked as deletedResourceNotFoundException
ForbiddenUserException
FailedRequestException
TemporalDescriptor delete(java.lang.String docId, Transaction transaction, java.lang.String temporalCollection) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
delete
but delete document in a
temporalCollection, which will enforce all the rules of bitemporal data
management.docId
- the URI identifier for the documenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database in which this document should
be marked as deletedResourceNotFoundException
ForbiddenUserException
FailedRequestException
TemporalDescriptor create(DocumentUriTemplate template, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection, java.util.Calendar systemTime) throws ForbiddenUserException, FailedRequestException
create
but create document at a specific system
timetemplate
- the template for constructing the
document urimetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtensystemTime
- the application-specified system time
with which this document will be markedForbiddenUserException
FailedRequestException
TemporalDescriptor write(DocumentDescriptor desc, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection, java.util.Calendar systemTime) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
write
but write document at a specific system
timedesc
- a descriptor for the URI identifier,
format, and mimetype of the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtensystemTime
- the application-specified system time
with which this document will be markedResourceNotFoundException
ForbiddenUserException
FailedRequestException
TemporalDescriptor write(java.lang.String docId, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection, java.util.Calendar systemTime) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
write
but write document at a specific system
timedocId
- the URI identifier for the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtensystemTime
- the application-specified system time
with which this document will be markedResourceNotFoundException
ForbiddenUserException
FailedRequestException
void write(DocumentWriteSet writeSet, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection)
write
but create document in a temporalCollection,
which will enforce all the rules of bitemporal data
management.writeSet
- the set of documents and metadata to
writetransform
- a server transform to modify the
contents of each documenttransaction
- an open transaction under which the
documents will be writtentemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenTemporalDescriptor write(DocumentDescriptor desc, java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection)
write
but creates a new version of the document in
the logical temporal collection URI passed as argument and names
the new version of the document as the URI in the Document
descriptordesc
- a descriptor for the version URI
identifier, format, and mimetype of the documenttemporalDocumentURI
- the logical temporal
document collection URI of the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenTemporalDescriptor write(java.lang.String uri, java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection)
write
but creates a new version of the document in
the logical temporal collection URI passed as argument and names
the new version of the document as the docId passed.uri
- the version URI identifier for the
documenttemporalDocumentURI
- the logical temporal
document collection URI of the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtenTemporalDescriptor write(java.lang.String uri, java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection, java.util.Calendar systemTime)
write
but writes document at a specific system
timeuri
- the version URI identifier for the
documenttemporalDocumentURI
- the logical temporal
document collection URI of the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtensystemTime
- the application-specified system time
with which this document will be markedTemporalDescriptor write(DocumentDescriptor desc, java.lang.String temporalDocumentURI, DocumentMetadataWriteHandle metadataHandle, W contentHandle, ServerTransform transform, Transaction transaction, java.lang.String temporalCollection, java.util.Calendar systemTime)
write
but writes document at a specific system
timedesc
- a descriptor for the version URI
identifier, format, and mimetype of the documenttemporalDocumentURI
- the logical temporal
document collection URI of the documentmetadataHandle
- a handle for writing the metadata
of the documentcontentHandle
- an IO representation of the
document contenttransform
- a server transform to modify the
document contenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database into which this document should
be writtensystemTime
- the application-specified system time
with which this document will be markedTemporalDescriptor delete(DocumentDescriptor desc, Transaction transaction, java.lang.String temporalCollection, java.util.Calendar systemTime) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
delete
but delete document at a specified system
timedesc
- a descriptor for the URI identifier,
format, and mimetype of the documenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database in which this document should
be marked as deletedsystemTime
- the application-specified system time
with which this document will be markedResourceNotFoundException
ForbiddenUserException
FailedRequestException
TemporalDescriptor delete(java.lang.String docId, Transaction transaction, java.lang.String temporalCollection, java.util.Calendar systemTime) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
delete
but delete document at a specified system
timedocId
- the URI identifier for the documenttransaction
- an open transaction under which the
document may have been created or deletedtemporalCollection
- the name of the temporal
collection existing in the database in which this document should
be marked as deletedsystemTime
- the application-specified system time
with which this document will be markedResourceNotFoundException
ForbiddenUserException
FailedRequestException
void wipe(java.lang.String temporalDocumentURI, Transaction transaction, java.lang.String temporalCollection)
temporalDocumentURI
- the logical temporal
document URI of the document to be wipedtransaction
- an open transactiontemporalCollection
- the name of the temporal
collection existing in the database from which this temporal
document should be wipedvoid wipe(java.lang.String temporalDocumentURI, java.lang.String temporalCollection)
temporalDocumentURI
- the logical temporal
document URI of the document to be wipedtemporalCollection
- the name of the temporal
collection existing in the database from which this temporal
document should be wipedvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, java.util.Calendar expiryTime)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE or NOUPDATE. Default value is NODELETEexpiryTime
- the exact date time when the document
protection expiresvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, java.util.Calendar expiryTime, java.lang.String archivePath)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE or NOUPDATE. Default value is NODELETEexpiryTime
- the exact date time when the document
protection expiresarchivePath
- File path to save a serialized copy
of the current version of the documentvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, javax.xml.datatype.Duration duration)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE, NOUPDATE. Default value is NODELETEduration
- the duration during which the document
is protectedvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, javax.xml.datatype.Duration duration, java.lang.String archivePath)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE, NOUPDATE. Default value is NODELETEduration
- the duration during which the document
is protectedarchivePath
- File path to save a serialized copy
of the current version of the documentvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, javax.xml.datatype.Duration duration, Transaction transaction)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE, NOUPDATE. Default value is NODELETEduration
- the duration during which the document
is protectedtransaction
- an open transactionvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, java.util.Calendar expiryTime, Transaction transaction)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE or NOUPDATE. Default value is NODELETEexpiryTime
- the exact date time when the document
protection expirestransaction
- an open transactionvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, javax.xml.datatype.Duration duration, java.lang.String archivePath, Transaction transaction)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE, NOUPDATE. Default value is NODELETEduration
- the duration during which the document
is protectedarchivePath
- File path to save a serialized copy
of the current version of the documenttransaction
- an open transactionvoid protect(java.lang.String temporalDocumentURI, java.lang.String temporalCollection, TemporalDocumentManager.ProtectionLevel level, java.util.Calendar expiryTime, java.lang.String archivePath, Transaction transaction)
temporalDocumentURI
- the logical temporal
document URI of the document to be protectedtemporalCollection
- the name of the temporal
collection which contains the temporal documentlevel
- the Protection level acquired - NODELETE,
NOWIPE or NOUPDATE. Default value is NODELETEexpiryTime
- the exact date time when the document
protection expiresarchivePath
- File path to save a serialized copy
of the current version of the documenttransaction
- an open transactionvoid patch(java.lang.String uri, java.lang.String temporalCollection, DocumentPatchHandle patch)
uri
- the URI identifier for the documenttemporalCollection
- the name of the temporal
collection which contains the temporal document to be patched.patch
- a handle definition of what to patch in
the documentvoid patch(java.lang.String uri, java.lang.String temporalCollection, DocumentPatchHandle patch, Transaction transaction)
uri
- the URI identifier for the documenttemporalCollection
- the name of the temporal
collection which contains the temporal document to be patched.patch
- a handle definition of what to patch in
the documenttransaction
- an open transactionvoid patch(java.lang.String uri, java.lang.String temporalDocumentURI, java.lang.String temporalCollection, java.lang.String sourceDocumentURI, DocumentPatchHandle patch)
uri
- the new version URI identifier for the
documenttemporalDocumentURI
- the logical temporal
document URItemporalCollection
- the name of the temporal
collection which contains the temporal document to be patched.sourceDocumentURI
- the URI of the document to be
used as the source of the patchpatch
- a handle definition of what to patch in
the documentvoid patch(java.lang.String uri, java.lang.String temporalDocumentURI, java.lang.String temporalCollection, java.lang.String sourceDocumentURI, DocumentPatchHandle patch, Transaction transaction)
uri
- the new version URI identifier for the
documenttemporalDocumentURI
- the logical temporal
document URItemporalCollection
- the name of the temporal
collection which contains the temporal document to be patched.sourceDocumentURI
- the URI of the document to be
used as the source of the patchpatch
- a handle definition of what to patch in
the documenttransaction
- an open transactionCopyright © 2024 MarkLogic Corporation. All Rights Reserved.