kiurubeans
Class MakeReservationHandler

java.lang.Object
  |
  +--kiurubeans.MakeReservationHandler

public class MakeReservationHandler
extends java.lang.Object

This class is used as handler for makeReservation.jsp. It just encapsulates HTTP parameter parsing.


Constructor Summary
MakeReservationHandler()
          Creates a new instance of MakeReservationHandler
 
Method Summary
 int getCPerson()
          Getter for property cPerson.
 int getEventAmount()
          Tells how many reservations are going to be made
 java.lang.String[] getEventID()
          Getter for property eventID.
 java.lang.String getEventID(int index)
          Indexed getter for property eventID.
 int getOrganisation()
          Getter for property organisation.
 int getPayOrganisation()
          Getter for property payOrganisation.
 int getPerson()
          Getter for property person.
 int getRequestState()
          Getter for property requestState.
 int getSpace()
          Getter for property space.
 boolean isCalendarMode()
          Getter for property calendarMode.
 boolean isShowPartials()
          Getter for property showPartials.
 void setCalendarMode(boolean calendarMode)
          Setter for property calendarMode.
 void setcPerson(int cPerson)
          setter for property cPerson.
 void setCPerson(int cPerson)
          Setter for property cPerson.
 void setEventID(int index, java.lang.String eventID)
          Indexed setter for property eventID.
 void setEventID(java.lang.String[] eventID)
          Setter for property eventID.
 void setOrganisation(int organisation)
          Setter for property organisation.
 void setOrganisation(java.lang.String organisation)
          Setter for property organisation.
 void setPayOrganisation(int payOrganisation)
          Setter for property payOrganisation.
 void setPayOrganisation(java.lang.String payOrganisation)
          Setter for property organisation.
 void setPerson(int person)
          Setter for property person.
 void setPerson(java.lang.String person)
          Setter for property person.
 void setRequestState(int requestState)
          Setter for property requestState.
 void setShowPartials(boolean showPartials)
          Setter for property showPartials.
 void setSpace(int space)
          Setter for property space.
 void setSpace(java.lang.String space)
          Setter for property space.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MakeReservationHandler

public MakeReservationHandler()
Creates a new instance of MakeReservationHandler

Method Detail

getSpace

public int getSpace()
Getter for property space.

Returns:
Value of property space.

setSpace

public void setSpace(int space)
Setter for property space.

Parameters:
space - New value of property space.

setSpace

public void setSpace(java.lang.String space)
Setter for property space.

Parameters:
space - New value of space as String

getPerson

public int getPerson()
Getter for property person.

Returns:
Value of property person.

setPerson

public void setPerson(int person)
Setter for property person.

Parameters:
person - New value of property person.

setPerson

public void setPerson(java.lang.String person)
Setter for property person.

Parameters:
person - New value of property person as String.

isCalendarMode

public boolean isCalendarMode()
Getter for property calendarMode.

Returns:
Value of property calendarMode.

setCalendarMode

public void setCalendarMode(boolean calendarMode)
Setter for property calendarMode.

Parameters:
calendarMode - New value of property calendarMode.

isShowPartials

public boolean isShowPartials()
Getter for property showPartials.

Returns:
Value of property showPartials.

setShowPartials

public void setShowPartials(boolean showPartials)
Setter for property showPartials.

Parameters:
showPartials - New value of property showPartials.

getEventID

public java.lang.String getEventID(int index)
Indexed getter for property eventID.

Parameters:
index - Index of the property.
Returns:
Value of the property at index.

getEventID

public java.lang.String[] getEventID()
Getter for property eventID.

Returns:
Value of property eventID.

setEventID

public void setEventID(int index,
                       java.lang.String eventID)
Indexed setter for property eventID.

Parameters:
index - Index of the property.
eventID - New value of the property at index.

setEventID

public void setEventID(java.lang.String[] eventID)
Setter for property eventID.

Parameters:
eventID - New value of property eventID.

getEventAmount

public int getEventAmount()
Tells how many reservations are going to be made

Returns:
Length of array eventID

getOrganisation

public int getOrganisation()
Getter for property organisation.

Returns:
Value of property organisation.

setOrganisation

public void setOrganisation(int organisation)
Setter for property organisation.

Parameters:
organisation - organisationID for organisation that is arranging the event.

setOrganisation

public void setOrganisation(java.lang.String organisation)
Setter for property organisation.

Parameters:
organisation - organisationID for organisation that is arranging the event.

getPayOrganisation

public int getPayOrganisation()
Getter for property payOrganisation.

Returns:
Value of property organisation.

setPayOrganisation

public void setPayOrganisation(int payOrganisation)
Setter for property payOrganisation.

Parameters:
payOrganisation - organisationID for the organisation that is paying the event.

setPayOrganisation

public void setPayOrganisation(java.lang.String payOrganisation)
Setter for property organisation.

Parameters:
payOrganisation - organisationID for the organisation that is paying the event.

getRequestState

public int getRequestState()
Getter for property requestState.

Returns:
Value of property requestState.

setRequestState

public void setRequestState(int requestState)
Setter for property requestState.

Parameters:
requestState - New value of property requestState.

getCPerson

public int getCPerson()
Getter for property cPerson.

Returns:
Value of property cPerson.

setCPerson

public void setCPerson(int cPerson)
Setter for property cPerson.

Parameters:
cPerson - New value of property cPerson.

setcPerson

public void setcPerson(int cPerson)
setter for property cPerson.

Parameters:
cPerson - personID for the contact person of the reservation.
See Also:
setCPerson(int)