@Override
    public int updateStatus(final FindMetaCriteria criteria,
                            final Status currentStatus,
                            final Status newStatus,
                            final long statusTime,
                            final boolean usesUniqueIds) {

        Objects.requireNonNull(newStatus, "New status is null");
        if (Objects.equals(newStatus, currentStatus)) {
            // The status is not being updated.
            throw new RuntimeException("New and current status are equal");
        }

        Objects.requireNonNull(criteria);
        final ExpressionOperator expression = criteria.getExpression();

        if (usesUniqueIds) {
            return updateStatusWithId(expression, currentStatus, newStatus, statusTime);
        } else {
            return updateStatusWithTempTable(expression, currentStatus, newStatus, statusTime);
        }
    }
Method currently only here for test purposes as a means of bulk loading data.
stroom-meta/stroom-meta-impl-db/src/main/java/stroom/meta/impl/db/MetaDaoImpl.java