you mean, you'd like to know if an entity was added, removed or only modified? This information isn't currently available through the public API. If that's what you mean, please add a JIRA issue :).
A temporary workaround would be to select the minimum revision (= the revision when the entity was created) and the maximum revision (= the revision when the entity was deleted, if it doesn't exist in the "current" databse).
thank you for your answer.
Yes I want to read the version type through a public API.
VersionsQuery query = versionReader.createQuery().forRevisionsOfEntity( Entity.class,false) .add(VersionsRestrictions.idEq(Entity.getId())) ;
Object result = (Object) revisionQeryResult.get(i);
Entity entityObject= ((Entity) result );
Number revisionID= ((Number) result );
Number revisionType= ((Number) result );