Coverage Report - org.kuali.student.enrollment.class1.lpr.service.decorators.LprServiceValidationDecorator
 
Classes in this File Line Coverage Branch Coverage Complexity
LprServiceValidationDecorator
0%
0/4
N/A
1
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation Licensed under the Educational Community
 3  
  * License, Version 2.0 (the "License"); you may not use this file except in
 4  
  * compliance with the License. You may obtain a copy of the License at
 5  
  * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or
 6  
  * agreed to in writing, software distributed under the License is distributed
 7  
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 8  
  * express or implied. See the License for the specific language governing
 9  
  * permissions and limitations under the License.
 10  
  */
 11  
 package org.kuali.student.enrollment.class1.lpr.service.decorators;
 12  
 
 13  
 import java.util.List;
 14  
 
 15  
 import org.kuali.student.enrollment.lpr.dto.LprTransactionInfo;
 16  
 import org.kuali.student.enrollment.lpr.dto.LprInfo;
 17  
 import org.kuali.student.enrollment.lpr.service.LprServiceDecorator;
 18  
 import org.kuali.student.r2.common.datadictionary.DataDictionaryValidator;
 19  
 import org.kuali.student.r2.common.dto.ContextInfo;
 20  
 import org.kuali.student.r2.common.dto.ValidationResultInfo;
 21  
 import org.kuali.student.r2.common.exceptions.AlreadyExistsException;
 22  
 import org.kuali.student.r2.common.exceptions.DataValidationErrorException;
 23  
 import org.kuali.student.r2.common.exceptions.DisabledIdentifierException;
 24  
 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
 25  
 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
 26  
 import org.kuali.student.r2.common.exceptions.MissingParameterException;
 27  
 import org.kuali.student.r2.common.exceptions.OperationFailedException;
 28  
 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
 29  
 import org.kuali.student.r2.common.exceptions.ReadOnlyException;
 30  
 import org.kuali.student.r2.common.exceptions.VersionMismatchException;
 31  
 import org.kuali.student.r2.common.infc.HoldsValidator;
 32  
 import org.kuali.student.r2.core.class1.util.ValidationUtils;
 33  
 
 34  
 /**
 35  
  * An example Validation decorator for the {@link org.kuali.student.enrollment.lpr.service.LprService}.
 36  
  * Additional validations are performed for the validateLuiPersonRelation,
 37  
  * createLuiPersonRelation and updateLuiPersonRelation methods here
 38  
  * 
 39  
  * @author sambit
 40  
  */
 41  0
 public class LprServiceValidationDecorator extends LprServiceDecorator implements
 42  
         HoldsValidator {
 43  
 
 44  
     private DataDictionaryValidator validator;
 45  
 
 46  
     @Override
 47  
     public DataDictionaryValidator getValidator() {
 48  0
         return validator;
 49  
     }
 50  
 
 51  
     @Override
 52  
     public void setValidator(DataDictionaryValidator validator) {
 53  0
         this.validator = validator;
 54  0
     }
 55  
 
 56  
 
 57  
 }