Package overit.geocallapp.wfm.calendars
Class PropertiesCalendars.WorkShift
java.lang.Object
overit.geocallapp.utilities.config.Properties
overit.geocallapp.wfm.calendars.PropertiesCalendars.WorkShift
- Enclosing class:
PropertiesCalendars
-
Method Summary
Modifier and TypeMethodDescriptionstatic intGets the max number of work-shifts that a resource can have in a day.static booleanSay if the target date for the availability-shifts is the end date.static booleanSays if the target date for the receipt-shifts is the end date.static booleanChecks whether the workshift deletion legacy is enabled.static booleanCheck if asynchronous calendar duplication is enabled.static booleanSay if the target date for the work-shifts is the end date.Methods inherited from class overit.geocallapp.utilities.config.Properties
getBooleanProperty, getBooleanProperty, getBooleanSystemProperty, getBooleanSystemProperty, getDoubleProperty, getDoubleProperty, getIntegerProperty, getIntegerProperty, getIntegerSystemProperty, getIntegerSystemProperty, getLongProperty, getLongProperty, getStringListProperty, getStringListProperty, getStringProperty, getStringProperty, getStringSystemProperty, getStringSystemProperty
-
Method Details
-
isAvailabilityTargetEndDate
public static boolean isAvailabilityTargetEndDate()Say if the target date for the availability-shifts is the end date.- Returns:
trueif the target date of the availability-shifts is the end date,falseotherwise
-
isReceiptTargetEndDate
public static boolean isReceiptTargetEndDate()Says if the target date for the receipt-shifts is the end date.- Returns:
trueif the target date of the receipt-shifts is the end date,falseotherwise
-
isWorkShiftTargetDateEnd
public static boolean isWorkShiftTargetDateEnd()Say if the target date for the work-shifts is the end date.- Returns:
trueif the target date of the work-shifts is the end date,falseotherwise
-
getMaxWorkShiftsPerDay
public static int getMaxWorkShiftsPerDay()Gets the max number of work-shifts that a resource can have in a day.- Returns:
- the max number of work-shifts that a resource can have in a day.
-
isWorkShiftsDeletionLegacyEnabled
public static boolean isWorkShiftsDeletionLegacyEnabled()Checks whether the workshift deletion legacy is enabled.- Returns:
trueif the workshifts deletion legacy (logical deletion) is enabled,falseotherwise
-
isWorkShiftsDuplicateAsyncEnabled
public static boolean isWorkShiftsDuplicateAsyncEnabled()Check if asynchronous calendar duplication is enabled.- Returns:
trueenabled calendar duplication asynchronously,falseotherwise
-