com.netgrif.application.engine.history.domain.taskevents.TaskEventLog 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.taskevents;
import com.netgrif.application.engine.history.domain.caseevents.CaseEventLog;
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 lombok.EqualsAndHashCode;
import lombok.Getter;
@EqualsAndHashCode(callSuper = true)
public abstract class TaskEventLog extends CaseEventLog {
@Getter
private String taskId;
@Getter
private String taskTitle;
@Getter
private String transitionId;
@Getter
private String impersonatorId;
@Getter
private String userId;
public TaskEventLog() {
super();
}
protected TaskEventLog(Task task, Case useCase, EventPhase eventPhase, String userId, String impersonatorId) {
super(task.getObjectId(), useCase, eventPhase);
this.taskId = task.getStringId();
this.taskTitle = task.getTitle().toString();
this.transitionId = task.getTransitionId();
this.impersonatorId = impersonatorId;
this.userId = userId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy