code: @Programmatic
      public DocumentType create(
              final String reference,
              final String name) {
          final DocumentType documentType = new DocumentType(reference, name);
          repositoryService.persistAndFlush(documentType);
          return documentType;
      }
docs: region > create