Class NotificationKafkaDTO
java.lang.Object
callofproject.dev.service.ticket.dto.NotificationKafkaDTO
This class represents a Data Transfer Object (DTO) for project participant notifications.
It is used to encapsulate information related to notifications sent to project participants.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for creating instances ofNotificationKafkaDTO
. -
Method Summary
Modifier and TypeMethodDescriptionGets the sender user's ID.Gets the notification message.Gets the notification approve link.Gets the notification data.callofproject.dev.data.common.enums.NotificationDataType
Gets the notification data type.Gets the notification image.Gets the notification link.Gets the notification reject link.Gets the notification title.callofproject.dev.data.common.enums.NotificationType
Gets the notification type.Gets the request ID associated with the notification.Gets the recipient user's ID.
-
Method Details
-
getNotificationDataType
public callofproject.dev.data.common.enums.NotificationDataType getNotificationDataType()Gets the notification data type.- Returns:
- The data type of the notification.
-
getRequestId
Gets the request ID associated with the notification.- Returns:
- The ID of the associated request.
-
getToUserId
Gets the recipient user's ID.- Returns:
- The recipient user's ID.
-
getFromUserId
Gets the sender user's ID.- Returns:
- The sender user's ID.
-
getMessage
Gets the notification message.- Returns:
- The notification message.
-
getNotificationType
public callofproject.dev.data.common.enums.NotificationType getNotificationType()Gets the notification type.- Returns:
- The type of the notification.
-
getNotificationData
Gets the notification data.- Returns:
- The data associated with the notification.
-
getNotificationLink
Gets the notification link.- Returns:
- The link associated with the notification.
-
getNotificationImage
Gets the notification image.- Returns:
- The image associated with the notification.
-
getNotificationTitle
Gets the notification title.- Returns:
- The title of the notification.
-
getNotificationApproveLink
Gets the notification approve link.- Returns:
- The approval link associated with the notification.
-
getNotificationRejectLink
Gets the notification reject link.- Returns:
- The rejection link associated with the notification.
-