org.jasig.schedassist.web.register
Class Registration

java.lang.Object
  extended by org.jasig.schedassist.web.register.Registration
All Implemented Interfaces:
Serializable

public class Registration
extends Object
implements Serializable

Model object for ICalendarAccount registration webflow.

Version:
$Id: Registration.java 2695 2010-09-24 13:20:05Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu
See Also:
Serialized Form

Constructor Summary
Registration()
           
 
Method Summary
 String durationPreferenceValue()
           
 String emailReminderPreferenceKey()
          Return a properly formatted preference key for the values of enableEmailReminders, emailReminderIncludeOwner, and emailReminderHours.
 String getDaysOfWeekPhrase()
           
 int getDefaultVisitorsPerAppointment()
           
 int getEmailReminderHours()
           
 String getEndDatePhrase()
           
 String getEndTimePhrase()
           
 String getLocation()
           
 String getMeetingLength()
           
 int getMeetingLimitValue()
           
 String getNoteboard()
           
 String[] getNoteboardSentences()
          Get the noteboard as an array of sentences (noteboard split on newline characters).
 String getStartDatePhrase()
           
 String getStartTimePhrase()
           
 String getTitlePrefix()
           
 int getWindowHoursStart()
           
 int getWindowWeeksEnd()
           
 boolean isAllowDoubleLength()
           
 boolean isEmailReminderIncludeOwner()
           
 boolean isEnableEmailReminders()
           
 boolean isEnableMeetingLimit()
           
 boolean isReflectSchedule()
           
 boolean isScheduleSet()
           
 void setAllowDoubleLength(boolean allowDoubleLength)
           
 void setDaysOfWeekPhrase(String daysOfWeekPhrase)
           
 void setDefaultVisitorsPerAppointment(int defaultVisitorsPerAppointment)
           
 void setEmailReminderHours(int emailReminderHours)
           
 void setEmailReminderIncludeOwner(boolean emailReminderIncludeOwner)
           
 void setEnableEmailReminders(boolean enableEmailReminders)
           
 void setEnableMeetingLimit(boolean enableMeetingLimit)
           
 void setEndDatePhrase(String endDatePhrase)
           
 void setEndTimePhrase(String endTimePhrase)
           
 void setLocation(String location)
           
 void setMeetingLength(String meetingLength)
           
 void setMeetingLimitValue(int meetingLimitValue)
           
 void setNoteboard(String noteboard)
           
 void setReflectSchedule(boolean reflectSchedule)
           
 void setStartDatePhrase(String startDatePhrase)
           
 void setStartTimePhrase(String startTimePhrase)
           
 void setTitlePrefix(String titlePrefix)
           
 void setWindowHoursStart(int windowHoursStart)
           
 void setWindowWeeksEnd(int windowWeeksEnd)
           
protected  BlockBuilderFormBackingObject toBlockBuilderFormBackingObject()
          Construct a BlockBuilderFormBackingObject from the fields in this bean.
protected  PreferencesFormBackingObject toPreferencesFormBackingObject()
          Construct a PreferencesFormBackingObject from the fields in this bean.
 void validateSetPreferences(org.springframework.binding.validation.ValidationContext context)
          Validate after the preferences related fields have been set.
 void validateSetSchedule(org.springframework.binding.validation.ValidationContext context)
          Validate schedule related fields.
 String visibleWindowPreferenceKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Registration

public Registration()
Method Detail

getLocation

public String getLocation()
Returns:
the location

setLocation

public void setLocation(String location)
Parameters:
location - the location to set

getTitlePrefix

public String getTitlePrefix()
Returns:
the titlePrefix

setTitlePrefix

public void setTitlePrefix(String titlePrefix)
Parameters:
titlePrefix - the titlePrefix to set

getMeetingLength

public String getMeetingLength()
Returns:
the meetingLength

setMeetingLength

public void setMeetingLength(String meetingLength)
Parameters:
meetingLength - the meetingLength to set

isAllowDoubleLength

public boolean isAllowDoubleLength()
Returns:
the allowDoubleLength

setAllowDoubleLength

public void setAllowDoubleLength(boolean allowDoubleLength)
Parameters:
allowDoubleLength - the allowDoubleLength to set

getWindowHoursStart

public int getWindowHoursStart()
Returns:
the windowHoursStart

setWindowHoursStart

public void setWindowHoursStart(int windowHoursStart)
Parameters:
windowHoursStart - the windowHoursStart to set

getWindowWeeksEnd

public int getWindowWeeksEnd()
Returns:
the windowWeeksEnd

setWindowWeeksEnd

public void setWindowWeeksEnd(int windowWeeksEnd)
Parameters:
windowWeeksEnd - the windowWeeksEnd to set

getNoteboard

public String getNoteboard()
Returns:
the noteboard

getNoteboardSentences

