@AccessLevel(value=EXTERNAL)
public interface ServiceDeliveryEvaluation
extends curam.util.persistence.StandardEntity, curam.util.persistence.OptimisticLockModifiable, curam.util.persistence.helper.Lifecycle<curam.codetable.impl.RECORDSTATUSEntry>
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceDeliveryEvaluation.ServiceDeliveryEvalCalculateOutcomeForServiceDeliveryEvalEvents
Interface to the ServiceDeliveryEvaluation API events functionality
surrounding the calculateOutcomeForServiceDeliveryEvaluation method.
|
static interface |
ServiceDeliveryEvaluation.ServiceDeliveryEvaluationEvents
Interface to the
ServiceDeliveryEvaluation events functionality
surrounding the creation of service delivery evaluation records. |
Modifier and Type | Method and Description |
---|---|
void |
calculateOutcomeForServiceDeliveryEvaluation()
Reads the outcome for a service delivery evaluation.
|
void |
cancel(int versionNo)
Cancels a
ServiceDeliveryEvaluation instance, setting its
RECORDSTATUSEntry to 'CANCELLED'. |
java.lang.String |
getComments()
Gets the service delivery evaluation comment.
|
curam.piwrapper.user.impl.User |
getCreatedBy()
Gets the user who recorded the evaluation for the service delivery.
|
curam.util.type.Date |
getCreationDate()
Gets the date on which the service delivery evaluation was recorded.
|
Provider |
getProvider()
Gets the
Provider for which the evaluation relates to. |
curam.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry |
getResponseForCriterionEvaluation(curam.serviceoffering.impl.SOEvaluationCriterion soEvaluationCriterion)
Returns a response, if one was was recorded as part of a service
evaluation, for the specified criterion.
|
java.lang.Integer |
getScoreForCriterionEvaluation(curam.serviceoffering.impl.SOEvaluationCriterion soEvaluationCriterion)
Returns a score, if one was was recorded as part of a service evaluation,
for the specified criterion.
|
ServiceOffering |
getServiceOffering()
Gets the
ServiceOffering for which the evaluation relates to. |
void |
insert(java.util.Map<curam.serviceoffering.impl.SOEvaluationCriterion,curam.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry> evaluations)
Inserts a new
ServiceDeliveryEvaluation record for the
ServiceDelivery . |
java.util.Map<curam.serviceoffering.impl.SOEvaluationCriterion,curam.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry> |
listCriterionEvaluationsForServiceDeliveryEvaluation()
Returns a list of the criteria evaluations, for a specific service delivery
evaluation record.
|
void |
modify(java.util.Map<curam.serviceoffering.impl.SOEvaluationCriterion,curam.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry> evaluations,
java.util.List<curam.serviceoffering.impl.SOEvaluationCriterion> blankScores,
java.lang.Integer versionNo)
Modifies a
ServiceDeliveryEvaluation record for the
ServiceDelivery . |
void |
setComments(java.lang.String comment)
Sets the service delivery evaluation comment.
|
void |
setProvider(Provider provider)
Sets the
Provider for which the evaluation relates to. |
void |
setServiceOffering(ServiceOffering serviceOffering)
Sets the
ServiceOffering for which the evaluation relates to. |
void setComments(java.lang.String comment)
comment
- comment entered by user recording the evaluation for the service
deliveryjava.lang.String getComments()
curam.piwrapper.user.impl.User getCreatedBy()
curam.util.type.Date getCreationDate()
void setProvider(Provider provider)
Provider
for which the evaluation relates to. This is
optional, as a service delivery can be evaluated where no provider is
specified, and the evaluation is not linked to a specified provider in the
system.provider
- Provider
object instanceProvider getProvider()
Provider
for which the evaluation relates to. This is
optional, as a service delivery can be evaluated where no provider is
specified, and the evaluation is not linked to a specified provider in the
system.Provider
object instanceServiceOffering getServiceOffering()
ServiceOffering
for which the evaluation relates to.ServiceOffering
object instancevoid setServiceOffering(ServiceOffering serviceOffering)
ServiceOffering
for which the evaluation relates to.serviceOffering
- ServiceOffering
object instancevoid insert(java.util.Map<curam.serviceoffering.impl.SOEvaluationCriterion,curam.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry> evaluations) throws curam.util.exception.InformationalException
ServiceDeliveryEvaluation
record for the
ServiceDelivery
. Creates a SDCriterionEvaluation
record for
each criteria evaluated as part of this service delivery evaluation.evaluations
- map of evaluation - rating pairs, representing the rating for each
criterion being evaluated for the service delivery evaluationcuram.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESERVICEDELIVERYEVALUATION_FV_CREATED_BY_MUST_BE_ENTERED
- if the created by user name is not set.curam.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESDCRITERIONEVALUATION_FV_SERVICEDELIVERYEVALUATION_MUST_BE_ENTERED
- if the ServiceDeliveryEvaluation
identifier is not set
for an evaluated criterion.curam.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_XRV_ACTIVE_SERVICE_DELIVERY_EVALUATION_FOR_CRITERION_EXISTS(arg1)
- if a duplicate criterion evaluation with an 'Active' record
status is recorded for a service delivery. There should only be
one 'Active' criterion evaluation record, for a
ServiceDeliveryEvaluation
and a SOEvaluationCriterion
.curam.util.exception.InformationalException
- Generic Exception Signaturecuram.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESDCRITERIONEVALUATION_FV_RATING_MUST_BE_ENTERED
- if a rating is not specified for a criterion deemed evaluated.
Not all criteria may be evaluated as part of a service delivery
evaluation, but if an attempt is made to create a criterion
evaluation record without specifying a rating code value, this
exception will be thrown.curam.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESDCRITERIONEVALUATION_FV_SOEVALUATIONCRITERION_MUST_BE_ENTERED
- if the SOEvaluationCriterion
identifier is not set for
an evaluated criterion.curam.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESERVICEDELIVERYEVALUATION_FV_CREATION_DATE_MUST_BE_ENTERED
- if the creation date is not set.void modify(java.util.Map<curam.serviceoffering.impl.SOEvaluationCriterion,curam.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry> evaluations, java.util.List<curam.serviceoffering.impl.SOEvaluationCriterion> blankScores, java.lang.Integer versionNo) throws curam.util.exception.InformationalException
ServiceDeliveryEvaluation
record for the
ServiceDelivery
. Creates/modifies SDCriterionEvaluation
records for each criteria evaluated as part of this service delivery
evaluation. Any criteria whose evaluation score is reset to blank as part
of the modify, will be canceled.evaluations
- map of evaluation - rating pairs, representing the rating for each
criterion being evaluated for the service delivery evaluationblankScores
- list of SOEvaluationCriterion
for the service for which no
score was set as part of the modify operationversionNo
- used for version controlcuram.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_XRV_ACTIVE_SERVICE_DELIVERY_EVALUATION_FOR_CRITERION_EXISTS(arg1)
- if a duplicate criterion evaluation with an 'Active' record
status is recorded for a service delivery. There should only be
one 'Active' criterion evaluation record, for a
ServiceDeliveryEvaluation
and a SOEvaluationCriterion
.curam.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESDCRITERIONEVALUATION_FV_RATING_MUST_BE_ENTERED
- if a rating is not specified for a criterion deemed evaluated.
Not all criteria may be evaluated as part of a service delivery
evaluation, but if an attempt is made to create a criterion
evaluation record without specifying a rating code value, this
exception will be thrown.curam.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESDCRITERIONEVALUATION_FV_SOEVALUATIONCRITERION_MUST_BE_ENTERED
- if the SOEvaluationCriterion
identifier is not set for
an evaluated criterion.curam.util.exception.InformationalException
- Generic Exception Signaturecuram.util.exception.InformationalException
- SERVICEDELIVERYEVALUATION#ERR_CREATESDCRITERIONEVALUATION_FV_SERVICEDELIVERYEVALUATION_MUST_BE_ENTERED
- if the ServiceDeliveryEvaluation
identifier is not set
for an evaluated criterion.java.util.Map<curam.serviceoffering.impl.SOEvaluationCriterion,curam.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry> listCriterionEvaluationsForServiceDeliveryEvaluation()
java.lang.Integer getScoreForCriterionEvaluation(curam.serviceoffering.impl.SOEvaluationCriterion soEvaluationCriterion)
soEvaluationCriterion
- SOEvaluationCriterion
recordcuram.serviceevaluationcriterion.impl.SECRESPONSEVALUEEntry getResponseForCriterionEvaluation(curam.serviceoffering.impl.SOEvaluationCriterion soEvaluationCriterion)
soEvaluationCriterion
- SOEvaluationCriterion
recordvoid cancel(int versionNo) throws curam.util.exception.InformationalException
ServiceDeliveryEvaluation
instance, setting its
RECORDSTATUSEntry
to 'CANCELLED'.versionNo
- used for version controlcuram.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) void calculateOutcomeForServiceDeliveryEvaluation() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.AppException
curam.util.exception.InformationalException
ServiceDeliveryEvaluation |