.execute(new Command<Void>() {
public Void execute(CommandContext commandContext) {
List<UserOperationLogEntry> logEntries =
commandContext.getOperationLogManager()
.findOperationLogEntriesByQueryCriteria(new UserOperationLogQueryImpl(), null);
for (UserOperationLogEntry entry : logEntries) {
commandContext.getOperationLogManager().deleteOperationLogEntryById(entry.getId());
}