Database Table: ViewProcessor
ViewProcessor:
A View Processor supplements the standard processing invoked when a data is read from the Citizen's Data Hub. View Processors are associated via the context attribute with a "Data Hub Context". The same context name is used to define other entities associated with the Data Hub Context such as the Transform. The View Processor is invoked after the Transform has converted the Evidence XML into datastore XML. The View Processor references a custom class that can be defined by developers. In this class the developer can add code that inserts additional information into the data store xml. There can be multiple ViewProcessors defined for the same Data Hub Context, each identified by a differenty logical name.
Example A Customer adds two new ViewProcessors and associates them with the "AllEvidence" Data Hub Context. One references the Out-Of-The-Box class curam.citizen.datahub.internal.impl.HouseholdCustomViewProcessorFactory and the other references
the
Out-Of-The-Box class curam.citizen.datahub.internal.impl.CustomPersonAddressViewProcessorFactory. The former
pulls in all related members of a Citizen's household and puts them into the datastore xml. The latter extracts a Citizen's Residential and Mailing addresses. All
of this information is also inserted into the datastore xml.
|
Location in Model: | Logical View::MetaModel::Curam::WorkspaceServices::DataHub::Entity::ViewProcessor |
Controlling File: | WorkspaceServices\model\DataHub.efx |
ALLOW_OPTIMISTIC_LOCKING | yes |
Operation | Stereotype | Options | Description | SQL |
read | read | | Standard Operation | |
modify | modify | OPTIMISTIC_LOCKING: yes
| Standard Operation | |
searchByRecordStatus | readmulti | | <p>Return all View Processors with a particular Record Status.</p>
@curam.example
<p>Return all Active ViewProcessor records.</p>
| |
readByLogicalName | nsread | | Get the View Processor associated with a unique logical name. | |
searchActiveByContext | readmulti | ORDER_BY: logicalName
| <p>Return all the view processors associated with a given Data Hub Context.</p>
@curam.example
<p>The "AllEvidence" context is associated with two View Processors.</p>
| |
insert | insert | AUTO_ID: viewProcessorID
| Standard Operation | |
|