A C D E F G H P R S U V

A

addMessage(User, User, String) - Static method in class ajax.database.PendingMessageBean
Adds message to the queue
ajax - package ajax
 

C

closeSession() - Static method in class ajax.database.HibernateFactory
Close the currently opened EntityManger
commit(Transaction) - Static method in class ajax.database.HibernateFactory
This is a simple method to reduce the amount of code that needs to be written every time hibernate is used.
Communicate - Class in ajax
Message control servlet
Communicate - Class in ajax
Message control servlet
Communicate() - Constructor for class ajax.Communicate
 
Communicate() - Constructor for class ajax.Communicate
 
Contacts - Class in ajax
Contact list servlet
Contacts - Class in ajax
Contact list servlet
Contacts() - Constructor for class ajax.Contacts
 
Contacts() - Constructor for class ajax.Contacts
 
Controller - Class in ajax
Main control servlet
Controller - Class in ajax
Main control servlet
Controller() - Constructor for class ajax.Controller
 
Controller() - Constructor for class ajax.Controller
 

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class ajax.Communicate
Get method handler for servlet functionality.
doGet(HttpServletRequest, HttpServletResponse) - Method in class ajax.Communicate
Get method handler for servlet functionality.
doGet(HttpServletRequest, HttpServletResponse) - Method in class ajax.Contacts
Get method handler for servlet functionality.
doGet(HttpServletRequest, HttpServletResponse) - Method in class ajax.Contacts
Get method handler for servlet functionality.
doGet(HttpServletRequest, HttpServletResponse) - Method in class ajax.Controller
Get method handler for servlet functionality.
doGet(HttpServletRequest, HttpServletResponse) - Method in class ajax.Controller
Get method handler for servlet functionality.
doPost(HttpServletRequest, HttpServletResponse) - Method in class ajax.Communicate
Post method handler for servlet functionality.
doPost(HttpServletRequest, HttpServletResponse) - Method in class ajax.Communicate
Post method handler for servlet functionality.
doPost(HttpServletRequest, HttpServletResponse) - Method in class ajax.Contacts
Post method handler for servlet functionality.
doPost(HttpServletRequest, HttpServletResponse) - Method in class ajax.Contacts
Post method handler for servlet functionality.
doPost(HttpServletRequest, HttpServletResponse) - Method in class ajax.Controller
Post method handler for servlet functionality.
doPost(HttpServletRequest, HttpServletResponse) - Method in class ajax.Controller
Post method handler for servlet functionality.

E

em - Static variable in class ajax.database.HibernateFactory
The single entity manager for this application instance
emf - Static variable in class ajax.database.HibernateFactory
The entity manager factory for generating entity manager

F

findUser(String) - Static method in class ajax.database.UserBean
Find a user by user id
findUser(Integer) - Static method in class ajax.database.UserBean
Find a user by user id
forward(String, HttpServletRequest, HttpServletResponse) - Static method in class ajax.Communicate
Preforms request dispatching for an HttpServletRequest servlet request.
forward(String, HttpServletRequest, HttpServletResponse) - Static method in class ajax.Communicate
Preforms request dispatching for an HttpServletRequest servlet request.
forward(String, HttpServletRequest, HttpServletResponse) - Static method in class ajax.Contacts
Preforms request dispatching for an HttpServletRequest servlet request.
forward(String, HttpServletRequest, HttpServletResponse) - Static method in class ajax.Contacts
Preforms request dispatching for an HttpServletRequest servlet request.

G

getAdded() - Method in class ajax.database.User
Get Wrapper for the added column of the database.
getChunk_id() - Method in class ajax.database.PendingMessage
 
getDate_sent() - Method in class ajax.database.PendingMessage
Getter Wrapper for the date_sent database column.
getEmail() - Method in class ajax.database.User
Get Wrapper for the email column of the database.
getEmf() - Static method in class ajax.database.HibernateFactory
 
getFromUser() - Method in class ajax.database.PendingMessage
 
getLast_action() - Method in class ajax.database.User
Get Wrapper for the last_action column of the database.
getLast_heartbeat() - Method in class ajax.database.User
Get Wrapper for the last_heartbeat column of the database.
getMessage() - Method in class ajax.database.PendingMessage
Getter Wrapper for the message database column.
getMessage() - Method in exception ajax.database.UserCredentialMismatchException
Get the message of this exception
getMessage() - Method in exception ajax.database.UserEmailExistsException
 
getMessageId() - Method in class ajax.database.PendingMessage
 
getMessages(User) - Static method in class ajax.database.PendingMessageBean
Retrieves a list of the messages destined for the user provided
getPendingMessages() - Method in class ajax.database.User
 
