All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.history.domain.taskevents.TaskEventLog Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
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