Class NotificationSubscriptionEntity
- java.lang.Object
-
- de.xima.fc.notification.ms.impl.dao.entities.NotificationSubscriptionEntity
-
@Entity @ValidAssigneeId public class NotificationSubscriptionEntity extends Object
Entity representing a notification subscription. Each subscription is associated with an assignee (either a user or the system) and a specific type of notification. The subscription can have multiple notification targets (e.g., email, SMS) where notifications will be sent.
-
-
Constructor Summary
Constructors Constructor Description NotificationSubscriptionEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAssigneeId()NotificationAssigneeTypegetAssigneeType()LonggetId()NotificationTypegetNotificationType()Set<NotificationTargetEntity>getTargets()voidsetAssigneeId(Long assigneeId)voidsetAssigneeType(NotificationAssigneeType assigneeType)voidsetId(Long id)voidsetNotificationType(NotificationType notificationType)voidsetTargets(Set<NotificationTargetEntity> targets)
-
-
-
Method Detail
-
getId
public Long getId()
-
getAssigneeType
public NotificationAssigneeType getAssigneeType()
-
getAssigneeId
public Long getAssigneeId()
-
getNotificationType
public NotificationType getNotificationType()
-
getTargets
public Set<NotificationTargetEntity> getTargets()
-
setId
public void setId(Long id)
-
setAssigneeType
public void setAssigneeType(NotificationAssigneeType assigneeType)
-
setAssigneeId
public void setAssigneeId(Long assigneeId)
-
setNotificationType
public void setNotificationType(NotificationType notificationType)
-
setTargets
public void setTargets(Set<NotificationTargetEntity> targets)
-
-