return getDbSqlSession().selectList("selectHistoricDetailsByQueryCriteria", historicVariableUpdateQuery, page);
}
public void deleteHistoricDetailsByTaskId(String taskId) {
if (getHistoryManager().isHistoryLevelAtLeast(HistoryLevel.FULL)) {
HistoricDetailQueryImpl detailsQuery =
(HistoricDetailQueryImpl) new HistoricDetailQueryImpl().taskId(taskId);
List<HistoricDetail> details = detailsQuery.list();
for(HistoricDetail detail : details) {
((HistoricDetailEntity) detail).delete();
}
}
}