Class Document

java.lang.Object
no.digipost.api.client.representations.Representation
no.digipost.api.client.representations.Document

public class Document extends Representation
  • Field Details

  • Constructor Details

  • Method Details

    • getLinks

      protected List<Link> getLinks()
    • copyDocumentAndSetDigipostFileTypeToPdf

      public Document copyDocumentAndSetDigipostFileTypeToPdf()
    • technicalAttachment

      public static Document technicalAttachment(FileType fileType, String... type)
    • setContentHash

      public void setContentHash(ContentHash contentHash)
    • setDigipostFileType

      public void setDigipostFileType(FileType fileType)
    • getDigipostFileType

      public String getDigipostFileType()
    • is

      public boolean is(FileType fileType)
    • encrypt

      public Document encrypt()
    • willBeEncrypted

      public boolean willBeEncrypted()
    • getEncrypted

      public EncryptionInfo getEncrypted()
    • getAddContentLink

      public Link getAddContentLink()
    • getAddDataLink

      public AddDataLink getAddDataLink()
    • getEncryptionKeyLink

      public Link getEncryptionKeyLink()
    • getTechnicalType

      public String[] getTechnicalType()
    • isOpened

      public boolean isOpened()
    • getDataType

      public Optional<no.digipost.api.datatypes.DataType> getDataType()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setNumberOfEncryptedPages

      public void setNumberOfEncryptedPages(int pages)