Index

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A C D G I L P S

## A

addSchedule(String, String, String, String, String, String) - Method in class com.example.model.Sched
  Takes a username and schedules for Monday through Friday and enters them into the database.
availableString - Variable in class com.example.model.Sched

## C

close() - Method in class com.example.model.Sched
com.example.model - package com.example.model
com.example.web - package com.example.web
combineScheds() - Method in class com.example.model.Sched
  Combines independent schedules (including the "restriction" schedule) into one "super-schedule" with all of the times factored in and no over-lapping time slots
convertToString() - Method in class com.example.model.Sched
  Converts the "super-schedule" object to a single String (availableString) in standard-time human-readable format
createAccount(String, String, String) - Method in class com.example.model.Sched
  Adds a user to the database.

## D

displaySchedules(int) - Method in class com.example.model.Sched
  Prints out all inputted schedules for debugging purposes flag = 0 for String output, flag = 1 for Vector output flag = 2 for superSched output, flag = 3 for inverted schedule output, flag = 4 for final string output
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.example.web.SchedSelect
  Executes when a post form is submitted.

## G

getFreeTimes() - Method in class com.example.model.Sched
  Compares and combines the different schedules and returns the result, taking time restrictions into consideration

## I

invertSched() - Method in class com.example.model.Sched
  Invert the "super-schedule" to produce a schedule listing all of the available free times

## L

login(String, String) - Method in class com.example.model.Sched
  Takes a username and password and returns true if there is anentry in the database with a matching username and password, and false if there isn't.
lookupSchedule(String) - Method in class com.example.model.Sched
  Takes a username and returns an array of Strings containing the user's schedules for Monday through Friday.

## P

parseScheds() - Method in class com.example.model.Sched
  Parses a schedule into a form that can be used for easy comparisons (integers in military times within schedule objects) and also ensures that the format entered is valid
putRestrictions(String) - Method in class com.example.model.Sched
  Factors in overall scheduling restrictions
putSched(int, int, String) - Method in class com.example.model.Sched
  Puts each schedule into the scheds array

## S

Sched - Class in com.example.model
  Schedule class including the functions to parse, combine, invert, and change to a string.
Sched() - Constructor for class com.example.model.Sched
  Constructor, initializes some variables
SchedSelect - Class in com.example.web
SchedSelect() - Constructor for class com.example.web.SchedSelect

A C D G I L P S

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES