public MPTItemIterator(FedoraClient client, SQLProvider queryEngine, DataSource d, String prefix, String deletedState, String recordDiss, String aboutDiss) { this.deletedState = deletedState;
public MPTItemIterator(FedoraClient client, SQLProvider queryEngine, DataSource d, String prefix, String recordDiss, String aboutDiss) {;
    public MPTItemIterator(FedoraClient client, SQLProvider queryEngine, DataSource d, String prefix, String deletedState,            String recordDiss, String aboutDiss) {        this.deletedState = deletedState;        this.client = client;        this.mdPrefix = prefix;        this.recordDiss = recordDiss;        this.aboutDiss = aboutDiss;                try {            results = new MPTResultSetsManager(d, queryEngine);        } catch (QueryException e) {            throw new RepositoryException("Could not generate results query", e);        }                        this.itemIDIndex = queryEngine.getTargets().indexOf("$itemID");        if (itemIDIndex == -1) { throw new RuntimeException ("$itemID not defined");}                this.recordDissIndex = queryEngine.getTargets().indexOf("$recordDiss");        if (recordDissIndex == -1) { throw new RuntimeException ("$recordDiss not defined");}                this.stateIndex = queryEngine.getTargets().indexOf("$state");        if (stateIndex == -1) { throw new RuntimeException("stateIndex is not defined");}                this.dateIndex = queryEngine.getTargets().indexOf("$date");        if (dateIndex == -1) {throw new RuntimeException("dateIndex is not defined");}                this.aboutDissIndex = queryEngine.getTargets().indexOf("$aboutDiss");        this.setSpecIndex = queryEngine.getTargets().indexOf("$setSpec");                this.itemIndex = queryEngine.getTargets().indexOf("$item");        if (itemIndex == -1) {throw new RuntimeException("itemIndex is not defined");}            }