org.jasig.schedassist.portlet.webflow
Class CreateAppointmentFormBackingObject

java.lang.Object
  extended by org.jasig.schedassist.portlet.webflow.CreateAppointmentFormBackingObject
All Implemented Interfaces:
Serializable

public class CreateAppointmentFormBackingObject
extends Object
implements Serializable

Form backing object for the create-appointment flow.

Version:
$Id: CreateAppointmentFormBackingObject.java 2345 2010-08-06 20:14:41Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu
See Also:
Serialized Form

Constructor Summary
CreateAppointmentFormBackingObject(AvailableBlock targetBlock, MeetingDurations meetingDurations)
           
 
Method Summary
 MeetingDurations getMeetingDurations()
           
 List<Integer> getMeetingDurationsAsList()
          A List of Integers containing the acceptable values for selectedDuration.
 String getReason()
           
 int getSelectedDuration()
           
 AvailableBlock getTargetBlock()
           
 boolean isConfirmJoin()
           
 boolean isDoubleLengthAvailable()
           
 boolean isMultipleVisitors()
           
 void setConfirmJoin(boolean confirmJoin)
           
 void setReason(String reason)
           
 void setSelectedDuration(int selectedDuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateAppointmentFormBackingObject

public CreateAppointmentFormBackingObject(AvailableBlock targetBlock,
                                          MeetingDurations meetingDurations)
Parameters:
targetBlock -
Method Detail

getTargetBlock

public AvailableBlock getTargetBlock()
Returns:
the targetBlock

getMeetingDurations

public MeetingDurations getMeetingDurations()
Returns:
the meetingDurations

isMultipleVisitors

public boolean isMultipleVisitors()
Returns:
the multipleVisitors

getReason

public String getReason()
Returns:
the reason

setReason

public void setReason(String reason)
Parameters:
reason - the reason to set

isDoubleLengthAvailable

public boolean isDoubleLengthAvailable()
Returns:
whether or not double length meeting duration is available

getMeetingDurationsAsList

public List<Integer> getMeetingDurationsAsList()
A List of Integers containing the acceptable values for selectedDuration. If the internal MeetingDurations "isDoubleLengthAvailable," the returned List will contain 1 entry for the minValue and 1 entry for the maxValue. Otherwise, the returned list will only contain 1 (the minValue).

Returns:
the meetingDurations

getSelectedDuration

public int getSelectedDuration()
Returns:
the selectedDuration

setSelectedDuration

public void setSelectedDuration(int selectedDuration)
Parameters:
selectedDuration - the selectedDuration to set

isConfirmJoin

public boolean isConfirmJoin()
Returns:
the confirmJoin

setConfirmJoin

public void setConfirmJoin(boolean confirmJoin)
Parameters:
confirmJoin - the confirmJoin to set


Copyright © 2012 Jasig. All Rights Reserved.