Class PurgeObjectGroupRepository
- java.lang.Object
-
- fr.gouv.vitam.batch.report.rest.repository.ReportCommonRepository
-
- fr.gouv.vitam.batch.report.rest.repository.PurgeObjectGroupRepository
-
public class PurgeObjectGroupRepository extends ReportCommonRepository
PurgeObjectGroup
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OPI_GOT
static java.lang.String
PURGE_OBJECT_GROUP
-
Constructor Summary
Constructors Constructor Description PurgeObjectGroupRepository(MongoDbAccess mongoDbAccess)
PurgeObjectGroupRepository(MongoDbAccess mongoDbAccess, java.lang.String collectionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bulkAppendReport(java.util.List<PurgeObjectGroupModel> reports)
com.mongodb.client.MongoCursor<org.bson.Document>
computeOwnAccessionRegisterDetails(java.lang.String processId, int tenantId)
Compute Own AccessionRegisterDetailsvoid
deleteReportByIdAndTenant(java.lang.String processId, int tenantId)
com.mongodb.client.MongoCursor<org.bson.Document>
findCollectionByProcessIdTenant(java.lang.String processId, int tenantId)
-
Methods inherited from class fr.gouv.vitam.batch.report.rest.repository.ReportCommonRepository
bulkAppendReport, deleteReportByIdAndTenant
-
-
-
-
Field Detail
-
PURGE_OBJECT_GROUP
public static final java.lang.String PURGE_OBJECT_GROUP
- See Also:
- Constant Field Values
-
OPI_GOT
public static final java.lang.String OPI_GOT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PurgeObjectGroupRepository
public PurgeObjectGroupRepository(MongoDbAccess mongoDbAccess, java.lang.String collectionName)
-
PurgeObjectGroupRepository
public PurgeObjectGroupRepository(MongoDbAccess mongoDbAccess)
-
-
Method Detail
-
bulkAppendReport
public void bulkAppendReport(java.util.List<PurgeObjectGroupModel> reports)
-
findCollectionByProcessIdTenant
public com.mongodb.client.MongoCursor<org.bson.Document> findCollectionByProcessIdTenant(java.lang.String processId, int tenantId)
-
deleteReportByIdAndTenant
public void deleteReportByIdAndTenant(java.lang.String processId, int tenantId)
-
computeOwnAccessionRegisterDetails
public com.mongodb.client.MongoCursor<org.bson.Document> computeOwnAccessionRegisterDetails(java.lang.String processId, int tenantId)
Compute Own AccessionRegisterDetails
-
-