}
// get uuid of repository record
String uuid = getCriteria().getActionCriteria().getUuid();
if (!UuidUtil.isUuid(uuid)) {
throw new ApplicationException();
}
// select and read repository record
HrSelectRequest selectRepositoryRequest =
new HrSelectRequest(context, uuid);
selectRepositoryRequest.execute();
HrRecords records = selectRepositoryRequest.getQueryResult().getRecords();
// get harvest repository record
HrRecord record = records.size() == 1 ? records.get(0) : null;
if (record == null) {
throw new ApplicationException();
}
// select and read harvest event record
HeSelectRequest selectRequest =
new HeSelectRequest(context, record, getCriteria(), getResult());