}
}
}
// execute the request
MmdQueryRequest request;
request = new MmdQueryRequest(context, publisher, getCriteria(), getResult());
request.execute();
// determine if collections are in use
CollectionDao colDao = new CollectionDao(context);
boolean useCollections = colDao.getUseCollections();
// set the resource messages for the results
String sMsg;
String sValue;
for (MmdRecord record : request.getQueryResult().getRecords()) {
// lookup approval status
sValue = record.getApprovalStatus();
sMsg = msgBroker.retrieveMessage("catalog.publication.manageMetadata.status."+sValue);
record.setApprovalStatusMsg(sMsg);