Class InterventionOutcomeNotificationInput<BOInterventionOutcome>
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.utilities.core.bl.common.notification.NotificationInput<BOInterventionOutcome>
overit.geocallapp.wfm.execution.bl.outcome.intervention.event.InterventionOutcomeNotificationInput<BOInterventionOutcome>
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
public class InterventionOutcomeNotificationInput<BOInterventionOutcome>
extends NotificationInput<BOInterventionOutcome>
Object used as an input bean for the for
InterventionOutcomeNotificationEvent. - Since:
- 18.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 appointment id.Returns the intervention id.Returns the limit date.Returns the outcome end date.Returns the outcome start date.Returns the outcome type id.Returns the work order operation id.booleanChecks if the appointment is the last one for the intervention.voidsetAppointment(Long appointment) Sets the appointment id.voidsetIntervention(Long intervention) Sets the intervention id.voidsetLastAppointment(boolean isLastAppointment) Sets the appointment to the last one for the intervention.voidsetLimitDate(Date limitDate) Sets the limit date.voidsetOutcomeEndDate(Date outcomeEndDate) Sets the outcome end date.voidsetOutcomeStartDate(Date outcomeStartDate) Sets the outcome start date.voidsetOutcomeType(Long outcomeType) Sets the outcome type id.voidsetWorkOrderOperation(Long workOrderOperation) Sets the work order operation id.Methods inherited from class overit.geocallapp.utilities.core.bl.common.notification.NotificationInput
getAction, getEntity, setAction, setEntityMethods 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
-
InterventionOutcomeNotificationInput
public InterventionOutcomeNotificationInput()
-
-
Method Details
-
getAppointment
Returns the appointment id.- Returns:
- the appointment id
-
setAppointment
Sets the appointment id.- Parameters:
appointment- the appointment id
-
getIntervention
Returns the intervention id.- Returns:
- the intervention id
-
setIntervention
Sets the intervention id.- Parameters:
intervention- the intervention id
-
getWorkOrderOperation
Returns the work order operation id.- Returns:
- the work order operation id
-
setWorkOrderOperation
Sets the work order operation id.- Parameters:
workOrderOperation- the work order operation id
-
isLastAppointment
public boolean isLastAppointment()Checks if the appointment is the last one for the intervention.- Returns:
- true if the appointment is the last one for the intervention, false otherwise
-
setLastAppointment
public void setLastAppointment(boolean isLastAppointment) Sets the appointment to the last one for the intervention.- Parameters:
isLastAppointment- true if the appointment must be the last one for the intervention, false otherwise
-
getOutcomeType
Returns the outcome type id.- Returns:
- the outcome type id
-
setOutcomeType
Sets the outcome type id.- Parameters:
outcomeType- the outcome type id
-
getLimitDate
Returns the limit date.- Returns:
- the limit date
-
setLimitDate
Sets the limit date.- Parameters:
limitDate- the limit date
-
getOutcomeStartDate
Returns the outcome start date.- Returns:
- the outcome start date
-
setOutcomeStartDate
Sets the outcome start date.- Parameters:
outcomeStartDate- the outcome start date
-
getOutcomeEndDate
Returns the outcome end date.- Returns:
- the outcome end date
-
setOutcomeEndDate
Sets the outcome end date.- Parameters:
outcomeEndDate- the outcome end date
-