code: @Programmatic
      public DocumentTemplate createBlob(
              final DocumentType type,
              final LocalDate date,
              final String atPath,
              final String fileSuffix,
              final boolean previewOnly,
              final Blob blob,
              final RenderingStrategy contentRenderingStrategy,
              final String subjectText,
              final RenderingStrategy subjectRenderingStrategy) {
          final DocumentTemplate document =
                  new DocumentTemplate(
                          type, date, atPath,
                          fileSuffix, previewOnly, blob,
                          contentRenderingStrategy,
                          subjectText, subjectRenderingStrategy);
          repositoryService.persistAndFlush(document);
          return document;
      }
docs: region > createBlob, createClob, createText