@AccessLevel(value=EXTERNAL) public interface AssessmentCaseDAO extends curam.util.persistence.StandardDAO<AssessmentCase>
AssessmentCase
interface.Modifier and Type | Method and Description |
---|---|
java.util.List<AssessmentCase> |
listActiveByParentCase(curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
Retrieves a list of
AssessmentCase records that don't have a status
of INACTIVE based on
the parent case. |
java.util.List<AssessmentCase> |
listActiveByParentCaseAndAssessmentDefinition(curam.piwrapper.caseheader.impl.CaseHeader caseheader,
AssessmentDefinition assessmentDefinition)
Retrieves a list of active
AssessmentCase records (ones that don't
have a status of INACTIVE ) linked to a parent case of a specific assessment definition
type. |
java.util.List<AssessmentCase> |
listActiveByParticipant(curam.participant.impl.ConcernRole concernRole)
Lists the active
assessment cases that the
participant has a role on. |
java.util.List<AssessmentCase> |
listActiveByPlanReview(PlanReview planReview)
|
java.util.List<AssessmentCase> |
listCompletedByParentCase(curam.piwrapper.caseheader.impl.CaseHeader caseheader)
Retrieves a list of
AssessmentCase records that have a status of
ASSCOMPLETED
based on the parent case. |
java.util.List<AssessmentCase> |
searchAssessmentCasesByAssessmentDefinition(AssessmentDefinition assessmentDefinition)
Searches for
AssessmentCase records by the
AssessmentDefinition . |
java.util.List<AssessmentCase> listActiveByParentCase(curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
AssessmentCase
records that don't have a status
of INACTIVE
based on
the parent case. The parent case may be any type of CaseHeader
,
e.g. Integrated Cases, Product Deliveries, etc...caseHeader
- An instance of the parent case.java.util.List<AssessmentCase> listActiveByPlanReview(PlanReview planReview)
planReview
- An instance of the plan review.java.util.List<AssessmentCase> listCompletedByParentCase(curam.piwrapper.caseheader.impl.CaseHeader caseheader)
AssessmentCase
records that have a status of
ASSCOMPLETED
based on the parent case. The parent case may be any type of
CaseHeader
, e.g. Integrated Cases, Product Deliveries, etc...caseheader
- An instance of the parent case.java.util.List<AssessmentCase> searchAssessmentCasesByAssessmentDefinition(AssessmentDefinition assessmentDefinition)
AssessmentCase
records by the
AssessmentDefinition
. The list returned only contains assessment
cases which don't have a status of
INACTIVE
or
CLOSED
. The list
returned is immutable.assessmentDefinition
- the assessmentDefinition to search by.java.util.List<AssessmentCase> listActiveByParentCaseAndAssessmentDefinition(curam.piwrapper.caseheader.impl.CaseHeader caseheader, AssessmentDefinition assessmentDefinition)
AssessmentCase
records (ones that don't
have a status of INACTIVE
) linked to a parent case of a specific assessment definition
type. The list returned may contain
CLOSED
assessment
cases.caseheader
- The parent case to search by.assessmentDefinition
- The assessment definition to search by.AssessmentCase
records, or an empty list
if none are found.java.util.List<AssessmentCase> listActiveByParticipant(curam.participant.impl.ConcernRole concernRole)
assessment cases
that the
participant has a role on. An active assessment case is one that doesn't
have a status of INACTIVE
or CLOSED
.
The list returned is sorted by the date of the latest assessment instance
on each of the assessment cases, with the most recent assessment returned
first.concernRole
- The participant to use in the search.