org.kuali.student.lum.statement.config.context
Class LrcContextImplTest.LrcServiceMock
java.lang.Object
org.kuali.student.lum.statement.config.context.LrcContextImplTest.LrcServiceMock
- All Implemented Interfaces:
- DictionaryService, SearchService, LrcService
- Enclosing class:
- LrcContextImplTest
private static class LrcContextImplTest.LrcServiceMock
- extends Object
- implements LrcService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultComponentMap
private Map<String,ResultComponentInfo> resultComponentMap
resultComponentTypeList
private List<ResultComponentTypeInfo> resultComponentTypeList
typeIdMap
private Map<String,List<String>> typeIdMap
LrcContextImplTest.LrcServiceMock
public LrcContextImplTest.LrcServiceMock()
compareGrades
public String compareGrades(String gradeKey,
String scaleKey,
String compareGradeKey,
String compareScaleKey)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
compareGrades in interface LrcService
- Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
createResultComponent
public ResultComponentInfo createResultComponent(String resultComponentTypeKey,
ResultComponentInfo resultComponentInfo)
throws AlreadyExistsException,
DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
createResultComponent in interface LrcService
- Throws:
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
deleteResultComponent
public StatusInfo deleteResultComponent(String resultComponentId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
deleteResultComponent in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
getCredential
public CredentialInfo getCredential(String credentialKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCredential in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getCredentialKeysByCredentialType
public List<String> getCredentialKeysByCredentialType(String credentialTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCredentialKeysByCredentialType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getCredentialType
public CredentialTypeInfo getCredentialType(String credentialTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCredentialType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getCredentialTypes
public List<CredentialTypeInfo> getCredentialTypes()
throws OperationFailedException
- Specified by:
getCredentialTypes in interface LrcService
- Throws:
OperationFailedException
getCredentialsByKeyList
public List<CredentialInfo> getCredentialsByKeyList(List<String> credentialKeyList)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCredentialsByKeyList in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getCredit
public CreditInfo getCredit(String creditKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCredit in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getCreditKeysByCreditType
public List<String> getCreditKeysByCreditType(String creditTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCreditKeysByCreditType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getCreditType
public CreditTypeInfo getCreditType(String creditTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCreditType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getCreditTypes
public List<CreditTypeInfo> getCreditTypes()
throws OperationFailedException
- Specified by:
getCreditTypes in interface LrcService
- Throws:
OperationFailedException
getCreditsByKeyList
public List<CreditInfo> getCreditsByKeyList(List<String> creditKeyList)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getCreditsByKeyList in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getGrade
public GradeInfo getGrade(String gradeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getGrade in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getGradeKeysByGradeType
public List<String> getGradeKeysByGradeType(String gradeTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getGradeKeysByGradeType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getGradeType
public GradeTypeInfo getGradeType(String gradeTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getGradeType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getGradeTypes
public List<GradeTypeInfo> getGradeTypes()
throws OperationFailedException
- Specified by:
getGradeTypes in interface LrcService
- Throws:
OperationFailedException
getGradesByKeyList
public List<GradeInfo> getGradesByKeyList(List<String> gradeKeyList)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getGradesByKeyList in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getGradesByScale
public List<GradeInfo> getGradesByScale(String scale)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getGradesByScale in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getResultComponent
public ResultComponentInfo getResultComponent(String resultComponentId)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getResultComponent in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getResultComponentIdsByResult
public List<String> getResultComponentIdsByResult(String resultValueId,
String resultComponentTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getResultComponentIdsByResult in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getResultComponentIdsByResultComponentType
public List<String> getResultComponentIdsByResultComponentType(String resultComponentTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getResultComponentIdsByResultComponentType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getResultComponentType
public ResultComponentTypeInfo getResultComponentType(String resultComponentTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getResultComponentType in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getResultComponentTypes
public List<ResultComponentTypeInfo> getResultComponentTypes()
throws OperationFailedException
- Specified by:
getResultComponentTypes in interface LrcService
- Throws:
OperationFailedException
getScale
public ScaleInfo getScale(String scaleKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getScale in interface LrcService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
translateGrade
public List<GradeInfo> translateGrade(String gradeKey,
String scaleKey,
String translateScaleKey)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
translateGrade in interface LrcService
- Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
updateResultComponent
public ResultComponentInfo updateResultComponent(String resultComponentId,
ResultComponentInfo resultComponentInfo)
throws DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException,
VersionMismatchException
- Specified by:
updateResultComponent in interface LrcService
- Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException
getSearchCriteriaType
public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getSearchCriteriaType in interface SearchService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getSearchCriteriaTypes
public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
throws OperationFailedException
- Specified by:
getSearchCriteriaTypes in interface SearchService
- Throws:
OperationFailedException
getSearchResultType
public SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getSearchResultType in interface SearchService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getSearchResultTypes
public List<SearchResultTypeInfo> getSearchResultTypes()
throws OperationFailedException
- Specified by:
getSearchResultTypes in interface SearchService
- Throws:
OperationFailedException
getSearchType
public SearchTypeInfo getSearchType(String searchTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getSearchType in interface SearchService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getSearchTypes
public List<SearchTypeInfo> getSearchTypes()
throws OperationFailedException
- Specified by:
getSearchTypes in interface SearchService
- Throws:
OperationFailedException
getSearchTypesByCriteria
public List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getSearchTypesByCriteria in interface SearchService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
getSearchTypesByResult
public List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
getSearchTypesByResult in interface SearchService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
search
public SearchResult search(SearchRequest searchRequest)
throws MissingParameterException
- Specified by:
search in interface SearchService
- Throws:
MissingParameterException
getObjectStructure
public ObjectStructureDefinition getObjectStructure(String objectTypeKey)
- Specified by:
getObjectStructure in interface DictionaryService
getObjectTypes
public List<String> getObjectTypes()
- Specified by:
getObjectTypes in interface DictionaryService
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.