|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.r2.lum.lrc.service.impl.LRCServiceImpl
public class LRCServiceImpl
Constructor Summary | |
---|---|
LRCServiceImpl()
|
Method Summary | |
---|---|
ResultScaleInfo |
createResultScale(String typeKey,
ResultScaleInfo info,
ContextInfo contextInfo)
Creates a new result scale. |
ResultValueInfo |
createResultValue(String resultScaleKey,
String typeKey,
ResultValueInfo info,
ContextInfo contextInfo)
Create a new result value |
ResultValuesGroupInfo |
createResultValuesGroup(String resultScaleKey,
String typeKey,
ResultValuesGroupInfo info,
ContextInfo contextInfo)
Creates a new result Values Group. |
StatusInfo |
deleteResultScale(String key,
ContextInfo contextInfo)
Deletes an existing result scale. |
StatusInfo |
deleteResultValue(String key,
ContextInfo contextInfo)
Delete a result value. |
StatusInfo |
deleteResultValuesGroup(String key,
ContextInfo contextInfo)
Deletes an existing result values group. |
ResultValuesGroupInfo |
getCreateFixedCreditResultValuesGroup(String creditValue,
String scaleKey,
ContextInfo context)
Get or create a new result values group holding the specified number of credits The resulting RVG should have a type of FIXED May also create the corresponding credit value. |
ResultValuesGroupInfo |
getCreateMultipleCreditResultValuesGroup(List<String> creditValues,
String scaleKey,
ContextInfo context)
Get or create a new result values group holding the specified number of credits The resulting RVG should have the type of MULTIPLE |
ResultValuesGroupInfo |
getCreateRangeCreditResultValuesGroup(String creditValueMin,
String creditValueMax,
String creditValueIncrement,
String scaleKey,
ContextInfo context)
Get or create a new result values group holding the specified number of credits The resulting RVG will have a type of RANGE |
ResultValueInfo |
getCreateResultValueForScale(String resultValue,
String scaleKey,
ContextInfo context)
Get or create a new result value holding the specified numeric value within the range The resulting result value should be attached to the specified group and must be within the range of the group |
LrcServiceBusinessLogic |
getLrcServiceBusinessLogic()
|
ResultScaleInfo |
getResultScale(String key,
ContextInfo contextInfo)
Retrieves result scale by an identifier. |
CriteriaLookupService |
getResultScaleCriteriaLookupService()
|
ResultScaleDao |
getResultScaleDao()
|
List<String> |
getResultScaleKeysByType(String resultScaleTypeKey,
ContextInfo contextInfo)
Retrieves a list of result group identifiers for a specified result scale type. |
List<ResultScaleInfo> |
getResultScalesByKeys(List<String> keys,
ContextInfo contextInfo)
Retrieves result scales by a list of identifiers. |
ResultValueInfo |
getResultValue(String key,
ContextInfo contextInfo)
Retrieves result value by its id. |
CriteriaLookupService |
getResultValueCriteriaLookupService()
|
ResultValueDao |
getResultValueDao()
|
ResultValueInfo |
getResultValueForScaleAndValue(String resultScaleKey,
String value,
ContextInfo contextInfo)
Retrieves a result value by result scale key and value |
List<String> |
getResultValueKeysByType(String resultValueTypeKey,
ContextInfo contextInfo)
Retrieves a list of result values by type. |
List<ResultValueInfo> |
getResultValuesByKeys(List<String> keys,
ContextInfo contextInfo)
Retrieves a list of result value objects for a list of identifiers. |
List<ResultValueInfo> |
getResultValuesForResultValuesGroup(String resultValuesGroupKey,
ContextInfo contextInfo)
Retrieves a list of result value objects for a specified result values group. |
List<ResultValueInfo> |
getResultValuesForResultValuesGroups(List<String> resultValuesGroupKeys,
ContextInfo contextInfo)
Retrieves result values for the list of Result values groups. |
List<ResultValueInfo> |
getResultValuesForScale(String resultScaleKey,
ContextInfo contextInfo)
Retrieves result values by result scale key. |
ResultValuesGroupInfo |
getResultValuesGroup(String key,
ContextInfo contextInfo)
Retrieves existing result values group by an identifier. |
CriteriaLookupService |
getResultValuesGroupCriteriaLookupService()
|
ResultValuesGroupDao |
getResultValuesGroupDao()
|
List<String> |
getResultValuesGroupKeysByType(String resultValuesGroupTypeKey,
ContextInfo contextInfo)
Retrieves a list of result group identifiers for a specified result values group type. |
List<ResultValuesGroupInfo> |
getResultValuesGroupsByKeys(List<String> keys,
ContextInfo contextInfo)
Retrieves result values groups by a list of identifiers. |
List<ResultValuesGroupInfo> |
getResultValuesGroupsByResultScale(String resultScaleKey,
ContextInfo contextInfo)
Retrieves a list of existing result values groups that a result scale is tied to. |
List<ResultValuesGroupInfo> |
getResultValuesGroupsByResultScaleType(String resultScaleTypeKey,
ContextInfo contextInfo)
Retrieves a list of existing result values groups that have a scale of the specified type. |
List<ResultValuesGroupInfo> |
getResultValuesGroupsByResultValue(String resultValueKey,
ContextInfo contextInfo)
Retrieves a list of existing result values groups that a result value is tied to. |
SearchManager |
getSearchManager()
|
TypeInfo |
getSearchType(String searchTypeKey,
ContextInfo contextInfo)
Retrieves information about a particular search type. |
List<TypeInfo> |
getSearchTypes(ContextInfo contextInfo)
Retrieves the list of search types known by this service. |
SearchResultInfo |
search(SearchRequestInfo searchRequest,
ContextInfo contextInfo)
Performs a search. |
List<String> |
searchForResultScaleIds(QueryByCriteria criteria,
ContextInfo context)
Searches for result scale ids using a free form search criteria. |
List<ResultScaleInfo> |
searchForResultScales(QueryByCriteria criteria,
ContextInfo context)
Searches for result scales using a free form search criteria |
List<String> |
searchForResultValueIds(QueryByCriteria criteria,
ContextInfo context)
Searches for result value ids using a free form search criteria. |
List<ResultValueInfo> |
searchForResultValues(QueryByCriteria criteria,
ContextInfo context)
Searches for result values using a free form search criteria |
List<String> |
searchForResultValuesGroupIds(QueryByCriteria criteria,
ContextInfo context)
Searches for result value group ids using a free form search criteria. |
List<ResultValuesGroupInfo> |
searchForResultValuesGroups(QueryByCriteria criteria,
ContextInfo context)
Searches for result value groups using a free form search criteria |
void |
setLrcServiceBusinessLogic(LrcServiceBusinessLogic lrcServiceBusinessLogic)
|
void |
setResultScaleCriteriaLookupService(CriteriaLookupService resultScaleCriteriaLookupService)
|
void |
setResultScaleDao(ResultScaleDao resultScaleDao)
|
void |
setResultValueCriteriaLookupService(CriteriaLookupService resultValueCriteriaLookupService)
|
void |
setResultValueDao(ResultValueDao resultValueDao)
|
void |
setResultValuesGroupCriteriaLookupService(CriteriaLookupService resultValuesGroupCriteriaLookupService)
|
void |
setResultValuesGroupDao(ResultValuesGroupDao resultValuesGroupDao)
|
void |
setSearchManager(SearchManager searchManager)
|
ResultScaleInfo |
updateResultScale(String key,
ResultScaleInfo info,
ContextInfo contextInfo)
Updates an existing result scale. |
ResultValueInfo |
updateResultValue(String key,
ResultValueInfo info,
ContextInfo contextInfo)
Update a result value |
ResultValuesGroupInfo |
updateResultValuesGroup(String key,
ResultValuesGroupInfo info,
ContextInfo contextInfo)
Updates an existing result values group. |
List<ValidationResultInfo> |
validateResultScale(String validationType,
ResultScaleInfo gradeScaleInfo,
ContextInfo contextInfo)
Validates a result scale. |
List<ValidationResultInfo> |
validateResultValue(String validationType,
ResultValueInfo resultValueInfo,
ContextInfo contextInfo)
Validates a Result Value. |
List<ValidationResultInfo> |
validateResultValuesGroup(String validationType,
ResultValuesGroupInfo gradeValuesGroupInfo,
ContextInfo contextInfo)
Validates a result values group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LRCServiceImpl()
Method Detail |
---|
public SearchManager getSearchManager()
public void setSearchManager(SearchManager searchManager)
public LrcServiceBusinessLogic getLrcServiceBusinessLogic()
public void setLrcServiceBusinessLogic(LrcServiceBusinessLogic lrcServiceBusinessLogic)
public ResultScaleDao getResultScaleDao()
public void setResultScaleDao(ResultScaleDao resultScaleDao)
public ResultValueDao getResultValueDao()
public void setResultValueDao(ResultValueDao resultValueDao)
public ResultValuesGroupDao getResultValuesGroupDao()
public void setResultValuesGroupDao(ResultValuesGroupDao resultValuesGroupDao)
public CriteriaLookupService getResultScaleCriteriaLookupService()
public void setResultScaleCriteriaLookupService(CriteriaLookupService resultScaleCriteriaLookupService)
public CriteriaLookupService getResultValueCriteriaLookupService()
public void setResultValueCriteriaLookupService(CriteriaLookupService resultValueCriteriaLookupService)
public CriteriaLookupService getResultValuesGroupCriteriaLookupService()
public void setResultValuesGroupCriteriaLookupService(CriteriaLookupService resultValuesGroupCriteriaLookupService)
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultScaleInfo createResultScale(String typeKey, ResultScaleInfo info, ContextInfo contextInfo) throws AlreadyExistsException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
createResultScale
in interface LRCService
typeKey
- type key of the result scaleinfo
- information about the result scale
being createdcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
AlreadyExistsException
- result scale already exists
DataValidationErrorException
- one or more values invalid for
this operation
InvalidParameterException
- invalid resultScaleInfo
MissingParameterException
- missing resultScaleInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValueInfo createResultValue(String resultScaleKey, String typeKey, ResultValueInfo info, ContextInfo contextInfo) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
createResultValue
in interface LRCService
resultScaleKey
- scale to which this value is attachedtypeKey
- type of the result value to be createdinfo
- info about the result valuecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
AlreadyExistsException
- resultValue already exists
DataValidationErrorException
- one or more values invalid for
this operation
InvalidParameterException
- invalid resultValueInfo
MissingParameterException
- missing resultValueInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
DoesNotExistException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValuesGroupInfo createResultValuesGroup(String resultScaleKey, String typeKey, ResultValuesGroupInfo info, ContextInfo contextInfo) throws AlreadyExistsException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
createResultValuesGroup
in interface LRCService
info
- information about the result values group
being createdcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
AlreadyExistsException
- result values group already exists
DataValidationErrorException
- one or more values invalid for
this operation
InvalidParameterException
- invalid resultValuesGroupInfo
MissingParameterException
- missing resultValuesGroupInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteResultScale(String key, ContextInfo contextInfo) throws DoesNotExistException, DependentObjectsExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
deleteResultScale
in interface LRCService
key
- identifier of the result scale to updatecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultScaleKey not found
DependentObjectsExistException
- if a group or value exists for this scale
InvalidParameterException
- invalid resultScaleKey
MissingParameterException
- missing resultScaleKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteResultValue(String key, ContextInfo contextInfo) throws DoesNotExistException, DependentObjectsExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
deleteResultValue
in interface LRCService
key
- result value to be deletedcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValueKey does not exist
DependentObjectsExistException
- if a group is tied to this value
InvalidParameterException
- invalid resultValueKey
MissingParameterException
- missing resultValueKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteResultValuesGroup(String key, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
deleteResultValuesGroup
in interface LRCService
key
- identifier of the result values group to updatecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValuesGroupKey not found
InvalidParameterException
- invalid resultValuesGroupKey
MissingParameterException
- missing resultValuesGroupKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValuesGroupInfo getCreateFixedCreditResultValuesGroup(String creditValue, String scaleKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getCreateFixedCreditResultValuesGroup
in interface LRCService
getCreateFixedCreditResultValuesGroup
in interface LrcServiceBusinessLogic
creditValue
- the credit value to be found/createdscaleKey
- the scale associated with this type of credit (regular or remedial or continuing ed, etc)context
- Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException
- invalid resultValuesGroupInfo
MissingParameterException
- missing resultValuesGroupInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValuesGroupInfo getCreateRangeCreditResultValuesGroup(String creditValueMin, String creditValueMax, String creditValueIncrement, String scaleKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getCreateRangeCreditResultValuesGroup
in interface LRCService
getCreateRangeCreditResultValuesGroup
in interface LrcServiceBusinessLogic
creditValueMin
- the minimum credit value of the range to be found/createdcreditValueMax
- the maximum credit value to be found/createdcreditValueIncrement
- the credit value increment of the range to be found/createdscaleKey
- the scale associated with this type of credit (regular or remedial or continuing ed, etc)context
- Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException
- invalid resultValuesGroupInfo
MissingParameterException
- missing resultValuesGroupInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValuesGroupInfo getCreateMultipleCreditResultValuesGroup(List<String> creditValues, String scaleKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getCreateMultipleCreditResultValuesGroup
in interface LRCService
getCreateMultipleCreditResultValuesGroup
in interface LrcServiceBusinessLogic
creditValues
- the minimum credit value of the range to be found/createdscaleKey
- the scale associated with this type of credit (regular or remedial or continuing ed, etc)context
- Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException
- invalid resultValuesGroupInfo
MissingParameterException
- missing resultValuesGroupInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValueInfo getCreateResultValueForScale(String resultValue, String scaleKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getCreateResultValueForScale
in interface LRCService
getCreateResultValueForScale
in interface LrcServiceBusinessLogic
resultValue
- the result value within the specified group range to be found/createdscaleKey
- the with associated with this valuecontext
- Context information containing the principalId
and locale information about the caller of service
operation
InvalidParameterException
- invalid scaleKey or scaleKey is not a range
MissingParameterException
- missing resultValuesGroupInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public ResultScaleInfo getResultScale(String key, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultScale
in interface LRCService
key
- identifiers for result scale to be retrievedcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValuesGroupKey not found
InvalidParameterException
- invalid resultValuesGroupKey
MissingParameterException
- invalid resultValuesGroupKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<String> getResultScaleKeysByType(String resultScaleTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultScaleKeysByType
in interface LRCService
resultScaleTypeKey
- identifier for the result group typecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultScaleTypeKey not found
InvalidParameterException
- invalid resultScaleTypeKey
MissingParameterException
- missing resultScaleTypeKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultScaleInfo> getResultScalesByKeys(List<String> keys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultScalesByKeys
in interface LRCService
keys
- identifiers for result scalecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultScale not found
InvalidParameterException
- invalid resultScaleKeys
MissingParameterException
- invalid resultScaleKeys
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public ResultValueInfo getResultValue(String key, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValue
in interface LRCService
key
- identifier for the resultcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- the resultValueKey is not found
InvalidParameterException
- invalid resultValueKey
MissingParameterException
- missing parameter
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public ResultValueInfo getResultValueForScaleAndValue(String resultScaleKey, String value, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValueForScaleAndValue
in interface LRCService
resultScaleKey
- key to the scalevalue
- the specific valuecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultScaleKey is not found
InvalidParameterException
- invalid resultScaleKey
MissingParameterException
- null resultScaleKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<String> getResultValueKeysByType(String resultValueTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValueKeysByType
in interface LRCService
resultValueTypeKey
- identifier for the result group typecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValueTypeKey not found
InvalidParameterException
- invalid resultValueTypeKey
MissingParameterException
- missing resultValueTypeKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValueInfo> getResultValuesByKeys(List<String> keys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesByKeys
in interface LRCService
keys
- identifier for the resultcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- a resultValueKey from the list is not found
InvalidParameterException
- invalid resultValueKeys
MissingParameterException
- missing resultValueKeys
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValueInfo> getResultValuesForResultValuesGroup(String resultValuesGroupKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesForResultValuesGroup
in interface LRCService
resultValuesGroupKey
- identifier for the result values groupcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValueKey not found
InvalidParameterException
- invalid resultValuesGroupKey
MissingParameterException
- missing resultValuesGroupKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValueInfo> getResultValuesForResultValuesGroups(List<String> resultValuesGroupKeys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesForResultValuesGroups
in interface LRCService
resultValuesGroupKeys
- list of result value groups for which to return valuescontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultScaleKey is not found
InvalidParameterException
- invalid resultScaleKey
MissingParameterException
- null resultScaleKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValueInfo> getResultValuesForScale(String resultScaleKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesForScale
in interface LRCService
resultScaleKey
- key to the scalecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultScaleKey is not found
InvalidParameterException
- invalid resultScaleKey
MissingParameterException
- null resultScaleKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public ResultValuesGroupInfo getResultValuesGroup(String key, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesGroup
in interface LRCService
key
- identifiers for resultValuesGroup to be retrievedcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValuesGroupKey not found
InvalidParameterException
- invalid resultValuesGroupKey
MissingParameterException
- invalid resultValuesGroupKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<String> getResultValuesGroupKeysByType(String resultValuesGroupTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesGroupKeysByType
in interface LRCService
resultValuesGroupTypeKey
- identifier for the result group typecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValuesGroupTypeKey not found
InvalidParameterException
- invalid resultValuesGroupTypeKey
MissingParameterException
- missing resultValuesGroupTypeKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValuesGroupInfo> getResultValuesGroupsByKeys(List<String> keys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesGroupsByKeys
in interface LRCService
keys
- identifiers for result values groupcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValuesGroup not found
InvalidParameterException
- invalid resultValuesGroupKeys
MissingParameterException
- invalid resultValuesGroupKeys
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValuesGroupInfo> getResultValuesGroupsByResultScale(String resultScaleKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesGroupsByResultScale
in interface LRCService
resultScaleKey
- identifier for result scalecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValue not found
InvalidParameterException
- invalid resultValueKey
MissingParameterException
- invalid resultValueKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValuesGroupInfo> getResultValuesGroupsByResultScaleType(String resultScaleTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesGroupsByResultScaleType
in interface LRCService
resultScaleTypeKey
- identifier for result scale type keycontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValue not found
InvalidParameterException
- invalid resultValueKey
MissingParameterException
- invalid resultValueKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ResultValuesGroupInfo> getResultValuesGroupsByResultValue(String resultValueKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
getResultValuesGroupsByResultValue
in interface LRCService
resultValueKey
- identifier for result valuecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValue not found
InvalidParameterException
- invalid resultValueKey
MissingParameterException
- invalid resultValueKey
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultScaleInfo updateResultScale(String key, ResultScaleInfo info, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LRCService
updateResultScale
in interface LRCService
key
- identifier of the result scale to updatecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DataValidationErrorException
- one or more values invalid for
this operation
DoesNotExistException
- resultScaleKey not found
MissingParameterException
- missing resultScaleKey or
resultScaleInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- action was attempted on an out of
date version
InvalidParameterException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValueInfo updateResultValue(String key, ResultValueInfo info, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LRCService
updateResultValue
in interface LRCService
key
- resultValueKey to be updatedinfo
- update information for the result valuecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DataValidationErrorException
- one or more values invalid for
this operation
DoesNotExistException
- resultValueKey does not exist
InvalidParameterException
- invalid resultValueKey, resultValueInfo
MissingParameterException
- missing resultValueKey, resultValueInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- action was attempted on an out of
date version@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ResultValuesGroupInfo updateResultValuesGroup(String key, ResultValuesGroupInfo info, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
LRCService
updateResultValuesGroup
in interface LRCService
key
- identifier of the result values group to updatecontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DataValidationErrorException
- one or more values invalid for
this operation
DoesNotExistException
- resultValuesGroupKey not found
MissingParameterException
- missing resultValuesGroupKey or
resultValuesGroupInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- action was attempted on an out of
date version
InvalidParameterException
public List<ValidationResultInfo> validateResultScale(String validationType, ResultScaleInfo gradeScaleInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LRCService
validateResultScale
in interface LRCService
validationType
- Identifier of the extent of validationgradeScaleInfo
- Result scale to be validatedcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultScaleInfo does not exist
InvalidParameterException
- validationType or
resultScaleInfo does not exist
MissingParameterException
- missing validationType, resultScaleInfo
OperationFailedException
- unable to complete requestpublic List<ValidationResultInfo> validateResultValue(String validationType, ResultValueInfo resultValueInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LRCService
validateResultValue
in interface LRCService
validationType
- Identifier of the extent of validationresultValueInfo
- Result value to be validatedcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValueInfo does not exist
InvalidParameterException
- validationType or resultValueInfo
does not exist
MissingParameterException
- missing validationType or resultValueInfo
OperationFailedException
- unable to complete requestpublic List<ValidationResultInfo> validateResultValuesGroup(String validationType, ResultValuesGroupInfo gradeValuesGroupInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LRCService
validateResultValuesGroup
in interface LRCService
validationType
- Identifier of the extent of validationgradeValuesGroupInfo
- Result values group to be validatedcontextInfo
- Context information containing the principalId
and locale information about the caller of service
operation
DoesNotExistException
- resultValuesGroupInfo does not exist
InvalidParameterException
- validationType or
resultValuesGroupInfo does not exist
MissingParameterException
- missing validationType, resultValuesGroupInfo
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getSearchTypes(ContextInfo contextInfo) throws OperationFailedException, InvalidParameterException, MissingParameterException
SearchService
getSearchTypes
in interface SearchService
contextInfo
- information containing the principalId and locale
information about the caller of service operation
OperationFailedException
- unable to complete request
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- contextInfo is missing or nullpublic TypeInfo getSearchType(String searchTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchType
in interface SearchService
searchTypeKey
- identifier of the search typecontextInfo
- information containing the principalId and locale
information about the caller of service operation
DoesNotExistException
- specified searchTypeKey not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- searchTypeKey or contextInfo is missing
or null
OperationFailedException
- unable to complete requestpublic SearchResultInfo search(SearchRequestInfo searchRequest, ContextInfo contextInfo) throws MissingParameterException, OperationFailedException, PermissionDeniedException, InvalidParameterException
SearchService
search
in interface SearchService
searchRequest
- the search requestcontextInfo
- information containing the principalId and locale
information about the caller of service operation
MissingParameterException
- searchRequestInfo or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
InvalidParameterException
- contextInfo is not valid@Transactional(readOnly=true) public List<String> searchForResultScaleIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
searchForResultScaleIds
in interface LRCService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
@Transactional(readOnly=true) public List<ResultScaleInfo> searchForResultScales(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
searchForResultScales
in interface LRCService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
@Transactional(readOnly=true) public List<String> searchForResultValueIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
searchForResultValueIds
in interface LRCService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
@Transactional(readOnly=true) public List<ResultValueInfo> searchForResultValues(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
searchForResultValues
in interface LRCService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
@Transactional(readOnly=true) public List<String> searchForResultValuesGroupIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
searchForResultValuesGroupIds
in interface LRCService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
@Transactional(readOnly=true) public List<ResultValuesGroupInfo> searchForResultValuesGroups(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LRCService
searchForResultValuesGroups
in interface LRCService
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |