Class CalendarEventProvider
java.lang.Object
overit.geocallapp.wfm.calendars.integration.CalendarEventProvider
- All Implemented Interfaces:
CalendarProvider
Provider for integration with calendars fsm module that use the events mechanism.
- Since:
- 17.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateWorkShiftExceptionTotals(Long workShiftId) voidvoiddeleteWorkShift(Long workShiftId) voidgetWorkShift(Long workShiftId) Launch the work shift load eventgetWorkShiftException(Long workShiftExceptionId) getWorkShiftExceptionClass(Long workShiftExceptionClassId) getWorkShiftExceptionType(Long workShiftExceptionTypeId) getWorkShiftTimeLine(Long workShiftId) Launch the work shift timeline load eventgetWorkShiftType(Long workShiftTypeId) insertWorkShift(BOWorkShift workShift) static CalendarEventProvidermakeInstance(PoolKit poolKit) voidvoidsearchExistingResourceWorkShift(ExistingResourceWorkShiftSearchInput workShiftSearchFilter) searchNearestWorkShift(NearestWorkShiftSearchInput nearestWorkShiftSearchInput) Launch the nearest work shift search eventsearchWorkShift(Page page, WorkShiftSearchFilter workShiftSearchFilter) Launch the work shift search eventsearchWorkShift(WorkShiftSearchFilter workShiftSearchFilter) Launch the work shift search eventsearchWorkShiftExceptions(Page page, WorkShiftExceptionSearchFilter filter) voidupdateWorkShift(BOWorkShift workShift) void
-
Constructor Details
-
CalendarEventProvider
public CalendarEventProvider()
-
-
Method Details
-
makeInstance
-
getWorkShift
Launch the work shift load event- Specified by:
getWorkShiftin interfaceCalendarProvider- Parameters:
workShiftId- the work shift id- Returns:
- the
BOWorkShift - Throws:
DAValidateExceptionDAException
-
searchWorkShift
public List<BOWorkShift> searchWorkShift(WorkShiftSearchFilter workShiftSearchFilter) throws DAValidateException, DAException Launch the work shift search event- Specified by:
searchWorkShiftin interfaceCalendarProvider- Parameters:
workShiftSearchFilter- the filter- Returns:
- the list of
BOWorkShift - Throws:
DAValidateExceptionDAException
-
searchWorkShift
public PageResponse<BOWorkShift> searchWorkShift(Page page, WorkShiftSearchFilter workShiftSearchFilter) throws DAValidateException, DAException Launch the work shift search event- Specified by:
searchWorkShiftin interfaceCalendarProvider- Parameters:
page- thePageworkShiftSearchFilter- the filter- Returns:
- the list of
BOWorkShift - Throws:
DAValidateExceptionDAException
-
getWorkShiftTimeLine
Launch the work shift timeline load event- Specified by:
getWorkShiftTimeLinein interfaceCalendarProvider- Parameters:
workShiftId-- Returns:
- the
TimeLine - Throws:
DAValidateExceptionDAException
-
searchExistingResourceWorkShift
public List<BOWorkShift> searchExistingResourceWorkShift(ExistingResourceWorkShiftSearchInput workShiftSearchFilter) throws DAValidateException, DAException - Specified by:
searchExistingResourceWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
getWorkShiftException
public BOWorkShiftException getWorkShiftException(Long workShiftExceptionId) throws DAValidateException, DAException - Specified by:
getWorkShiftExceptionin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
getWorkShiftExceptionType
public BOWorkShiftExceptionType getWorkShiftExceptionType(Long workShiftExceptionTypeId) throws DAValidateException, DAException - Specified by:
getWorkShiftExceptionTypein interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
searchOverlappingWorkShift
public List<BOWorkShift> searchOverlappingWorkShift(OverlappingWorkShiftSearchInput workShifts) throws DAValidateException, DAException - Specified by:
searchOverlappingWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
getWorkShiftExceptionClass
public BOWorkShiftExceptionClass getWorkShiftExceptionClass(Long workShiftExceptionClassId) throws DAValidateException, DAException - Specified by:
getWorkShiftExceptionClassin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
notifyWorkShiftException
public void notifyWorkShiftException(NotificationInput<BOWorkShiftException> input) throws DAValidateException, DAException - Specified by:
notifyWorkShiftExceptionin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
updateWorkShift
- Specified by:
updateWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
searchWorkShiftExceptionWorkShift
public List<BOWorkShiftExceptionWorkShift> searchWorkShiftExceptionWorkShift(WorkShiftExceptionWorkShiftSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchWorkShiftExceptionWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
deleteWorkShift
- Specified by:
deleteWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
updateWorkShiftExceptionWorkShift
public void updateWorkShiftExceptionWorkShift(WorkShiftExceptionWorkShiftUpdateInput input) throws DAValidateException, DAException - Specified by:
updateWorkShiftExceptionWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
calculateWorkShiftExceptionTotals
public void calculateWorkShiftExceptionTotals(Long workShiftId) throws DAValidateException, DAException - Specified by:
calculateWorkShiftExceptionTotalsin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
insertWorkShift
- Specified by:
insertWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
searchOverlappingWorkShiftException
public List<BOWorkShiftException> searchOverlappingWorkShiftException(OverlappingWorkShiftExceptionSearchInput input) throws DAValidateException, DAException - Specified by:
searchOverlappingWorkShiftExceptionin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
searchWorkShiftExceptions
public List<BOWorkShiftException> searchWorkShiftExceptions(WorkShiftExceptionSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchWorkShiftExceptionsin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
searchWorkShiftExceptions
public PageResponse<BOWorkShiftException> searchWorkShiftExceptions(Page page, WorkShiftExceptionSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchWorkShiftExceptionsin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
getWorkShiftType
public BOWorkShiftType getWorkShiftType(Long workShiftTypeId) throws DAValidateException, DAException - Specified by:
getWorkShiftTypein interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
checkWorkShiftOverlap
public void checkWorkShiftOverlap(WorkShiftOverlapCheckInput input) throws DAValidateException, DAException - Specified by:
checkWorkShiftOverlapin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
notifyWorkShift
public void notifyWorkShift(NotificationInput<BOWorkShift> input) throws DAValidateException, DAException - Specified by:
notifyWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
deleteWorkShiftExceptionWorkShift
public void deleteWorkShiftExceptionWorkShift(WorkShiftExceptionWorkShiftDeleteInput input) throws DAValidateException, DAException - Specified by:
deleteWorkShiftExceptionWorkShiftin interfaceCalendarProvider- Throws:
DAValidateExceptionDAException
-
searchNearestWorkShift
public BOWorkShift searchNearestWorkShift(NearestWorkShiftSearchInput nearestWorkShiftSearchInput) throws DAValidateException, DAException Launch the nearest work shift search event- Specified by:
searchNearestWorkShiftin interfaceCalendarProvider- Parameters:
nearestWorkShiftSearchInput- the filter- Returns:
- the
BOWorkShift - Throws:
DAValidateExceptionDAException
-