From 49b39b28cf8367365f8808f7c050b8ecbcf3c635 Mon Sep 17 00:00:00 2001 From: azizbekxm Date: Wed, 15 Nov 2023 16:53:42 +0500 Subject: [PATCH] [MODAUD-174] - Added java docs --- .../java/org/folio/dao/acquisition/PieceEventsDao.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mod-audit-server/src/main/java/org/folio/dao/acquisition/PieceEventsDao.java b/mod-audit-server/src/main/java/org/folio/dao/acquisition/PieceEventsDao.java index 27b5ab54..b145c059 100644 --- a/mod-audit-server/src/main/java/org/folio/dao/acquisition/PieceEventsDao.java +++ b/mod-audit-server/src/main/java/org/folio/dao/acquisition/PieceEventsDao.java @@ -31,6 +31,16 @@ public interface PieceEventsDao { Future getAuditEventsByPieceId(String pieceId, String sortBy, String sortOrder, int limit, int offset, String tenantId); + /** + * Searches for piece audit events with status changes by piece id + * @param pieceId piece id + * @param sortBy sort by + * @param sortOrder sort order + * @param limit limit + * @param offset offset + * @param tenantId tenant id + * @return future with PieceAuditEventCollection + */ Future getAuditEventsWithStatusChangesByPieceId(String pieceId, String sortBy, String sortOrder, int limit, int offset, String tenantId); }