Class Archive
java.lang.Object
no.digipost.api.client.representations.Representation
no.digipost.api.client.representations.archive.Archive
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ArchiveDocument>
protected String
protected Long
protected SenderOrganization
Fields inherited from class no.digipost.api.client.representations.Representation
links
-
Constructor Summary
ConstructorsConstructorDescriptionArchive()
Archive
(SenderOrganization senderOrganization, Long senderId, String name, List<Link> links, List<ArchiveDocument> documents) -
Method Summary
Modifier and TypeMethodDescriptionstatic Archive.ArchiveBuilder
getLinks()
getName()
getNextDocumentsWithAttributes
(Map<String, String> attributes) getNextDocumentsWithAttributesByDate
(Map<String, String> attributes, OffsetDateTime from, OffsetDateTime to) static Archive.ArchiveBuilder
namedArchive
(String archiveName) protected void
void
Methods inherited from class no.digipost.api.client.representations.Representation
addLink, getLinkByRelationName
-
Field Details
-
senderOrganization
-
senderId
-
name
-
documents
-
-
Constructor Details
-
Archive
public Archive() -
Archive
public Archive(SenderOrganization senderOrganization, Long senderId, String name, List<Link> links, List<ArchiveDocument> documents)
-
-
Method Details
-
defaultArchive
-
namedArchive
-
getSenderOrganization
-
setSenderOrganization
-
getSenderId
-
getName
-
getLinks
-
setLink
-
getDocuments
-
getNextDocuments
-
getNextDocumentsWithAttributes
-
getNextDocumentsWithAttributesByDate
public Optional<URI> getNextDocumentsWithAttributesByDate(Map<String, String> attributes, OffsetDateTime from, OffsetDateTime to) -
getNextDocumentsByDate
-