public String[] getNoteboardSentences()
Get the noteboard as an array of sentences (noteboard split on newline characters).

Returns:
a possibly empty, but never null noteboard as an array of sentences

setNoteboard

public void setNoteboard(String noteboard)
Parameters:
noteboard - the noteboard to set

isReflectSchedule

public boolean isReflectSchedule()
Returns:
the reflectSchedule

setReflectSchedule

public void setReflectSchedule(boolean reflectSchedule)
Parameters:
reflectSchedule - the reflectSchedule to set

getStartTimePhrase

public String getStartTimePhrase()
Returns:
the startTimePhrase

setStartTimePhrase

public void setStartTimePhrase(String startTimePhrase)
Parameters:
startTimePhrase - the startTimePhrase to set

getEndTimePhrase

public String getEndTimePhrase()
Returns:
the endTimePhrase

setEndTimePhrase

public void setEndTimePhrase(String endTimePhrase)
Parameters:
endTimePhrase - the endTimePhrase to set

getDaysOfWeekPhrase

public String getDaysOfWeekPhrase()
Returns:
the daysOfWeekPhrase

setDaysOfWeekPhrase

public void setDaysOfWeekPhrase(String daysOfWeekPhrase)
Parameters:
daysOfWeekPhrase - the daysOfWeekPhrase to set

getStartDatePhrase

public String getStartDatePhrase()
Returns:
the startDatePhrase

setStartDatePhrase

public void setStartDatePhrase(String startDatePhrase)
Parameters:
startDatePhrase - the startDatePhrase to set

getEndDatePhrase

public String getEndDatePhrase()
Returns:
the endDatePhrase

setEndDatePhrase

public void setEndDatePhrase(String endDatePhrase)
Parameters:
endDatePhrase - the endDatePhrase to set

getDefaultVisitorsPerAppointment

public int getDefaultVisitorsPerAppointment()
Returns:
the defaultVisitorsPerAppointment

setDefaultVisitorsPerAppointment

public void setDefaultVisitorsPerAppointment(int defaultVisitorsPerAppointment)
Parameters:
defaultVisitorsPerAppointment - the defaultVisitorsPerAppointment to set

isEnableMeetingLimit

public boolean isEnableMeetingLimit()
Returns:
the enableMeetingLimit

setEnableMeetingLimit

public void setEnableMeetingLimit(boolean enableMeetingLimit)
Parameters:
enableMeetingLimit - the enableMeetingLimit to set

getMeetingLimitValue

public int getMeetingLimitValue()
Returns:
the meetingLimitValue

isEnableEmailReminders

public boolean isEnableEmailReminders()
Returns:
the enableEmailReminders

setEnableEmailReminders

public void setEnableEmailReminders(boolean enableEmailReminders)
Parameters:
enableEmailReminders - the enableEmailReminders to set

isEmailReminderIncludeOwner

public boolean isEmailReminderIncludeOwner()
Returns:
the emailReminderIncludeOwner

setEmailReminderIncludeOwner

public void setEmailReminderIncludeOwner(boolean emailReminderIncludeOwner)
Parameters:
emailReminderIncludeOwner - the emailReminderIncludeOwner to set

getEmailReminderHours

public int getEmailReminderHours()
Returns:
the emailReminderHours

setEmailReminderHours

public void setEmailReminderHours(int emailReminderHours)
Parameters:
emailReminderHours - the emailReminderHours to set

emailReminderPreferenceKey

public String emailReminderPreferenceKey()
Return a properly formatted preference key for the values of enableEmailReminders, emailReminderIncludeOwner, and emailReminderHours.

Returns:

setMeetingLimitValue

public void setMeetingLimitValue(int meetingLimitValue)
Parameters:
meetingLimitValue - the meetingLimitValue to set

isScheduleSet

public boolean isScheduleSet()
Returns:
the scheduleSet

durationPreferenceValue

public String durationPreferenceValue()
Returns:

visibleWindowPreferenceKey

public String visibleWindowPreferenceKey()
Returns:

toBlockBuilderFormBackingObject

protected BlockBuilderFormBackingObject toBlockBuilderFormBackingObject()
Construct a BlockBuilderFormBackingObject from the fields in this bean.

Returns:

toPreferencesFormBackingObject

protected PreferencesFormBackingObject toPreferencesFormBackingObject()
Construct a PreferencesFormBackingObject from the fields in this bean.

Returns:

validateSetPreferences

public void validateSetPreferences(org.springframework.binding.validation.ValidationContext context)
Validate after the preferences related fields have been set. Delegates to a PreferencesFormBackingObjectValidator.

Parameters:
context -

validateSetSchedule

public void validateSetSchedule(org.springframework.binding.validation.ValidationContext context)
Validate schedule related fields. Delegates to a BlockBuilderFormBackingObject.

Parameters:
context -


Copyright © 2011 Jasig. All Rights Reserved.