Class ForecastResourceDetailApplyTemplateInput
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.detail.event.ForecastResourceDetailApplyTemplateInput
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing the input for the
ForecastResourceDetailApplyTemplateEvent. - Since:
- 15.0
- See Also:
- GCApi:
- bo
-
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 end date of the period of the template applicationReturns the resource forecast idReturns the forecast resource idReturns the forecast shift model id used to apply the templateReturns the start date of the period of the template applicationReturns the update mode (1 -> Replace, 4 -> Only Insert)booleanReturns true if task must consider holidays, false otherwisevoidsetConsiderHolidays(boolean considerHolidays) Sets the consider holidays flag (true if the task must consider holidays, false otherwise)voidsetEndDate(Date endDate) Sets the end date of the period of the template applicationvoidsetForecastHeader(Long forecastHeader) Sets the resource forecast header id.voidsetResource(Long resource) Sets the forecast resource id.voidsetShiftModel(Long shiftModel) Sets the forecast shift model id used to apply the templatevoidsetStartDate(Date startDate) Sets the start date of the period of the template applicationvoidsetUpdateMode(Long updateMode) Sets the update mode (1 -> Replace, 4 -> Only Insert)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
-
ForecastResourceDetailApplyTemplateInput
public ForecastResourceDetailApplyTemplateInput()
-
-
Method Details
-
getResource
Returns the forecast resource id- Returns:
- the forecast resource id
- See Also:
-
setResource
Sets the forecast resource id.- Parameters:
resource- the forecast resource id- See Also:
-
getForecastHeader
Returns the resource forecast id- Returns:
- the resource forecast header id
- See Also:
-
setForecastHeader
Sets the resource forecast header id.- Parameters:
forecastHeader- the resource forecast header id
-
getShiftModel
Returns the forecast shift model id used to apply the template- Returns:
- the shift model id
- See Also:
-
setShiftModel
Sets the forecast shift model id used to apply the template- Parameters:
shiftModel- the shift model id
-
getStartDate
Returns the start date of the period of the template application- Returns:
- the start date of the period
-
setStartDate
Sets the start date of the period of the template application- Parameters:
startDate- the start date
-
getEndDate
Returns the end date of the period of the template application- Returns:
- the end date of the period
-
setEndDate
Sets the end date of the period of the template application- Parameters:
endDate- the end date
-
isConsiderHolidays
public boolean isConsiderHolidays()Returns true if task must consider holidays, false otherwise- Returns:
- the consider holidays flag
-
setConsiderHolidays
public void setConsiderHolidays(boolean considerHolidays) Sets the consider holidays flag (true if the task must consider holidays, false otherwise)- Parameters:
considerHolidays- the consider holidays flag
-
getUpdateMode
Returns the update mode (1 -> Replace, 4 -> Only Insert)- Returns:
- the update mode
-
setUpdateMode
Sets the update mode (1 -> Replace, 4 -> Only Insert)- Parameters:
updateMode- the update mode
-