Class DuplicateCalendarInput
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.calendar.event.DuplicateCalendarInput
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
- Direct Known Subclasses:
DuplicatePeriodCalendarInput,DuplicateResourceCalendarInput
Abstract object representing input parameters for duplicating a resource calendar.
- Since:
- 20.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 TypeMethodDescriptionGets the source resource ID.booleanChecks if absences should be duplicated.booleanChecks if availability should be duplicated.booleanChecks if extra presences should be duplicated.booleanChecks if shifts should be duplicated.booleanChecks if holidays should be considered.booleanChecks if crew shell work shift duplication should be skipped.voidsetDuplicateAbsences(boolean duplicateAbsences) Sets whether absences should be duplicated.voidsetDuplicateAvailability(boolean duplicateAvailability) Sets whether availability should be duplicated.voidsetDuplicateExtraAttendances(boolean duplicateExtraAttendances) Sets whether extra presences should be duplicated.voidsetDuplicateShifts(boolean duplicateShifts) Sets whether shifts should be duplicated.voidsetHoliday(boolean holiday) Sets whether holidays should be considered.voidsetSkipCrewshellWorkshift(boolean skipCrewshellWorkshift) Sets whether to skip crew shell work shift duplication.voidSets the source resource ID.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
-
DuplicateCalendarInput
public DuplicateCalendarInput()
-
-
Method Details
-
getUserId
Gets the source resource ID.- Returns:
- the source ID as
Long
-
setUserId
Sets the source resource ID.- Parameters:
userId- the source ID asLong
-
isDuplicateShifts
public boolean isDuplicateShifts()Checks if shifts should be duplicated.- Returns:
- true if shifts should be duplicated, false otherwise
-
setDuplicateShifts
public void setDuplicateShifts(boolean duplicateShifts) Sets whether shifts should be duplicated.- Parameters:
duplicateShifts- true if shifts should be duplicated, false otherwise
-
isDuplicateAvailability
public boolean isDuplicateAvailability()Checks if availability should be duplicated.- Returns:
- true if availability should be duplicated, false otherwise
-
setDuplicateAvailability
public void setDuplicateAvailability(boolean duplicateAvailability) Sets whether availability should be duplicated.- Parameters:
duplicateAvailability- true if availability should be duplicated, false otherwise
-
isDuplicateAbsences
public boolean isDuplicateAbsences()Checks if absences should be duplicated.- Returns:
- true if absences should be duplicated, false otherwise
-
setDuplicateAbsences
public void setDuplicateAbsences(boolean duplicateAbsences) Sets whether absences should be duplicated.- Parameters:
duplicateAbsences- true if absences should be duplicated, false otherwise
-
isDuplicateExtraAttendances
public boolean isDuplicateExtraAttendances()Checks if extra presences should be duplicated.- Returns:
- true if extra presences should be duplicated, false otherwise
-
setDuplicateExtraAttendances
public void setDuplicateExtraAttendances(boolean duplicateExtraAttendances) Sets whether extra presences should be duplicated.- Parameters:
duplicateExtraAttendances- true if extra presences should be duplicated, false otherwise
-
isHoliday
public boolean isHoliday()Checks if holidays should be considered.- Returns:
- true if holidays should be considered, false otherwise
-
setHoliday
public void setHoliday(boolean holiday) Sets whether holidays should be considered.- Parameters:
holiday- true if holidays should be considered, false otherwise
-
isSkipCrewshellWorkshift
public boolean isSkipCrewshellWorkshift()Checks if crew shell work shift duplication should be skipped.- Returns:
- true if skipping, false otherwise
-
setSkipCrewshellWorkshift
public void setSkipCrewshellWorkshift(boolean skipCrewshellWorkshift) Sets whether to skip crew shell work shift duplication.- Parameters:
skipCrewshellWorkshift- true if skipping, false otherwise
-