com.webmethods.caf.faces.data.task
Class TaskBusinessCalendarModel

java.lang.Object
  extended by com.webmethods.caf.faces.data.calendar.BusinessCalendarModel
      extended by com.webmethods.caf.faces.data.task.TaskBusinessCalendarModel
All Implemented Interfaces:
IContentProvider

public class TaskBusinessCalendarModel
extends BusinessCalendarModel

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
TaskBusinessCalendarModel()
           
 
Method Summary
protected  Date getCalendarEvaluatorBaseDate()
          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 Detail

TaskBusinessCalendarModel

public TaskBusinessCalendarModel()
Method Detail

getCalendarEvaluatorBaseDate

protected Date getCalendarEvaluatorBaseDate()
                                     throws Exception
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 class BusinessCalendarModel
Returns:
A Date object for base date time.
Throws:
Exception