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