/* * (non-Javadoc) * @see gov.utah.iris.service.UserService#findComplaint(java.lang.String, java.lang.String) */ @Override public List<Complaint> findComplaints(String umdId, String trackingNumber) { return complaintRepository.findComplaints(umdId, trackingNumber); }
/* * (non-Javadoc) * @see gov.utah.iris.service.UserService#deleteComplaintById(java.lang.String, java.lang.String, java.lang.String) */ @Override public void deleteComplaintById(String umdId, String trackingNumber, String fraudTypeCd) { complaintRepository.deleteById(umdId, trackingNumber, fraudTypeCd); }
/* * (non-Javadoc) * @see gov.utah.iris.service.UserService#getComplaintCount(java.lang.String, java.lang.String, java.lang.String) */ @Override public Integer getComplaintCount(String umdId, String trackingNumber, String fraudTypeCd) { return complaintRepository.getComplaintCount(umdId, trackingNumber, fraudTypeCd); }
/* * (non-Javadoc) * @see gov.utah.iris.service.UserService#saveComplaint(gov.utah.iris.model.Complaint) */ @Override public void saveComplaint(Complaint complaint) { complaintRepository.save(complaint); }
/* * (non-Javadoc) * @see gov.utah.iris.service.UserService#deleteComplaints(java.util.List) */ @Override public void deleteComplaints(List<Complaint> complaints) { complaintRepository.delete(complaints); }