Class ElasticCase
- java.lang.Object
-
- com.netgrif.application.engine.elastic.domain.ElasticCase
-
public class ElasticCase extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ElasticCase(Case useCase)
Data that is stored in the elasticsearch database.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
update(ElasticCase useCase)
-
-
-
Constructor Detail
-
ElasticCase
public ElasticCase(Case useCase)
Data that is stored in the elasticsearch database. Note that the dataSet attribute is NOT set when the object is created and must be set later. TheIElasticCaseMappingService
can be used to create instances of this class from Case objects, that have the dataset populated.- Parameters:
useCase
- the data object that should be turned into elasticsearch data object
-
-
Method Detail
-
update
public void update(ElasticCase useCase)
-
-