@Implementable
@AccessLevel(value=EXTERNAL)
public abstract static class OutcomePlan.OutcomePlanEvent
extends java.lang.Object
OutcomePlan
instance,
these events allow customers to add additional processing as required.Constructor and Description |
---|
OutcomePlanEvent() |
Modifier and Type | Method and Description |
---|---|
void |
filterListRecommendations(OutcomePlan outcomePlan,
java.util.Map<curam.codetable.impl.RECOMMENDATIONTYPEEntry,java.util.List<Recommendation>> recommendationMap)
Invoked after
OutcomePlan.listRecommendations() . |
void |
postAddClient(OutcomePlan outcomePlan,
curam.participant.impl.ConcernRole concernRole)
Invoked after
OutcomePlan.addRelatedCase(CaseHeader) . |
void |
postAddRelatedCase(OutcomePlan outcomePlan,
curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
Invoked after
OutcomePlan.addRelatedCase(CaseHeader) . |
void |
postClose(OutcomePlan outcomePlan,
curam.codetable.impl.OUTCOMEPLANCLOSUREREASONEntry closureReason,
java.lang.String closureComments)
|
void |
postInsert(OutcomePlan outcomePlan,
java.util.List<curam.participant.impl.ConcernRole> clients)
Invoked after
OutcomePlan.insert(List) . |
void |
postRemoveClient(OutcomePlan outcomePlan,
curam.piwrapper.casemanager.impl.CaseParticipantRole caseParticipantRole,
int versionNo)
Invoked after
OutcomePlan#removeClient(CaseParticipantRole) . |
void |
preAddClient(OutcomePlan outcomePlan,
curam.participant.impl.ConcernRole concernRole)
Invoked before
OutcomePlan.addClient(ConcernRole) . |
void |
preAddRelatedCase(OutcomePlan outcomePlan,
curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
Invoked before
OutcomePlan.addRelatedCase(CaseHeader) . |
void |
preClose(OutcomePlan outcomePlan,
curam.codetable.impl.OUTCOMEPLANCLOSUREREASONEntry closureReason,
java.lang.String closureComments)
|
void |
preInsert(OutcomePlan outcomePlan,
java.util.List<curam.participant.impl.ConcernRole> clients)
Invoked before
OutcomePlan.insert(List) . |
void |
preRemoveClient(OutcomePlan outcomePlan,
curam.piwrapper.casemanager.impl.CaseParticipantRole caseParticipantRole,
int versionNo)
Invoked before
OutcomePlan#removeClient(CaseParticipantRole) . |
public void preInsert(OutcomePlan outcomePlan, java.util.List<curam.participant.impl.ConcernRole> clients) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OutcomePlan.insert(List)
.outcomePlan
- The outcome plan entity instance.clients
- The list of clients to add to the outcome plan.curam.util.exception.AppException
- Generic Application Exception.curam.util.exception.InformationalException
- Generic Application Exception.public void postInsert(OutcomePlan outcomePlan, java.util.List<curam.participant.impl.ConcernRole> clients) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OutcomePlan.insert(List)
.outcomePlan
- The outcome plan entity instance.clients
- The list of clients to add to the outcome plan.curam.util.exception.AppException
- Generic Application Exception.curam.util.exception.InformationalException
- Generic Application Exception.public void preAddRelatedCase(OutcomePlan outcomePlan, curam.piwrapper.caseheader.impl.CaseHeader caseHeader) throws curam.util.exception.InformationalException
OutcomePlan.addRelatedCase(CaseHeader)
.outcomePlan
- The outcome plan entity instance.caseHeader
- The case to be added/related to the Outcome Plan.curam.util.exception.InformationalException
- Generic Application Exception.public void postAddRelatedCase(OutcomePlan outcomePlan, curam.piwrapper.caseheader.impl.CaseHeader caseHeader) throws curam.util.exception.InformationalException
OutcomePlan.addRelatedCase(CaseHeader)
.outcomePlan
- The outcome plan entity instance.caseHeader
- The case to be added/related to the Outcome Plan.curam.util.exception.InformationalException
- Generic Application Exception.public void preAddClient(OutcomePlan outcomePlan, curam.participant.impl.ConcernRole concernRole) throws curam.util.exception.InformationalException
OutcomePlan.addClient(ConcernRole)
.outcomePlan
- The outcome plan entity instance.concernRole
- The client to be added to the Outcome Plan.curam.util.exception.InformationalException
- Generic Application Exception.public void postAddClient(OutcomePlan outcomePlan, curam.participant.impl.ConcernRole concernRole) throws curam.util.exception.InformationalException
OutcomePlan.addRelatedCase(CaseHeader)
.outcomePlan
- The outcome plan entity instance.concernRole
- The client to be added to the Outcome Plan.curam.util.exception.InformationalException
- Generic Application Exception.public void preRemoveClient(OutcomePlan outcomePlan, curam.piwrapper.casemanager.impl.CaseParticipantRole caseParticipantRole, int versionNo) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OutcomePlan#removeClient(CaseParticipantRole)
.outcomePlan
- The outcome plan entity instance.caseParticipantRole
- The participant being removed from the Outcome Plan.versionNo
- The version number of the case participant role..curam.util.exception.AppException
- Generic Application Exception.curam.util.exception.InformationalException
- Generic Application Exception.public void filterListRecommendations(OutcomePlan outcomePlan, java.util.Map<curam.codetable.impl.RECOMMENDATIONTYPEEntry,java.util.List<Recommendation>> recommendationMap) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OutcomePlan.listRecommendations()
.
Enables the filtering of the suggested recommendations
from the map. For example, recommendations for a client
may be removed from an entry of the map if the client is not in receipt
of one of the CaseConfiguration
records the recommendation is
related to.
outcomePlan
- This outcome plan instance.recommendationMap
- The map to be filtered. Contains all Recommendation
objects that
exist for this outcome plan, and any Factor
objects related to
this outcome plan.curam.util.exception.AppException
curam.util.exception.InformationalException
public void postRemoveClient(OutcomePlan outcomePlan, curam.piwrapper.casemanager.impl.CaseParticipantRole caseParticipantRole, int versionNo) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OutcomePlan#removeClient(CaseParticipantRole)
.outcomePlan
- The outcome plan entity instance.caseParticipantRole
- The participant being removed from the Outcome Plan.versionNo
- The version number of the case participant role..curam.util.exception.AppException
- Generic Application Exception.curam.util.exception.InformationalException
- Generic Application Exception.public void preClose(OutcomePlan outcomePlan, curam.codetable.impl.OUTCOMEPLANCLOSUREREASONEntry closureReason, java.lang.String closureComments) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OutcomePlan.close(curam.codetable.impl.OUTCOMEPLANCLOSUREREASONEntry, java.lang.String)
.outcomePlan
- The outcome plan entity instance.closureReason
- code for the closure reasonclosureComments
- comment on the closurecuram.util.exception.AppException
- Generic Application Exception.curam.util.exception.InformationalException
- Generic Application Exception.public void postClose(OutcomePlan outcomePlan, curam.codetable.impl.OUTCOMEPLANCLOSUREREASONEntry closureReason, java.lang.String closureComments) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OutcomePlan.close(curam.codetable.impl.OUTCOMEPLANCLOSUREREASONEntry, java.lang.String)
.outcomePlan
- The outcome plan entity instance.closureReason
- code for the closure reasonclosureComments
- comment on the closurecuram.util.exception.AppException
- Generic Application Exception.curam.util.exception.InformationalException
- Generic Application Exception.