![]() |
Page History
Scrollbar | ||
---|---|---|
|
Page info | ||||
---|---|---|---|---|
|
Panel | ||||
---|---|---|---|---|
| ||||
|
Introduction
This document is a section of the Migration Guide.
Purpose of this
...
Document
The transition from EVS API to LexEVS API will require the use of different methods to accomplish the same function as was previously provided in EVS API. This document will identify each deprecated class and provide the alternative LexEVS API.
Classes no longer
...
Available
As a result of the deprecation of the EVS API, the following classes are no longer available:
- EVSQuery and EVSQueryImpl
- EVSQueryDAOImpl - Not a public API.
- EVSWSDAOImpl - Not a public API.
- EVSWSQuery - Not a public API.
- DLBAdapter - Not a public API.
- DLBWrapper (DLBWrapper is extended by DLBAdapter and it is not been used anywhere else) - Not a public API.
- EVSApplicationService and EVSApplicationServiceImpl
EVSApplicationService and LexEVS Counterparts
EVSApplicationService
evsSearch and search
These methods are replaced either by the LexEVS API or the LexEVS caCORE SDK Data Service 'search' method. This uses the standard caCORE SDK API. More information about the caCORE SDK can be obtained on the caCORE SDK site.
EVSQuery Methods and LexEVS Counterparts
EVSQuery
getTree
All 'getTree' functionality is replaced by the LexEVS CodedNodeGraph API. For example:
...
This will ensure that each of the results will have at least one Propety Property that matches the supplied criteria.
...
Set the ConceptReference graphFocus to the desired code, this will focus the Graph. The Then check the relationships.
Alternatively, use the CodedNodeGraph API method 'areCodesRelated'
...
getPropertyValues
Through the Entity class, all Properties (Presentations, Definitions, etc) are available.
- Entity - To find the 'Presentations' of a given Entity:
Panel Code Block Entity entity = ....; Presentation[] presentations = entity.getPresentation();
- To find the 'Definitions' of a given Entity:
panel
Code Block Entity entity = ....; Definition[] definitions = entity.getDefinition();
- To find the 'Comments' of a given Entity:
panel
Code Block Entity entity = ....; Comment[] comments= entity.getComment();
- To find the non-classified Properties of a given Entity:
panel
Code Block Entity entity = ....; Property[] properties = entity.getProperties();
getAncestors
Use the LexEVS HistoryService API
...