code: protected void addIdNotInCollectionCondition(final Expression<?> property, final Collection<?> values) {
          if (values != null && !values.isEmpty()) {
              fieldConditions.add(getCriteriaBuilder().not(property.in(values)));
          }
      }
docs: Add a Field Search Condition that will check if the id field exists in an array of values. eg. {@code field IN (values)}
  
  @param property The field id as defined in the Entity mapping class.
  @param values   The List of Ids to be compared to.