isEndTimeBeforeStartTime(LocalMeetingModel meeting) As part of the crutch for JSF's inability to do validation on relative
values in different components, this method checks whether two times, as
expressed by string start and end times and booleans indicating am/pm,
express times where the end time proceeds a start time.
protected boolean
isEndTimeWithoutStartTime(LocalMeetingModel meeting) As part of the crutch for JSF's inability to do validation on relative
values in different components, this method checks whether an end time has
been entered without a start time.
protected boolean
isInvalidTime(String str) As part of the crutch for JSF's inability to do validation on relative
values in different components, this method checks whether a string can
represent a valid time.
Returns true if the string fails to represent a time.
validationFails() Since the validation and conversion rules rely on the *relative*
values of one component to another, we can't use JSF validators and
converters.
As part of the crutch for JSF's inability to do validation on relative
values in different components, this method checks whether two times, as
expressed by string start and end times and booleans indicating am/pm,
express times where the end time proceeds a start time.
Parameters: meeting -
As part of the crutch for JSF's inability to do validation on relative
values in different components, this method checks whether an end time has
been entered without a start time.
Parameters: startTime - Parameters: endTime -
As part of the crutch for JSF's inability to do validation on relative
values in different components, this method checks whether a string can
represent a valid time.
Returns true if the string fails to represent a time. Java's date formatters
allow for impossible field values (eg hours > 12) so we do manual checks here.
Ugh.
Parameters: str - The string that might represent a time.
processAddMeeting
public void processAddMeeting(ActionEvent action)(Code)
processChangeNumSections
public void processChangeNumSections(ValueChangeEvent event)(Code)
Responds to a change in the sections selector in the UI.
Parameters: event -
processChangeSectionsCategory
public void processChangeSectionsCategory(ValueChangeEvent event)(Code)
Since the validation and conversion rules rely on the *relative*
values of one component to another, we can't use JSF validators and
converters. So we check everything here.
Methods inherited from org.sakaiproject.tool.section.jsf.backingbean.CourseDependentBean