@AccessLevel(value=EXTERNAL)
public interface CREOLEProgramRecommendation
extends curam.util.persistence.StandardEntity, curam.util.persistence.Insertable
Modifier and Type | Method and Description |
---|---|
java.util.Map<CREOLEProgramRecommendationProduct,java.util.List<curam.creole.value.Timeline<? extends java.lang.Boolean>>> |
calculateProgramRecommendation(curam.piwrapper.caseheader.impl.IntegratedCase integratedCase,
java.util.Collection<curam.creoleprogramrecommendation.impl.RequestedProduct> programRequests,
curam.creole.execution.session.Session session)
Calculates the Program Recommendation
|
curam.application.impl.Application |
getApplicationIfExists()
Reads the application associated with this program recommendation,
if one exists.
|
curam.creoleprogramrecommendation.impl.ProgramRecommendationResult |
getCompactProgramRecommendationResult()
The result of program recommendation processing, in compact format.
|
curam.creoleprogramrecommendation.impl.CREOLEProgramRecommendationData |
getCompactProgramRecommendationResultData()
The associated snapshot data for the compact Program Recommendation.
|
curam.creole.execution.session.RuleObjectsSnapshot.SnapshotDataStorage |
getRuleObjectSnapshot()
The snapshot of rule objects used in the calculation of the program
recommendation result, if one was stored.
|
curam.creoleprogramrecommendation.impl.CREOLEProgramRecommendationData |
getRuleObjectSnapshotData()
The associated snapshot data for the rule object snapshot.
|
SimulatedDetermination |
getSimulatedDetermination(long simulatedDeterminationSnapshotID)
Find a specific Simulated Determination within the snapshot.
|
boolean |
isCompactResult()
Determines if the creoleProgramRecommendation result is stored using
compact
storage.
|
void |
setCompactProgramRecommendationResult(curam.creoleprogramrecommendation.impl.ProgramRecommendationResult compactProgramRecommendationResult)
Sets the details of the program recommendation result.
|
void |
setRuleObjectSnapshotWriter(curam.creole.execution.session.RuleObjectsSnapshot.SnapshotWriter ruleObjectSnapshotWriter)
Sets the rule object snapshot data.
|
java.util.Map<CREOLEProgramRecommendationProduct,java.util.List<SimulatedDetermination>> |
simulatedDeterminations()
The list of simulated determinations for a program recommendation.
|
curam.creoleprogramrecommendation.impl.CREOLEProgramRecommendationData getCompactProgramRecommendationResultData()
null
if the
result is stored in the old CREOLEProgramRecommendationResult
format.curam.creoleprogramrecommendation.impl.CREOLEProgramRecommendationData getRuleObjectSnapshotData()
null
if the result is
stored in the old CREOLEProgramRecommendationResult
format.@AccessLevel(value=EXTERNAL) curam.application.impl.Application getApplicationIfExists()
null
is returned. For example, an application
may not exist if this program recommendation was run on an integrated case.CREOLEProgramRecommendation, Application |
void setCompactProgramRecommendationResult(curam.creoleprogramrecommendation.impl.ProgramRecommendationResult compactProgramRecommendationResult)
compactProgramRecommendationResult
- the program recommendation result, in compact formatvoid setRuleObjectSnapshotWriter(curam.creole.execution.session.RuleObjectsSnapshot.SnapshotWriter ruleObjectSnapshotWriter)
ruleObjectSnapshotWriter
- the rule object snapshot datacuram.creoleprogramrecommendation.impl.ProgramRecommendationResult getCompactProgramRecommendationResult()
null
if
the result is stored in the old CREOLEProgramRecommendationResult
format.curam.creole.execution.session.RuleObjectsSnapshot.SnapshotDataStorage getRuleObjectSnapshot()
null
if no snapshot
was stored.SimulatedDetermination getSimulatedDetermination(long simulatedDeterminationSnapshotID)
simulatedDeterminationSnapshotID
- The simulated determination snapshot ID.java.util.Map<CREOLEProgramRecommendationProduct,java.util.List<SimulatedDetermination>> simulatedDeterminations()
java.util.Map<CREOLEProgramRecommendationProduct,java.util.List<curam.creole.value.Timeline<? extends java.lang.Boolean>>> calculateProgramRecommendation(curam.piwrapper.caseheader.impl.IntegratedCase integratedCase, java.util.Collection<curam.creoleprogramrecommendation.impl.RequestedProduct> programRequests, curam.creole.execution.session.Session session)
boolean isCompactResult()