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

public abstract class DuplicateCalendarInput extends DynO
Abstract object representing input parameters for duplicating a resource calendar.
Since:
20.0
See Also:
GCApi:
bo
  • Constructor Details

    • DuplicateCalendarInput

      public DuplicateCalendarInput()
  • Method Details

    • getUserId

      public Long getUserId()
      Gets the source resource ID.
      Returns:
      the source ID as Long
    • setUserId

      public void setUserId(Long userId)
      Sets the source resource ID.
      Parameters:
      userId - the source ID as Long
    • 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