Search in sources :

Example 1 with PenRequestBatchStudentValidationIssueEntity

use of ca.bc.gov.educ.penreg.api.model.v1.PenRequestBatchStudentValidationIssueEntity in project EDUC-PEN-REG-BATCH-API by bcgov.

the class PenRequestBatchStudentValidationIssueService method findAllValidationIssuesByPRBStudentID.

@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public List<PenRequestBatchStudentValidationIssueEntity> findAllValidationIssuesByPRBStudentID(final UUID penRequestBatchStudentID) {
    val penRequestBatchStudentEntity = new PenRequestBatchStudentEntity();
    penRequestBatchStudentEntity.setPenRequestBatchStudentID(penRequestBatchStudentID);
    return this.repository.findAllByPenRequestBatchStudentEntity(penRequestBatchStudentEntity);
}
Also used : lombok.val(lombok.val) PenRequestBatchStudentEntity(ca.bc.gov.educ.penreg.api.model.v1.PenRequestBatchStudentEntity) Transactional(org.springframework.transaction.annotation.Transactional)

Aggregations

PenRequestBatchStudentEntity (ca.bc.gov.educ.penreg.api.model.v1.PenRequestBatchStudentEntity)1 lombok.val (lombok.val)1 Transactional (org.springframework.transaction.annotation.Transactional)1