Exemplo n.º 1
0
 /*
  * (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);
 }
Exemplo n.º 2
0
 /*
  * (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);
 }
Exemplo n.º 3
0
 /*
  * (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);
 }
Exemplo n.º 4
0
 /*
  * (non-Javadoc)
  * @see gov.utah.iris.service.UserService#saveComplaint(gov.utah.iris.model.Complaint)
  */
 @Override
 public void saveComplaint(Complaint complaint) {
   complaintRepository.save(complaint);
 }
Exemplo n.º 5
0
 /*
  * (non-Javadoc)
  * @see gov.utah.iris.service.UserService#deleteComplaints(java.util.List)
  */
 @Override
 public void deleteComplaints(List<Complaint> complaints) {
   complaintRepository.delete(complaints);
 }