Skip to content

Commit

Permalink
add missing java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudFonzam committed Jun 27, 2024
1 parent 445dde5 commit 1d530ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,12 @@ private List<Movement> prepareDishargingMovement(Movement movement, boolean chec
}
}

/**
* Deletes the specified {@link lot}.
*
* @param admissionType the lot to delete.
* @throws OHServiceException
*/
public void deleteLot(Lot lot) throws OHServiceException {
ioOperations.deleteLot(lot);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,12 @@ public long countAllActiveMovements() {
return this.movRepository.countAllActiveMovements();
}

/**
* Deletes the specified {@link lot}.
*
* @param admissionType the lot to delete.
* @throws OHServiceException
*/
public void deleteLot(Lot lot) throws OHServiceException {
lotRepository.delete(lot);
}
Expand Down

0 comments on commit 1d530ab

Please sign in to comment.