code: public List<DocumentTemplate> findByApplicableToAtPath(final String atPath) {
          final List<DocumentTemplate> templates = repositoryService.allMatches(
                  new QueryDefault<>(DocumentTemplate.class,
                          "findByApplicableToAtPath",
                          "atPath", atPath));
          removeTemplatesWithSameDocumentType(templates);
          return templates;
      }
docs: Returns all document templates, ordered by most specific to provided application tenancy first, and then by date (desc).