task/3382: Harmonisera tabellnamn #6
@ -14,6 +14,10 @@ import jakarta.persistence.ManyToOne;
|
||||
@Entity
|
||||
public class GroupEvent extends NotificationEvent {
|
||||
|
||||
public enum Event {
|
||||
MESSAGE_THREAD_CREATED, MESSAGE_THREAD_REPLY
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "event")
|
||||
@Enumerated(EnumType.STRING)
|
||||
@ -58,8 +62,4 @@ public class GroupEvent extends NotificationEvent {
|
||||
public DomainObject getEntity() {
|
||||
return group;
|
||||
}
|
||||
|
||||
public enum Event {
|
||||
MESSAGE_THREAD_CREATED, MESSAGE_THREAD_REPLY
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,11 @@ import jakarta.persistence.ManyToOne;
|
||||
@Entity
|
||||
public class IdeaEvent extends NotificationEvent {
|
||||
|
||||
public enum Event {
|
||||
STATUS_CHANGE, PARTNER_ACCEPT,
|
||||
ADDED_AS_PARTNER, FIRST_MEETING, REMOVED_AS_PARTNER, EXPORTED_FAIL
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "event")
|
||||
@Enumerated(EnumType.STRING)
|
||||
@ -58,9 +63,4 @@ public class IdeaEvent extends NotificationEvent {
|
||||
public DomainObject getEntity() {
|
||||
return idea;
|
||||
}
|
||||
|
||||
public enum Event {
|
||||
STATUS_CHANGE, PARTNER_ACCEPT,
|
||||
ADDED_AS_PARTNER, FIRST_MEETING, REMOVED_AS_PARTNER, EXPORTED_FAIL
|
||||
}
|
||||
}
|
||||
|
@ -16,6 +16,10 @@ import java.util.Objects;
|
||||
@Entity
|
||||
public class MileStoneEvent extends NotificationEvent {
|
||||
|
||||
public enum Event {
|
||||
MILESTONE_CONFIRMED, MILESTONE_REVOKED
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "event")
|
||||
@Enumerated(EnumType.STRING)
|
||||
@ -90,8 +94,4 @@ public class MileStoneEvent extends NotificationEvent {
|
||||
public DomainObject getEntity() {
|
||||
return milestone;
|
||||
}
|
||||
|
||||
public enum Event {
|
||||
MILESTONE_CONFIRMED, MILESTONE_REVOKED
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,11 @@ import jakarta.persistence.ManyToOne;
|
||||
@Entity
|
||||
public class PeerEvent extends NotificationEvent {
|
||||
|
||||
public enum Event {
|
||||
REVIEW_COMPLETED, REVIEW_COMMENT, REVIEW_ACCEPTED, REQUEST_DELETED,
|
||||
REQUEST_EXPIRED
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "event")
|
||||
@Enumerated(EnumType.STRING)
|
||||
@ -64,8 +69,4 @@ public class PeerEvent extends NotificationEvent {
|
||||
public DomainObject getEntity() {
|
||||
return review;
|
||||
}
|
||||
|
||||
public enum Event {
|
||||
REVIEW_COMPLETED, REVIEW_COMMENT, REVIEW_ACCEPTED, REQUEST_DELETED,
|
||||
REQUEST_EXPIRED }
|
||||
}
|
||||
|
@ -14,6 +14,18 @@ import jakarta.persistence.ManyToOne;
|
||||
@Entity
|
||||
public class ProjectEvent extends NotificationEvent {
|
||||
|
||||
public enum Event {
|
||||
CREATED, AUTHORS_CHANGED, HEAD_SUPERVISOR_CHANGED, REVIEWERS_CHANGED, CO_SUPERVISOR_CHANGED,
|
||||
STATE_CHANGED, ACTIVITY_ADDED, ACTIVITY_REMOVED, ACTIVITY_EDITED, FILE_UPLOADED, CHECKLIST_ANSWERED,
|
||||
CHECKLIST_ADDED, MILESTONE_CONFIRMED, MILESTONE_REVOKED, FINAL_THESIS_APPROVED, FILE_SIZE_TOO_BIG,
|
||||
FINAL_THESIS_UPLOADED, PROJECT_ACTIVATED, PROJECT_DEACTIVATED, FINAL_SEMINAR_APPROVAL_REQUESTED,
|
||||
FINAL_SEMINAR_APPROVAL_APPROVED, FINAL_SEMINAR_APPROVAL_REJECTED, ROUGH_DRAFT_APPROVAL_REQUESTED,
|
||||
ROUGH_DRAFT_APPROVAL_APPROVED, ROUGH_DRAFT_APPROVAL_REJECTED, REVIEWER_GRADING_REPORT_SUBMITTED,
|
||||
ONE_YEAR_PASSED_FROM_LATEST_ANNUAL_REVIEW, SUPERVISOR_GRADING_INITIAL_ASSESSMENT_DONE,
|
||||
EXPORTED_SUCCESS, REVIEWER_GRADING_INITIAL_ASSESSMENT_DONE, FIRST_MEETING, OPPOSITION_FAILED,
|
||||
PARTICIPATION_APPROVED, COMPLETED, PARTICIPATION_FAILED
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "event")
|
||||
@Enumerated(EnumType.STRING)
|
||||
@ -59,16 +71,4 @@ public class ProjectEvent extends NotificationEvent {
|
||||
public DomainObject getEntity() {
|
||||
return project;
|
||||
}
|
||||
|
||||
public enum Event {
|
||||
CREATED, AUTHORS_CHANGED, HEAD_SUPERVISOR_CHANGED, REVIEWERS_CHANGED, CO_SUPERVISOR_CHANGED,
|
||||
STATE_CHANGED, ACTIVITY_ADDED, ACTIVITY_REMOVED, ACTIVITY_EDITED, FILE_UPLOADED, CHECKLIST_ANSWERED,
|
||||
CHECKLIST_ADDED, MILESTONE_CONFIRMED, MILESTONE_REVOKED, FINAL_THESIS_APPROVED, FILE_SIZE_TOO_BIG,
|
||||
FINAL_THESIS_UPLOADED, PROJECT_ACTIVATED, PROJECT_DEACTIVATED, FINAL_SEMINAR_APPROVAL_REQUESTED,
|
||||
FINAL_SEMINAR_APPROVAL_APPROVED, FINAL_SEMINAR_APPROVAL_REJECTED, ROUGH_DRAFT_APPROVAL_REQUESTED,
|
||||
ROUGH_DRAFT_APPROVAL_APPROVED, ROUGH_DRAFT_APPROVAL_REJECTED, REVIEWER_GRADING_REPORT_SUBMITTED,
|
||||
ONE_YEAR_PASSED_FROM_LATEST_ANNUAL_REVIEW, SUPERVISOR_GRADING_INITIAL_ASSESSMENT_DONE,
|
||||
EXPORTED_SUCCESS, REVIEWER_GRADING_INITIAL_ASSESSMENT_DONE, FIRST_MEETING, OPPOSITION_FAILED, PARTICIPATION_APPROVED, COMPLETED,
|
||||
PARTICIPATION_FAILED
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,10 @@ import jakarta.persistence.ManyToOne;
|
||||
@Entity
|
||||
public class ProjectForumEvent extends NotificationEvent {
|
||||
|
||||
public enum Event {
|
||||
NEW_FORUM_POST, NEW_FORUM_POST_COMMENT, NEW_REVIEWER_INTERACTION
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "event")
|
||||
@Enumerated(EnumType.STRING)
|
||||
@ -59,8 +63,4 @@ public class ProjectForumEvent extends NotificationEvent {
|
||||
public DomainObject getEntity() {
|
||||
return project;
|
||||
}
|
||||
|
||||
public enum Event {
|
||||
NEW_FORUM_POST, NEW_FORUM_POST_COMMENT, NEW_REVIEWER_INTERACTION
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,11 @@ import jakarta.persistence.ManyToOne;
|
||||
@Entity
|
||||
public class SeminarEvent extends NotificationEvent {
|
||||
|
||||
public enum Event { CREATED, ROOM_CHANGED, DATE_CHANGED, OPPOSITION_CHANGED,
|
||||
PARTICIPATION_CHANGED, THESIS_UPLOADED, THESIS_UPLOADED_OPPONENT,
|
||||
OPPOSITION_REPORT_UPLOADED, THESIS_DELETED, THESIS_UPLOAD_REMIND, CANCELLED
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "event")
|
||||
@Enumerated(EnumType.STRING)
|
||||
@ -64,8 +69,4 @@ public class SeminarEvent extends NotificationEvent {
|
||||
public DomainObject getEntity() {
|
||||
return seminar;
|
||||
}
|
||||
|
||||
public enum Event { CREATED, ROOM_CHANGED, DATE_CHANGED, OPPOSITION_CHANGED,
|
||||
PARTICIPATION_CHANGED, THESIS_UPLOADED, THESIS_UPLOADED_OPPONENT,
|
||||
OPPOSITION_REPORT_UPLOADED, THESIS_DELETED, THESIS_UPLOAD_REMIND, CANCELLED}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user