Class NotificationAssignee
java.lang.Object
de.xima.fc.notification.mgmt.NotificationAssignee
- All Implemented Interfaces:
Serializable
Defines the assignee of a notification subscription, acting as an ID.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationAssigneeemail(EmailAddress email) booleangetId()The ID of the user if the assignee type is USER; null otherwise.getType()The type of the assignee (e.g., SYSTEM, USER).inthashCode()toString()static NotificationAssigneeCreates a new instance ofNotificationAssigneefor a user with the specified ID.
-
Constructor Details
-
NotificationAssignee
-
-
Method Details
-
user
Creates a new instance ofNotificationAssigneefor a user with the specified ID.- Parameters:
userId- The ID of the user.- Returns:
- A new instance of
NotificationAssigneefor the specified user.
-
email
-
getType
The type of the assignee (e.g., SYSTEM, USER). -
getId
The ID of the user if the assignee type is USER; null otherwise. -
equals
-
hashCode
-
toString
-