Package org.nuxeo.ecm.core.blob
Class BlobUpdateContext
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.BlobUpdateContext
-
public class BlobUpdateContext extends Object
Context available when a blob is updated in a blob provider.- Since:
- 11.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlobUpdateContext.ColdStorageClass
static class
BlobUpdateContext.RestoreForDuration
static class
BlobUpdateContext.UpdateLegalHold
static class
BlobUpdateContext.UpdateRetainUntil
-
Field Summary
Fields Modifier and Type Field Description BlobUpdateContext.ColdStorageClass
coldStorageClass
String
key
The blob key, without blob provider prefix.BlobUpdateContext.RestoreForDuration
restoreForDuration
BlobUpdateContext.UpdateLegalHold
updateLegalHold
BlobUpdateContext.UpdateRetainUntil
updateRetainUntil
-
Constructor Summary
Constructors Constructor Description BlobUpdateContext(String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobUpdateContext
with(BlobUpdateContext other)
BlobUpdateContext
withColdStorageClass(boolean inColdStorage)
BlobUpdateContext
withRestoreForDuration(Duration duration)
BlobUpdateContext
withUpdateLegalHold(boolean hold)
BlobUpdateContext
withUpdateRetainUntil(Calendar retainUntil)
-
-
-
Field Detail
-
key
public final String key
The blob key, without blob provider prefix.
-
updateRetainUntil
public BlobUpdateContext.UpdateRetainUntil updateRetainUntil
-
updateLegalHold
public BlobUpdateContext.UpdateLegalHold updateLegalHold
-
restoreForDuration
public BlobUpdateContext.RestoreForDuration restoreForDuration
-
coldStorageClass
public BlobUpdateContext.ColdStorageClass coldStorageClass
-
-
Constructor Detail
-
BlobUpdateContext
public BlobUpdateContext(String key)
-
-
Method Detail
-
with
public BlobUpdateContext with(BlobUpdateContext other)
-
withUpdateRetainUntil
public BlobUpdateContext withUpdateRetainUntil(Calendar retainUntil)
-
withUpdateLegalHold
public BlobUpdateContext withUpdateLegalHold(boolean hold)
-
withRestoreForDuration
public BlobUpdateContext withRestoreForDuration(Duration duration)
-
withColdStorageClass
public BlobUpdateContext withColdStorageClass(boolean inColdStorage)
-
-