getPendingMessages(User, User) - Static method in class ajax.database.UserBean
Retrieve all messages waiting to be delivered between two users.
getPersistentHandle(Object) - Static method in class ajax.database.UserBean
Obtain a handle to persistent user object
getSession() - Static method in class ajax.database.HibernateFactory
Retrieve or create the entity manager
getToUser() - Method in class ajax.database.PendingMessage
 
getUserid() - Method in class ajax.database.User
 
getUserList() - Static method in class ajax.database.UserBean
Retrieve a list of all users.
getUsername() - Method in class ajax.database.User
Get Wrapper for the username column of the database.

H

HibernateFactory - Class in ajax.database
This is the Hibernate Entity Manager factory for the entire application.
HibernateFactory() - Constructor for class ajax.database.HibernateFactory
 

P

PendingMessage - Class in ajax.database
Hibernate entity bean for the Pending Message table
PendingMessage() - Constructor for class ajax.database.PendingMessage
 
PendingMessage(User, User, String) - Constructor for class ajax.database.PendingMessage
A convienance constructor for this object.
PendingMessageBean - Class in ajax.database
Encapsulates the logic for dealing with PendingMessage objects
PendingMessageBean() - Constructor for class ajax.database.PendingMessageBean
 

R

registerUser(String, String) - Static method in class ajax.database.UserBean
Adds a new user to the database
rollback(Transaction) - Static method in class ajax.database.HibernateFactory
This is a simple method to reduce the amount of code that needs to be written every time hibernate is used.

S

setAdded(Date) - Method in class ajax.database.User
Set wrapper for the added column of the database table
setChunk_id(Integer) - Method in class ajax.database.PendingMessage
Setter Wrapper for the chunk_id database column.
setDate_sent(Date) - Method in class ajax.database.PendingMessage
Setter Wrapper for the date_sent database column.
setEmail(String) - Method in class ajax.database.User
Set wrapper for the email column of the database table
setFromUser(User) - Method in class ajax.database.PendingMessage
Setter Wrapper for the from_user database column.
setLast_action(Date) - Method in class ajax.database.User
Set wrapper for the last_action column of the database table
setLast_heartbeat(Date) - Method in class ajax.database.User
Set wrapper for the last_heartbeat column of the database table
setMessage(String) - Method in class ajax.database.PendingMessage
Setter Wrapper for the message database column.
setMessageId(Integer) - Method in class ajax.database.PendingMessage
Setter Wrapper for the mesg_id database column.
setPendingMessages(List) - Method in class ajax.database.User
Set wrapper for the hibernate-mapped message list for this user
setToUser(User) - Method in class ajax.database.PendingMessage
Setter Wrapper for the to_user database column.
setUserid(Integer) - Method in class ajax.database.User
Set wrapper for the userid column of the database table
setUsername(String) - Method in class ajax.database.User
Set wrapper for the username column of the database table

U

User - Class in ajax.database
Hibernate entity bean for the User table
User() - Constructor for class ajax.database.User
 
User(String, String) - Constructor for class ajax.database.User
Convienance constructor for this class.
UserAccountNotFoundException - Exception in ajax.database
 
UserAccountNotFoundException() - Constructor for exception ajax.database.UserAccountNotFoundException
 
UserAccountNotFoundException(String) - Constructor for exception ajax.database.UserAccountNotFoundException
Constructor that accepts a string argument.
UserBean - Class in ajax.database
Encapsulated the logic for dealing with Users [objects].
UserBean() - Constructor for class ajax.database.UserBean
 
UserCredentialMismatchException - Exception in ajax.database
 
UserCredentialMismatchException() - Constructor for exception ajax.database.UserCredentialMismatchException
Default constructor using the generic error message
UserCredentialMismatchException(String) - Constructor for exception ajax.database.UserCredentialMismatchException
Construct with a custom error message
UserEmailExistsException - Exception in ajax.database
Exception indicating that an email address was already used to register an account.
UserEmailExistsException() - Constructor for exception ajax.database.UserEmailExistsException
 

V

validate(String) - Method in class ajax.Communicate
A simple string validator which checks for null or empty strings.
validate(String) - Method in class ajax.Communicate
A simple string validator which checks for null or empty strings.
validate(String) - Method in class ajax.Contacts
A simple string validator which checks for null or empty strings.
validate(String) - Method in class ajax.Contacts
A simple string validator which checks for null or empty strings.
validateCredentials(String) - Method in class ajax.database.User
Simply for convienance, compares a string to this users email

A C D E F G H P R S U V