Class NotificationAudience

java.lang.Object
com.kingsrook.qqq.backend.core.alerts.NotificationAudience
All Implemented Interfaces:
Serializable

public final class NotificationAudience extends Object implements Serializable
Who a user notification is for. Construct these with the static factories; an alerts implementation resolves them to user ids when it sends: - ALL_USERS: every active user. - ROLES: users with any of the named roles (values are role names). - PERMISSION: users holding one permission (values has one entry). - USERS: the named user ids, as given. Immutable. Null and blank values are dropped.
See Also: