public List<HistoryEvent> createUserOperationLogEvents(UserOperationLogContext context) { List<HistoryEvent> historyEvents = new ArrayList<HistoryEvent>(); String operationId = Context.getCommandContext().getOperationId(); context.setOperationId(operationId); for (UserOperationLogContextEntry entry : context.getEntries()) { for (PropertyChange propertyChange : entry.getPropertyChanges()) { UserOperationLogEntryEventEntity evt = new UserOperationLogEntryEventEntity(); initUserOperationLogEvent(evt, context, entry, propertyChange); historyEvents.add(evt); } } return historyEvents; }
public List<HistoryEvent> createUserOperationLogEvents(UserOperationLogContext context) { List<HistoryEvent> historyEvents = new ArrayList<HistoryEvent>(); String operationId = Context.getCommandContext().getOperationId(); context.setOperationId(operationId); for (UserOperationLogContextEntry entry : context.getEntries()) { for (PropertyChange propertyChange : entry.getPropertyChanges()) { UserOperationLogEntryEventEntity evt = new UserOperationLogEntryEventEntity(); initUserOperationLogEvent(evt, context, entry, propertyChange); historyEvents.add(evt); } } return historyEvents; }
public List<HistoryEvent> createUserOperationLogEvents(UserOperationLogContext context) { List<HistoryEvent> historyEvents = new ArrayList<HistoryEvent>(); String operationId = Context.getCommandContext().getOperationId(); context.setOperationId(operationId); for (UserOperationLogContextEntry entry : context.getEntries()) { for (PropertyChange propertyChange : entry.getPropertyChanges()) { UserOperationLogEntryEventEntity evt = new UserOperationLogEntryEventEntity(); initUserOperationLogEvent(evt, context, entry, propertyChange); historyEvents.add(evt); } } return historyEvents; }