org.kuali.student.enrollment.class1.lrc.service.impl
Class LrcServiceMockImpl

java.lang.Object
  extended by org.kuali.student.enrollment.class1.lrc.service.impl.LrcServiceMockImpl
All Implemented Interfaces:
LRCService, LrcServiceBusinessLogic

public class LrcServiceMockImpl
extends Object
implements LRCService


Constructor Summary
LrcServiceMockImpl()
           
 
Method Summary
 ResultScaleInfo createResultScale(String resultScaleTypeKey, ResultScaleInfo resultScaleInfo, ContextInfo context)
           
 ResultValueInfo createResultValue(String resultScaleKey, String resultValueTypeKey, ResultValueInfo resultValueInfo, ContextInfo context)
           
 ResultValuesGroupInfo createResultValuesGroup(String resultScaleKey, String resultValuesGroupTypeKey, ResultValuesGroupInfo resultValuesGroupInfo, ContextInfo context)
           
 StatusInfo deleteResultScale(String resultScaleKey, ContextInfo context)
           
 StatusInfo deleteResultValue(String resultValueKey, ContextInfo context)
           
 StatusInfo deleteResultValuesGroup(String resultValuesGroupKey, ContextInfo context)
           
 ResultValuesGroupInfo getCreateFixedCreditResultValuesGroup(String creditValue, String scaleKey, ContextInfo context)
           
 ResultValuesGroupInfo getCreateMultipleCreditResultValuesGroup(List<String> creditValues, String scaleKey, ContextInfo context)
           
 ResultValuesGroupInfo getCreateRangeCreditResultValuesGroup(String creditValueMin, String creditValueMax, String creditValueIncrement, String scaleKey, ContextInfo context)
           
 ResultValueInfo getCreateResultValueForScale(String resultValue, String scaleKey, ContextInfo context)
           
 LrcServiceBusinessLogic getLrcServiceBusinessLogic()
           
 ResultScaleInfo getResultScale(String resultScaleKey, ContextInfo context)
           
 List<String> getResultScaleKeysByType(String resultScaleTypeKey, ContextInfo context)
           
 List<ResultScaleInfo> getResultScalesByKeys(List<String> resultScaleKeys, ContextInfo context)
           
 ResultValueInfo getResultValue(String resultValueKey, ContextInfo context)
           
 ResultValueInfo getResultValueForScaleAndValue(String resultScaleKey, String value, ContextInfo contextInfo)
           
 List<String> getResultValueKeysByType(String resultValueTypeKey, ContextInfo context)
           
 List<ResultValueInfo> getResultValuesByKeys(List<String> resultValueKeys, ContextInfo context)
           
 List<ResultValueInfo> getResultValuesForResultValuesGroup(String resultValuesGroupKey, ContextInfo contextInfo)
           
 List<ResultValueInfo> getResultValuesForResultValuesGroups(List<String> resultValuesGroupKeys, ContextInfo context)
           
 List<ResultValueInfo> getResultValuesForScale(String resultScaleKey, ContextInfo context)
           
 ResultValuesGroupInfo getResultValuesGroup(String resultValuesGroupKey, ContextInfo context)
           
 List<String> getResultValuesGroupKeysByType(String resultValuesGroupTypeKey, ContextInfo context)
           
 List<ResultValuesGroupInfo> getResultValuesGroupsByKeys(List<String> resultValuesGroupKeys, ContextInfo context)
           
 List<ResultValuesGroupInfo> getResultValuesGroupsByResultScale(String resultScaleKey, ContextInfo context)
           
 List<ResultValuesGroupInfo> getResultValuesGroupsByResultScaleType(String resultScaleTypeKey, ContextInfo context)
           
 List<ResultValuesGroupInfo> getResultValuesGroupsByResultValue(String resultValueKey, ContextInfo context)
           
 void setLrcServiceBusinessLogic(LrcServiceBusinessLogic lrcServiceBusinessLogic)
           
 ResultScaleInfo updateResultScale(String resultScaleKey, ResultScaleInfo gradeScaleInfo, ContextInfo context)
           
 ResultValueInfo updateResultValue(String resultValueKey, ResultValueInfo resultValueInfo, ContextInfo context)
           
 ResultValuesGroupInfo updateResultValuesGroup(String resultValuesGroupKey, ResultValuesGroupInfo gradeValuesGroupInfo, ContextInfo context)
           
 List<ValidationResultInfo> validateResultScale(String validationType, ResultScaleInfo gradeScaleInfo, ContextInfo context)
           
 List<ValidationResultInfo> validateResultValue(String validationType, ResultValueInfo resultValueInfo, ContextInfo context)
           
 List<ValidationResultInfo> validateResultValuesGroup(String validationType, ResultValuesGroupInfo gradeValuesGroupInfo, ContextInfo context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LrcServiceMockImpl

public LrcServiceMockImpl()
Method Detail

getLrcServiceBusinessLogic

public LrcServiceBusinessLogic getLrcServiceBusinessLogic()

setLrcServiceBusinessLogic

public void setLrcServiceBusinessLogic(LrcServiceBusinessLogic lrcServiceBusinessLogic)

getResultValuesGroup

public ResultValuesGroupInfo getResultValuesGroup(String resultValuesGroupKey,
                                                  ContextInfo context)
                                           throws DoesNotExistException,
                                                  InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Specified by:
getResultValuesGroup in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesGroupsByKeys

public List<ResultValuesGroupInfo> getResultValuesGroupsByKeys(List<String> resultValuesGroupKeys,
                                                               ContextInfo context)
                                                        throws DoesNotExistException,
                                                               InvalidParameterException,
                                                               MissingParameterException,
                                                               OperationFailedException,
                                                               PermissionDeniedException
Specified by:
getResultValuesGroupsByKeys in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesGroupsByResultValue

public List<ResultValuesGroupInfo> getResultValuesGroupsByResultValue(String resultValueKey,
                                                                      ContextInfo context)
                                                               throws DoesNotExistException,
                                                                      InvalidParameterException,
                                                                      MissingParameterException,
                                                                      OperationFailedException,
                                                                      PermissionDeniedException
Specified by:
getResultValuesGroupsByResultValue in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesGroupsByResultScale

public List<ResultValuesGroupInfo> getResultValuesGroupsByResultScale(String resultScaleKey,
                                                                      ContextInfo context)
                                                               throws DoesNotExistException,
                                                                      InvalidParameterException,
                                                                      MissingParameterException,
                                                                      OperationFailedException,
                                                                      PermissionDeniedException
Specified by:
getResultValuesGroupsByResultScale in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesGroupKeysByType

public List<String> getResultValuesGroupKeysByType(String resultValuesGroupTypeKey,
                                                   ContextInfo context)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException
Specified by:
getResultValuesGroupKeysByType in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

createResultValuesGroup

public ResultValuesGroupInfo createResultValuesGroup(String resultScaleKey,
                                                     String resultValuesGroupTypeKey,
                                                     ResultValuesGroupInfo resultValuesGroupInfo,
                                                     ContextInfo context)
                                              throws AlreadyExistsException,
                                                     DataValidationErrorException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException
Specified by:
createResultValuesGroup in interface LRCService
Throws:
AlreadyExistsException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

updateResultValuesGroup

public ResultValuesGroupInfo updateResultValuesGroup(String resultValuesGroupKey,
                                                     ResultValuesGroupInfo gradeValuesGroupInfo,
                                                     ContextInfo context)
                                              throws DataValidationErrorException,
                                                     DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException,
                                                     VersionMismatchException
Specified by:
updateResultValuesGroup in interface LRCService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException

deleteResultValuesGroup

public StatusInfo deleteResultValuesGroup(String resultValuesGroupKey,
                                          ContextInfo context)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException,
                                          PermissionDeniedException
Specified by:
deleteResultValuesGroup in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

validateResultValuesGroup

public List<ValidationResultInfo> validateResultValuesGroup(String validationType,
                                                            ResultValuesGroupInfo gradeValuesGroupInfo,
                                                            ContextInfo context)
                                                     throws DoesNotExistException,
                                                            InvalidParameterException,
                                                            MissingParameterException,
                                                            OperationFailedException
Specified by:
validateResultValuesGroup in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getCreateFixedCreditResultValuesGroup

public ResultValuesGroupInfo getCreateFixedCreditResultValuesGroup(String creditValue,
                                                                   String scaleKey,
                                                                   ContextInfo context)
                                                            throws InvalidParameterException,
                                                                   MissingParameterException,
                                                                   OperationFailedException,
                                                                   PermissionDeniedException
Specified by:
getCreateFixedCreditResultValuesGroup in interface LRCService
Specified by:
getCreateFixedCreditResultValuesGroup in interface LrcServiceBusinessLogic
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getCreateRangeCreditResultValuesGroup

public ResultValuesGroupInfo getCreateRangeCreditResultValuesGroup(String creditValueMin,
                                                                   String creditValueMax,
                                                                   String creditValueIncrement,
                                                                   String scaleKey,
                                                                   ContextInfo context)
                                                            throws InvalidParameterException,
                                                                   MissingParameterException,
                                                                   OperationFailedException,
                                                                   PermissionDeniedException
Specified by:
getCreateRangeCreditResultValuesGroup in interface LRCService
Specified by:
getCreateRangeCreditResultValuesGroup in interface LrcServiceBusinessLogic
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getCreateMultipleCreditResultValuesGroup

public ResultValuesGroupInfo getCreateMultipleCreditResultValuesGroup(List<String> creditValues,
                                                                      String scaleKey,
                                                                      ContextInfo context)
                                                               throws InvalidParameterException,
                                                                      MissingParameterException,
                                                                      OperationFailedException,
                                                                      PermissionDeniedException
Specified by:
getCreateMultipleCreditResultValuesGroup in interface LRCService
Specified by:
getCreateMultipleCreditResultValuesGroup in interface LrcServiceBusinessLogic
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValue

public ResultValueInfo getResultValue(String resultValueKey,
                                      ContextInfo context)
                               throws DoesNotExistException,
                                      InvalidParameterException,
                                      MissingParameterException,
                                      OperationFailedException,
                                      PermissionDeniedException
Specified by:
getResultValue in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesByKeys

public List<ResultValueInfo> getResultValuesByKeys(List<String> resultValueKeys,
                                                   ContextInfo context)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException
Specified by:
getResultValuesByKeys in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValueKeysByType

public List<String> getResultValueKeysByType(String resultValueTypeKey,
                                             ContextInfo context)
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             PermissionDeniedException
Specified by:
getResultValueKeysByType in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesForResultValuesGroup

public List<ResultValueInfo> getResultValuesForResultValuesGroup(String resultValuesGroupKey,
                                                                 ContextInfo contextInfo)
                                                          throws DoesNotExistException,
                                                                 InvalidParameterException,
                                                                 MissingParameterException,
                                                                 OperationFailedException,
                                                                 PermissionDeniedException
Specified by:
getResultValuesForResultValuesGroup in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

createResultValue

public ResultValueInfo createResultValue(String resultScaleKey,
                                         String resultValueTypeKey,
                                         ResultValueInfo resultValueInfo,
                                         ContextInfo context)
                                  throws AlreadyExistsException,
                                         DataValidationErrorException,
                                         DoesNotExistException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException
Specified by:
createResultValue in interface LRCService
Throws:
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

updateResultValue

public ResultValueInfo updateResultValue(String resultValueKey,
                                         ResultValueInfo resultValueInfo,
                                         ContextInfo context)
                                  throws DataValidationErrorException,
                                         DoesNotExistException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException,
                                         VersionMismatchException
Specified by:
updateResultValue in interface LRCService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException

deleteResultValue

public StatusInfo deleteResultValue(String resultValueKey,
                                    ContextInfo context)
                             throws DoesNotExistException,
                                    DependentObjectsExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Specified by:
deleteResultValue in interface LRCService
Throws:
DoesNotExistException
DependentObjectsExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

validateResultValue

public List<ValidationResultInfo> validateResultValue(String validationType,
                                                      ResultValueInfo resultValueInfo,
                                                      ContextInfo context)
                                               throws DoesNotExistException,
                                                      InvalidParameterException,
                                                      MissingParameterException,
                                                      OperationFailedException
Specified by:
validateResultValue in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getCreateResultValueForScale

public ResultValueInfo getCreateResultValueForScale(String resultValue,
                                                    String scaleKey,
                                                    ContextInfo context)
                                             throws InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException,
                                                    PermissionDeniedException
Specified by:
getCreateResultValueForScale in interface LRCService
Specified by:
getCreateResultValueForScale in interface LrcServiceBusinessLogic
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesGroupsByResultScaleType

public List<ResultValuesGroupInfo> getResultValuesGroupsByResultScaleType(String resultScaleTypeKey,
                                                                          ContextInfo context)
                                                                   throws DoesNotExistException,
                                                                          InvalidParameterException,
                                                                          MissingParameterException,
                                                                          OperationFailedException,
                                                                          PermissionDeniedException
Specified by:
getResultValuesGroupsByResultScaleType in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultScale

public ResultScaleInfo getResultScale(String resultScaleKey,
                                      ContextInfo context)
                               throws DoesNotExistException,
                                      InvalidParameterException,
                                      MissingParameterException,
                                      OperationFailedException,
                                      PermissionDeniedException
Specified by:
getResultScale in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultScalesByKeys

public List<ResultScaleInfo> getResultScalesByKeys(List<String> resultScaleKeys,
                                                   ContextInfo context)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException
Specified by:
getResultScalesByKeys in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultScaleKeysByType

public List<String> getResultScaleKeysByType(String resultScaleTypeKey,
                                             ContextInfo context)
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             PermissionDeniedException
Specified by:
getResultScaleKeysByType in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

createResultScale

public ResultScaleInfo createResultScale(String resultScaleTypeKey,
                                         ResultScaleInfo resultScaleInfo,
                                         ContextInfo context)
                                  throws AlreadyExistsException,
                                         DataValidationErrorException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException
Specified by:
createResultScale in interface LRCService
Throws:
AlreadyExistsException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

updateResultScale

public ResultScaleInfo updateResultScale(String resultScaleKey,
                                         ResultScaleInfo gradeScaleInfo,
                                         ContextInfo context)
                                  throws DataValidationErrorException,
                                         DoesNotExistException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException,
                                         VersionMismatchException
Specified by:
updateResultScale in interface LRCService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException

deleteResultScale

public StatusInfo deleteResultScale(String resultScaleKey,
                                    ContextInfo context)
                             throws DoesNotExistException,
                                    DependentObjectsExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Specified by:
deleteResultScale in interface LRCService
Throws:
DoesNotExistException
DependentObjectsExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

validateResultScale

public List<ValidationResultInfo> validateResultScale(String validationType,
                                                      ResultScaleInfo gradeScaleInfo,
                                                      ContextInfo context)
                                               throws DoesNotExistException,
                                                      InvalidParameterException,
                                                      MissingParameterException,
                                                      OperationFailedException
Specified by:
validateResultScale in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getResultValuesForScale

public List<ResultValueInfo> getResultValuesForScale(String resultScaleKey,
                                                     ContextInfo context)
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException
Specified by:
getResultValuesForScale in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValueForScaleAndValue

public ResultValueInfo getResultValueForScaleAndValue(String resultScaleKey,
                                                      String value,
                                                      ContextInfo contextInfo)
                                               throws DoesNotExistException,
                                                      InvalidParameterException,
                                                      MissingParameterException,
                                                      OperationFailedException,
                                                      PermissionDeniedException
Specified by:
getResultValueForScaleAndValue in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getResultValuesForResultValuesGroups

public List<ResultValueInfo> getResultValuesForResultValuesGroups(List<String> resultValuesGroupKeys,
                                                                  ContextInfo context)
                                                           throws DoesNotExistException,
                                                                  InvalidParameterException,
                                                                  MissingParameterException,
                                                                  OperationFailedException,
                                                                  PermissionDeniedException
Specified by:
getResultValuesForResultValuesGroups in interface LRCService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.