public Void execute(CommandContext commandContext) { ensureNotNull(NotValidException.class, "entryId", entryId); UserOperationLogEntry entry = commandContext .getOperationLogManager() .findOperationLogById(entryId); for(CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkDeleteUserOperationLog(entry); } commandContext.getOperationLogManager().deleteOperationLogEntryById(entryId); return null; }
public Void execute(CommandContext commandContext) { ensureNotNull(NotValidException.class, "entryId", entryId); UserOperationLogEntry entry = commandContext .getOperationLogManager() .findOperationLogById(entryId); for(CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkDeleteUserOperationLog(entry); } commandContext.getOperationLogManager().deleteOperationLogEntryById(entryId); return null; }
public Void execute(CommandContext commandContext) { ensureNotNull(NotValidException.class, "entryId", entryId); UserOperationLogEntry entry = commandContext .getOperationLogManager() .findOperationLogById(entryId); for(CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkDeleteUserOperationLog(entry); } commandContext.getOperationLogManager().deleteOperationLogEntryById(entryId); return null; }