Class ReportCommonRepository

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void bulkAppendReport​(java.util.List<org.bson.Document> reports, com.mongodb.client.MongoCollection<org.bson.Document> collection)
      Insert List of document in the given collection
      protected void deleteReportByIdAndTenant​(java.lang.String processId, int tenantId, com.mongodb.client.MongoCollection<org.bson.Document> collection)
      delete Report By Id and Tenant
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportCommonRepository

        public ReportCommonRepository()
    • Method Detail

      • bulkAppendReport

        protected void bulkAppendReport​(java.util.List<org.bson.Document> reports,
                                        com.mongodb.client.MongoCollection<org.bson.Document> collection)
        Insert List of document in the given collection
        Parameters:
        reports - report
      • deleteReportByIdAndTenant

        protected void deleteReportByIdAndTenant​(java.lang.String processId,
                                                 int tenantId,
                                                 com.mongodb.client.MongoCollection<org.bson.Document> collection)
        delete Report By Id and Tenant
        Parameters:
        processId - processId
        tenantId - tenantId