@AccessLevel(value=EXTERNAL)
public interface CitizenActivityRegistry
CitizenActivityDAO
interface. Methods on this interface invoke these implementations that return
lists of Citizen Activities from various different entities. A customer who
wishes to add another source of citizen activities should bind their
implementation of CitizenActivityDAO
into the map.Modifier and Type | Method and Description |
---|---|
CitizenActivity |
get(long id,
curam.citizenactivity.codetable.impl.CITIZENACTIVITYTYPEEntry type)
Returns an instance of the CitizenActivity interface, based on the ID and
type passed in.
|
java.util.List<CitizenActivity> |
searchByConcernRole(ConcernRole concernRole)
Returns a list of citizen activities for the given
ConcernRole . |
java.util.List<CitizenActivity> searchByConcernRole(ConcernRole concernRole)
ConcernRole
. The
records are ordered by calling the bound implementations of the
CitizenActivityComparator
.
If no implementations have been bound into the map, this method shall
return null.concernRole
- the participant in question.ConcernRole
.CitizenActivity get(long id, curam.citizenactivity.codetable.impl.CITIZENACTIVITYTYPEEntry type)
id
- ID of the record to be retrieved.type
- used to determine which concrete DAO to call to retrieve the
record, i.e. which entity it lives on.