All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

activateValidationDisplay(). Method in class com.startups.webui.Model
addModelToSession(Model, HttpServletRequest). Method in class com.startups.webui.ControllerServlet

C

clearModel(HttpServletRequest). Method in class com.startups.webui.ControllerServlet
Clear the Model object corresponding this servlet from the session.
ControllerServlet(). Constructor for class com.startups.webui.ControllerServlet
ControllerServletTest(String). Constructor for class com.startups.webui.ControllerServletTest

D

displayFailedValidations(). Method in class com.startups.webui.Model
Return a list of failed form validations in red.
doGet(HttpServletRequest, HttpServletResponse). Method in class com.startups.webui.ControllerServlet
Template method that obtains the model corresponding to this servlet and invokes activateValidationDisplay() on it, then invokes performGet() which needs to be handled by the subclass.
doGet(HttpServletRequest, HttpServletResponse). Method in class com.startups.webui.SessionValidControllerServlet
Checks to see if the issuer of the GET has a valid session.
doPost(HttpServletRequest, HttpServletResponse). Method in class com.startups.webui.ControllerServlet
Template method that obtains the model corresponding to this servlet and invokes activateValidationDisplay() on it, then invokes performPost() which needs to be handled by the subclass.
doPost(HttpServletRequest, HttpServletResponse). Method in class com.startups.webui.SessionValidControllerServlet
Checks to see if the issuer of the POST has a valid session.

E

enterState(String, HttpServletRequest, HttpServletResponse). Method in class com.startups.webui.ControllerServlet
Forwards the request and response to the given stateView, which is typically a jsp.

F

fontColorTagFor(String). Method in class com.startups.webui.Model
Returns a red font color tag if the given fieldName in the given model is invalid, otherwise returns a black font color tag.

G

getModel(HttpServletRequest). Method in class com.startups.webui.ControllerServlet
Return the Model object corresponding to this servlet from the session.
getValidationErrorList(). Method in class com.startups.validation.ValidatableObject
Return an array of ValidationFailedException objects representing the validations that this object is currently failing.

I

isFieldValid(String). Method in class com.startups.validation.ValidatableObject
Use reflection to determine whether the given field is valid.
isValid(). Method in class com.startups.validation.ValidatableObject
Uses reflection to sequentially invoke all methods on the object whose names begin with "validate", take no arguments, and throw ValidationFailedExceptions.

M

Model(). Constructor for class com.startups.webui.Model

P

performGet(HttpServletRequest, HttpServletResponse). Method in class com.startups.webui.ControllerServlet
Subclasses implement this method.
performPost(HttpServletRequest, HttpServletResponse). Method in class com.startups.webui.ControllerServlet
Subclasses implement this method.

S

SessionValidControllerServlet(). Constructor for class com.startups.webui.SessionValidControllerServlet
setUp(). Method in class com.startups.validation.ValidatableObjectTest
suite(). Static method in class com.startups.webui.ControllerServletTest
suite(). Static method in class com.startups.validation.ValidatableObjectTest

T

tearDown(). Method in class com.startups.validation.ValidatableObjectTest
testFilledExceptionList(). Method in class com.startups.validation.ValidatableObjectTest
testGetModelSessionKeyFor(). Method in class com.startups.webui.ControllerServletTest
testGetModelSessionKeyFor2(). Method in class com.startups.webui.ControllerServletTest
testGetModelSessionKeyForWrongArg(). Method in class com.startups.webui.ControllerServletTest
testInvalidField(). Method in class com.startups.validation.ValidatableObjectTest
testMissingField(). Method in class com.startups.validation.ValidatableObjectTest
testNullField(). Method in class com.startups.validation.ValidatableObjectTest
testRemovePackage(). Method in class com.startups.webui.ControllerServletTest
testValidField(). Method in class com.startups.validation.ValidatableObjectTest
testValidFieldLowercase(). Method in class com.startups.validation.ValidatableObjectTest
toString(). Method in class com.startups.validation.ValidationFailedException

V

ValidatableObject(). Constructor for class com.startups.validation.ValidatableObject
ValidatableObjectTest(String). Constructor for class com.startups.validation.ValidatableObjectTest
ValidationFailedException(). Constructor for class com.startups.validation.ValidationFailedException
ValidationFailedException(String). Constructor for class com.startups.validation.ValidationFailedException