Class ArchiveDocument
java.lang.Object
no.digipost.api.client.representations.Representation
no.digipost.api.client.representations.archive.ArchiveDocument
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ZonedDateTimeprotected List<ArchiveDocumentAttribute>protected ContentHashprotected Stringprotected ZonedDateTimeprotected Stringprotected Stringprotected Stringfinal UUIDFields 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()voidsetContentHash(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
-