code: @Override
      public String lastId(final RootDocument rootDocument) {
          return lastId(mongoTemplate, NoteDocumentMongo.class,
                  rootDocument.getFilename(), "N");
      }
docs: {@inheritDoc}