com.netgrif.application.engine.history.domain.dataevents.SetDataEventLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.history.domain.dataevents;
import com.netgrif.application.engine.auth.domain.IUser;
import com.netgrif.application.engine.history.domain.taskevents.TaskEventLog;
import com.netgrif.application.engine.petrinet.domain.dataset.logic.ChangedField;
import com.netgrif.application.engine.petrinet.domain.events.EventPhase;
import com.netgrif.application.engine.workflow.domain.Case;
import com.netgrif.application.engine.workflow.domain.Task;
import com.querydsl.core.annotations.QueryExclude;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Map;
@QueryExclude
@Document(collection = "eventLogs")
@EqualsAndHashCode(callSuper = true)
public class SetDataEventLog extends TaskEventLog {
@Getter
private Map changedFields;
public SetDataEventLog() {
super();
}
public SetDataEventLog(Task task, Case useCase, EventPhase eventPhase, Map changedFields, IUser user) {
super(task, useCase, eventPhase, user.getStringId(), user.isImpersonating() ? user.getImpersonated().getStringId() : null);
this.changedFields = changedFields;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy