Class ArchiveDocument
java.lang.Object
no.digipost.api.client.representations.Representation
no.digipost.api.client.representations.archive.ArchiveDocument
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ZonedDateTime
protected List<ArchiveDocumentAttribute>
protected ContentHash
protected String
protected ZonedDateTime
protected String
protected String
protected String
final UUID
Fields inherited from class no.digipost.api.client.representations.Representation
links
-
Constructor Summary
ConstructorsConstructorDescriptionArchiveDocument
(UUID uuid, String fileName, String fileType, String contentType) -
Method Summary
Modifier and TypeMethodDescriptiongetLinks()
getUuid()
void
setContentHash
(ContentHash value) toString()
withAttribute
(String key, String value) withAttributes
(Map<String, String> attributes) withDeleteAfter
(Period duration, Clock clock) withDeletionTime
(ZonedDateTime deletionTime) withReferenceId
(String referenceid) Methods inherited from class no.digipost.api.client.representations.Representation
addLink, getLinkByRelationName
-
Field Details
-
uuid
-
fileName
-
fileType
-
referenceid
-
contentType
-
contentHash
-
attributes
-
archivedTime
-
deletionTime
-
-
Constructor Details
-
ArchiveDocument
public ArchiveDocument() -
ArchiveDocument
-
-
Method Details
-
withAttribute
-
withAttributes
-
withReferenceId
-
withDeletionTime
-
withDeleteAfter
-
getUuid
-
getFileName
-
getFileType
-
getReferenceid
-
getContentType
-
getContentHash
-
setContentHash
-
getAttributes
-
getArchivedTime
-
getDeletionTime
-
getLinks
-
getDocumentByUUID
-
getDocumentContent
-
getUpdate
-
getDelete
-
getAddUniqueUUID
-
getDocumentContentStream
-
toString
-