Class TaskBusinessCalendarModel
java.lang.Object
com.webmethods.caf.faces.data.calendar.BusinessCalendarModel
com.webmethods.caf.faces.data.task.TaskBusinessCalendarModel
- All Implemented Interfaces:
IContentProvider
Business calendar provider specific for calculations from task rules. It needs a taskID
to correctly specify baseDate for calendar evaluator, doing so will allow negative hours/minutes
calculations done off the main base date
-
Field Summary
Fields inherited from class com.webmethods.caf.faces.data.calendar.BusinessCalendarModel
ADJUSTMENT_CURRENT_DAY_END, ADJUSTMENT_CURRENT_DAY_START, ADJUSTMENT_NEXT_DAY_END, ADJUSTMENT_NEXT_DAY_START
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IWorkdayCalendar
getCalendarByID
(String calendarID) protected Date
Get the base date time as a date.Methods inherited from class com.webmethods.caf.faces.data.calendar.BusinessCalendarModel
getBaseAdjustment, getBaseDateTime, getCorporateCalendar, getDateTimeFormat, getPropertyKeys, getResultDateTime, getType, getUserCalendar, getValue, getWorkdays, getWorkhours, getWorkminutes, hasProperty, isUseUserPersonalCalendar, setBaseAdjustment, setBaseDateTime, setCorporateCalendar, setDateTimeFormat, setUserCalendar, setUseUserPersonalCalendar, setWorkdays, setWorkhours, setWorkminutes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.webmethods.caf.faces.data.IContentProvider
toString
-
Constructor Details
-
TaskBusinessCalendarModel
public TaskBusinessCalendarModel()
-
-
Method Details
-
getCalendarEvaluatorBaseDate
Description copied from class:BusinessCalendarModel
Get the base date time as a date. If the base date is not set by a Date object or getResultDateTime method has not been called this method will throw an exception.- Overrides:
getCalendarEvaluatorBaseDate
in classBusinessCalendarModel
- Returns:
- A Date object for base date time.
- Throws:
Exception
-
getCalendarByID
- Overrides:
getCalendarByID
in classBusinessCalendarModel
- Throws:
CalendarException
-