public String execute(CommandContext commandContext) { ensureNotNull("historicExternalTaskLogId", historicExternalTaskLogId); HistoricExternalTaskLogEntity event = commandContext .getHistoricExternalTaskLogManager() .findHistoricExternalTaskLogById(historicExternalTaskLogId); ensureNotNull("No historic external task log found with id " + historicExternalTaskLogId, "historicExternalTaskLog", event); for (CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkReadHistoricExternalTaskLog(event); } return event.getErrorDetails(); }
public String execute(CommandContext commandContext) { ensureNotNull("historicExternalTaskLogId", historicExternalTaskLogId); HistoricExternalTaskLogEntity event = commandContext .getHistoricExternalTaskLogManager() .findHistoricExternalTaskLogById(historicExternalTaskLogId); ensureNotNull("No historic external task log found with id " + historicExternalTaskLogId, "historicExternalTaskLog", event); for (CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkReadHistoricExternalTaskLog(event); } return event.getErrorDetails(); }
public String execute(CommandContext commandContext) { ensureNotNull("historicExternalTaskLogId", historicExternalTaskLogId); HistoricExternalTaskLogEntity event = commandContext .getHistoricExternalTaskLogManager() .findHistoricExternalTaskLogById(historicExternalTaskLogId); ensureNotNull("No historic external task log found with id " + historicExternalTaskLogId, "historicExternalTaskLog", event); for (CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkReadHistoricExternalTaskLog(event); } return event.getErrorDetails(); }