|
||||||||||
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.LrcServiceBusinessLogicImpl
public class LrcServiceBusinessLogicImpl
Constructor Summary | |
---|---|
LrcServiceBusinessLogicImpl()
|
Method Summary | |
---|---|
protected String |
calcCreditValueKey(String creditValue,
String scaleKey)
Calculate the fixed credit value key to use that matches the specified value |
protected List<String> |
calcCreditValueKeys(List<String> creditValues,
String scaleKey)
Calculate the value keys to use that matches the specified value |
protected String |
calcFixedCreditRvgKey(String creditValue,
String scaleKey)
Calculate the result values group key for the fixed credit value |
protected String |
calcFixedCreditRvgName(String value)
Calculate the result values group key for the range credit value |
protected String |
calcMultipleCreditRvgDescr(List<String> values)
|
protected String |
calcMultipleCreditRvgKey(List<String> values,
String scaleKey)
Calculate the result values group key for the range credit value |
protected String |
calcMultipleCreditRvgName(List<String> values)
Calculate the result values group key for the range credit value |
protected String |
calcRangeCreditRvgKey(String creditValueMin,
String creditValueMax,
String creditValueIncrement,
String scaleKey)
Calculate the result values group key for the range credit value |
protected String |
calcRangeCreditRvgName(String creditValueMin,
String creditValueMax,
String creditValueIncrement)
Calculate the result values group key for the range credit value |
protected List<String> |
calcRangeCreditValues(String creditValueMin,
String creditValueMax,
String creditValueIncrement)
calculate all the values needed to create the range |
protected String |
calcResultValueKey(String resultValue,
String scaleKey)
Calculate key to use for the result value |
ResultValuesGroupInfo |
getCreateFixedCreditResultValuesGroup(String creditValue,
String scaleKey,
ContextInfo contextInfo)
|
ResultValuesGroupInfo |
getCreateMultipleCreditResultValuesGroup(List<String> creditValues,
String scaleKey,
ContextInfo contextInfo)
|
ResultValuesGroupInfo |
getCreateRangeCreditResultValuesGroup(String creditValueMin,
String creditValueMax,
String creditValueIncrement,
String scaleKey,
ContextInfo contextInfo)
|
ResultValueInfo |
getCreateResultValueForScale(String resultValue,
String scaleKey,
ContextInfo contextInfo)
|
LRCService |
getLrcService()
|
void |
setLrcService(LRCService lrcService)
|
protected static boolean |
stringNumberEquals(String value1,
String value2)
This method converts the two input strings into floats and returns true if they're equal, false otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LrcServiceBusinessLogicImpl()
Method Detail |
---|
protected String calcFixedCreditRvgKey(String creditValue, String scaleKey) throws InvalidParameterException
creditValue
- valuescaleKey
- key
InvalidParameterException
protected String calcFixedCreditRvgName(String value) throws InvalidParameterException
value
- value
InvalidParameterException
protected String calcCreditValueKey(String creditValue, String scaleKey) throws InvalidParameterException
creditValue
- valuescaleKey
- scale key
InvalidParameterException
public ResultValuesGroupInfo getCreateFixedCreditResultValuesGroup(String creditValue, String scaleKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
getCreateFixedCreditResultValuesGroup
in interface LrcServiceBusinessLogic
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
protected String calcRangeCreditRvgKey(String creditValueMin, String creditValueMax, String creditValueIncrement, String scaleKey) throws InvalidParameterException
creditValueMin
- min credit value of rangecreditValueMax
- max credit value of rangecreditValueIncrement
- increment of rangescaleKey
- scale key
InvalidParameterException
protected String calcRangeCreditRvgName(String creditValueMin, String creditValueMax, String creditValueIncrement) throws InvalidParameterException
creditValueMin
- min credit value of rangecreditValueMax
- max credit value of rangecreditValueIncrement
- increment of range
InvalidParameterException
protected List<String> calcRangeCreditValues(String creditValueMin, String creditValueMax, String creditValueIncrement) throws InvalidParameterException
creditValueMin
- min credit value of rangecreditValueMax
- max credit value of rangecreditValueIncrement
- increment of range
InvalidParameterException
public ResultValuesGroupInfo getCreateRangeCreditResultValuesGroup(String creditValueMin, String creditValueMax, String creditValueIncrement, String scaleKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
getCreateRangeCreditResultValuesGroup
in interface LrcServiceBusinessLogic
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
protected static boolean stringNumberEquals(String value1, String value2)
value1
- value 1value2
- value 2
protected String calcMultipleCreditRvgKey(List<String> values, String scaleKey) throws InvalidParameterException
values
- valuesscaleKey
- scale key
InvalidParameterException
protected String calcMultipleCreditRvgName(List<String> values) throws InvalidParameterException
values
- list of credit values
InvalidParameterException
protected String calcMultipleCreditRvgDescr(List<String> values) throws InvalidParameterException
InvalidParameterException
protected List<String> calcCreditValueKeys(List<String> creditValues, String scaleKey) throws InvalidParameterException
creditValues
- list of credit valuesscaleKey
- scale key
InvalidParameterException
public ResultValuesGroupInfo getCreateMultipleCreditResultValuesGroup(List<String> creditValues, String scaleKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
getCreateMultipleCreditResultValuesGroup
in interface LrcServiceBusinessLogic
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
protected String calcResultValueKey(String resultValue, String scaleKey)
resultValue
- the value of the resultscaleKey
- key used for getting the proper scale.
public ResultValueInfo getCreateResultValueForScale(String resultValue, String scaleKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
getCreateResultValueForScale
in interface LrcServiceBusinessLogic
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public LRCService getLrcService()
public void setLrcService(LRCService lrcService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |