public static QueryBuilder byInstanceId(Object localId, Class entityClass){
        Validate.argumentsAreNotNull(localId, entityClass);
        return new QueryBuilder(new IdFilterDefinition(instanceId(localId, entityClass)));
    }
public static QueryBuilder byInstanceId ( Object localId , Class entityClass ) { Validate . argumentsAreNotNull ( localId , entityClass ) ; return new QueryBuilder ( new IdFilterDefinition ( instanceId ( localId , entityClass ) ) ) ; }
Query for selecting changes (or snapshots) made on a concrete Entity instance.
<br/><br/>

For example, last changes on "bob" Person:
<pre>
javers.findChanges( QueryBuilder.byInstanceId("bob", Person.class).build() );
</pre>