Class NotificationInput<T>
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.utilities.core.bl.common.notification.NotificationInput<T>
- Type Parameters:
T- the type of entity being notified
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
- Direct Known Subclasses:
AppointmentNotificationInput,InterventionOutcomeCompleteNotificationInput,InterventionOutcomeNotificationInput,MeasureNotificationInput,SchedulingNotificationInput
Input container for notification events.
This class serves as an input bean for the
This class serves as an input bean for the
NotificationEvent, containing
both the entity being notified and the action that triggered the notification. - Since:
- 1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the action performed prior to the notification.Returns the entity that has been notified.voidsetAction(NotificationAction action) Sets the action performed prior to the notification.voidSets the entity to be notified.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
NotificationInput
public NotificationInput()
-
-
Method Details
-
getEntity
Returns the entity that has been notified.- Returns:
- the notified entity
-
setEntity
Sets the entity to be notified.- Parameters:
entity- the notified entity
-
getAction
Returns the action performed prior to the notification.- Returns:
- the action
-
setAction
Sets the action performed prior to the notification.- Parameters:
action- the action
-