Class NotificationTargetEntity
- java.lang.Object
-
- de.xima.fc.notification.ms.impl.dao.entities.NotificationTargetEntity
-
@Entity @ValidHistory public class NotificationTargetEntity extends Object
Entity representing a notification target, which is a channel through which notifications are sent. Each target is associated with a notification subscription.
-
-
Constructor Summary
Constructors Constructor Description NotificationTargetEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHistoryEntry(NotificationHistoryEntity historyEntry)NotificationChannelTypegetChannel()Set<NotificationHistoryEntity>getHistory()LonggetId()NotificationSubscriptionEntitygetSubscription()voidsetChannel(NotificationChannelType channel)voidsetHistory(Set<NotificationHistoryEntity> history)voidsetId(Long id)voidsetSubscription(NotificationSubscriptionEntity subscription)
-
-
-
Method Detail
-
addHistoryEntry
public void addHistoryEntry(NotificationHistoryEntity historyEntry)
-
getId
public Long getId()
-
getChannel
public NotificationChannelType getChannel()
-
getSubscription
public NotificationSubscriptionEntity getSubscription()
-
getHistory
public Set<NotificationHistoryEntity> getHistory()
-
setId
public void setId(Long id)
-
setChannel
public void setChannel(NotificationChannelType channel)
-
setSubscription
public void setSubscription(NotificationSubscriptionEntity subscription)
-
setHistory
public void setHistory(Set<NotificationHistoryEntity> history)
-
-