A B C D E F G I J L M N P R S T U

A

AddressBook - class lib.jGroupware.contacts.AddressBook.
The core Address Book Provides the functions for loading and saving collections of Contacts from various sources.
AddressBook() - Constructor for class lib.jGroupware.contacts.AddressBook
Set up internally used maps:
AddressbookNotFoundException - exception lib.jGroupware.contacts.AddressbookNotFoundException.
Description of the Class
AddressbookNotFoundException(String) - Constructor for class lib.jGroupware.contacts.AddressbookNotFoundException
Constructor for the AddressbookNotFoundException object
AddressbookNotFoundException(String, Throwable) - Constructor for class lib.jGroupware.contacts.AddressbookNotFoundException
Constructor for the AddressbookNotFoundException object
Alphabet - class lib.jGroupware.contacts.Alphabet.
 
Alphabet() - Constructor for class lib.jGroupware.contacts.Alphabet
Gets the letters of the alphabet for the current locale
app.jGroupware.contacts - package app.jGroupware.contacts
 
app.jGroupware.webapp.auth - package app.jGroupware.webapp.auth
 
app.jGroupware.webapp.contacts - package app.jGroupware.webapp.contacts
 
app.jGroupware.webapp.util - package app.jGroupware.webapp.util
 

B

BeanFactory - interface lib.jGroupware.utils.BeanFactory.
Interface showing class can be used as a bean factory

C

Contact - class lib.jGroupware.contacts.Contact.
Bean to represent a person or business in the addressbook
Contact(int) - Constructor for class lib.jGroupware.contacts.Contact
Constructor for the Contact object
Contact(int, boolean) - Constructor for class lib.jGroupware.contacts.Contact
Constructor for the Contact object Used when appending records
createBean(int) - Method in class lib.jGroupware.contacts.AddressBook
Method called by Database class during a load Returns a bean for it to populate
createBean(int) - Method in class lib.jGroupware.users.UserDB
Method called by Database class during a load Returns a bean for it to populate
createBean(int) - Method in interface lib.jGroupware.utils.BeanFactory
 
createCollectionFromFile(Connection, User, String) - Method in class lib.jGroupware.contacts.AddressBook
Import database from vCard file
createCollectionFromString(Connection, User, String) - Method in class lib.jGroupware.contacts.AddressBook
Import database from vCard file

D

Database - class lib.jGroupware.utils.Database.
Class to handle all jGroupware library database work
Database() - Constructor for class lib.jGroupware.utils.Database
 
DatabaseErrorException - exception lib.jGroupware.utils.DatabaseErrorException.
Description of the Class
DatabaseErrorException(String) - Constructor for class lib.jGroupware.utils.DatabaseErrorException
Constructor for the DatabaseErrorException object
DatabaseErrorException(String, Throwable) - Constructor for class lib.jGroupware.utils.DatabaseErrorException
Constructor for the DatabaseErrorException object
deleteAll(Connection, User) - Method in class lib.jGroupware.contacts.AddressBook
Delete all users contacts.
deleteCollection(Connection, String, String[]) - Method in class lib.jGroupware.utils.Database
Delete a collection from the database

E

errorPageAction - class app.jGroupware.webapp.util.errorPageAction.
Picks up redirected error pages from Tomcat, looks up an error message and then diverts to login page.
errorPageAction() - Constructor for class app.jGroupware.webapp.util.errorPageAction
 
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class app.jGroupware.webapp.auth.loginAction
Validate a user.
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class app.jGroupware.webapp.auth.logoutAction
Logout a user
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class app.jGroupware.webapp.contacts.findAContactByID
Loads database into request context for later display
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class app.jGroupware.webapp.contacts.findAllContactsAction
Loads database into request context for later display
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class app.jGroupware.webapp.contacts.findContactsBySurnameAction
Loads database into request context for later display
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class app.jGroupware.webapp.util.errorPageAction
Take error code from parameter and create ActionError based on it
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class app.jGroupware.webapp.util.tileForwardAction
Used to chain through to a tile

F

findAContactByID - class app.jGroupware.webapp.contacts.findAContactByID.
Loads database into request context for later display
findAContactByID() - Constructor for class app.jGroupware.webapp.contacts.findAContactByID
 
findAll(Connection, User) - Method in class lib.jGroupware.contacts.AddressBook
Load contents of database into Collection Records loaded are appended (this method does not clear collection out first)
findAllContactsAction - class app.jGroupware.webapp.contacts.findAllContactsAction.
Loads database into request context for later display
findAllContactsAction() - Constructor for class app.jGroupware.webapp.contacts.findAllContactsAction
 
findByEmail(Connection, User, String) - Method in class lib.jGroupware.contacts.AddressBook
Return collection of contacts with email contains match
findByID(Connection, User, String) - Method in class lib.jGroupware.contacts.AddressBook
Return a contact based on a given ID
findBySurname(Connection, User, String) - Method in class lib.jGroupware.contacts.AddressBook
Return collection of contacts with surname beginning with match
findContacts(User, String) - Static method in class app.jGroupware.contacts.Main
Description of the Method
findContactsBySurnameAction - class app.jGroupware.webapp.contacts.findContactsBySurnameAction.
Loads database into request context for later display
findContactsBySurnameAction() - Constructor for class app.jGroupware.webapp.contacts.findContactsBySurnameAction
 

G

getAddress1() - Method in class lib.jGroupware.contacts.Contact
Getter for property address1.
getAddress2() - Method in class lib.jGroupware.contacts.Contact
Getter for property address2.
getBirthDate() - Method in class lib.jGroupware.contacts.Contact
Getter for property birthDate.
getCity() - Method in class lib.jGroupware.contacts.Contact
Getter for property city.
getCountry() - Method in class lib.jGroupware.contacts.Contact
Getter for property country.
getDebugOutput(Collection) - Method in class lib.jGroupware.contacts.AddressBook
Returns the contents of the address book in human readable form
getDebugOutput() - Method in class lib.jGroupware.contacts.Contact
Returns the object contents in a human readable form
getFax() - Method in class lib.jGroupware.contacts.Contact
Getter for property fax.
getFirstname() - Method in class lib.jGroupware.contacts.Contact
Getter for property firstname.
getFirstname() - Method in class lib.jGroupware.users.User
Getter for property firstname.
getHomeEmail() - Method in class lib.jGroupware.contacts.Contact
Getter for property homeEmail.
getHomePage() - Method in class lib.jGroupware.contacts.Contact
Getter for property homePage.
getHomePhone() - Method in class lib.jGroupware.contacts.Contact
Getter for property homePhone.
getId() - Method in class lib.jGroupware.contacts.Contact
Getter for property Id.
getId() - Method in class lib.jGroupware.users.User
Getter for property id.
getJobTitle() - Method in class lib.jGroupware.contacts.Contact
Getter for property jobTitle.
getLastUsed() - Method in class lib.jGroupware.users.User
Getter for property lastUsed.
getMapFromResourceBundle(String) - Method in class lib.jGroupware.utils.Properties
Gets a map from a specially formatted resource bundle
getMobilePhone() - Method in class lib.jGroupware.contacts.Contact
Getter for property mobilePhone.
getNewID(Connection) - Method in class lib.jGroupware.contacts.AddressBook
Get an unused ID for use my a new bean
getNewID(Connection) - Method in class lib.jGroupware.users.UserDB
Get an unused ID for use my a new bean Currently never works
getNewID(Connection) - Method in interface lib.jGroupware.utils.BeanFactory
 
getNewId(Connection, String, String) - Method in class lib.jGroupware.utils.Database
Gets the newId attribute of the Database object
getOwnerID() - Method in class lib.jGroupware.contacts.Contact
Getter for property ownerId.
getPostcode() - Method in class lib.jGroupware.contacts.Contact
Getter for property postcode.
getRegion() - Method in class lib.jGroupware.contacts.Contact
Getter for property region.
getShareDetails() - Method in class lib.jGroupware.contacts.Contact
Getter for property shareDetails.
getSqlFromProperties(String, String) - Method in class lib.jGroupware.utils.Properties
Get a string from a resource bundle.
getSuffix() - Method in class lib.jGroupware.contacts.Contact
Getter for property suffix.
getSurname() - Method in class lib.jGroupware.contacts.Contact
Getter for property surname.
getSurname() - Method in class lib.jGroupware.users.User
Getter for property surname.
getTitle() - Method in class lib.jGroupware.contacts.Contact
Getter for property title.
getUsername() - Method in class lib.jGroupware.users.User
Getter for property username.
getWorkEmail() - Method in class lib.jGroupware.contacts.Contact
Getter for property workEmail.
getWorkPhone() - Method in class lib.jGroupware.contacts.Contact
Getter for property workPhone.

I

InvalidLoginException - exception lib.jGroupware.users.InvalidLoginException.
Description of the Class
InvalidLoginException(String) - Constructor for class lib.jGroupware.users.InvalidLoginException
Constructor for the AddressbookNotFoundException object
InvalidLoginException(String, Throwable) - Constructor for class lib.jGroupware.users.InvalidLoginException
Constructor for the AddressbookNotFoundException object
InvalidMappingException - exception lib.jGroupware.utils.InvalidMappingException.
Used when a mapping is used to populate a class and the mapping does not match the bean's properties.
InvalidMappingException(String) - Constructor for class lib.jGroupware.utils.InvalidMappingException
Constructor for the InvalidMappingException object
InvalidMappingException(String, Throwable) - Constructor for class lib.jGroupware.utils.InvalidMappingException
Constructor for the InvalidMappingException object
isContactUpdated() - Method in class lib.jGroupware.contacts.Contact
Getter for property contactUpdated.

J

JGRequestProcessor - class app.jGroupware.webapp.auth.JGRequestProcessor.
Over-rides the Struts request processor and uses jGroupware's UserDB for authenitication.
JGRequestProcessor() - Constructor for class app.jGroupware.webapp.auth.JGRequestProcessor
 

L

lib.jGroupware.contacts - package lib.jGroupware.contacts
 
lib.jGroupware.users - package lib.jGroupware.users
 
lib.jGroupware.utils - package lib.jGroupware.utils
 
loadCollection(BeanFactory, Map, Connection, String, String[]) - Method in class lib.jGroupware.utils.Database
Method that loads a collection of objects from a database
loadElement(BeanFactory, Map, Connection, String, String[]) - Method in class lib.jGroupware.utils.Database
Method that loads an element from a database
loadFileToDatabase(User, String) - Static method in class app.jGroupware.contacts.Main
Description of the Method
login(Connection, String, String) - Method in class lib.jGroupware.users.UserDB
Login to the system
loginAction - class app.jGroupware.webapp.auth.loginAction.
Loads user into request for use by later actions
loginAction() - Constructor for class app.jGroupware.webapp.auth.loginAction
 
loginToDb(String, String) - Static method in class app.jGroupware.contacts.Main
 
logoutAction - class app.jGroupware.webapp.auth.logoutAction.
Logs out user by removing User from session
logoutAction() - Constructor for class app.jGroupware.webapp.auth.logoutAction
 

M

Main - class app.jGroupware.contacts.Main.
Some simple tests
Main() - Constructor for class app.jGroupware.contacts.Main
 
main(String[]) - Static method in class app.jGroupware.contacts.Main
Application core
matchInString(String, String) - Method in class lib.jGroupware.utils.TextFile
Searchs a string for results based on a regular expression Will match patten exactly once but return a array of matched terms
matchMultipleInString(String, String) - Method in class lib.jGroupware.utils.TextFile
Searchs a string for results based on a regular expression Will match patten exactly many times and will return one matched item per RegEx

N

NoResultsFromSearchException - exception lib.jGroupware.utils.NoResultsFromSearchException.
Used when a regular expression lookup returns no results
NoResultsFromSearchException() - Constructor for class lib.jGroupware.utils.NoResultsFromSearchException
Constructor for the NoResultsFromSearchException object
NoResultsFromSearchException(String) - Constructor for class lib.jGroupware.utils.NoResultsFromSearchException
Constructor for the NoResultsFromSearchException object
NoResultsFromSearchException(String, Throwable) - Constructor for class lib.jGroupware.utils.NoResultsFromSearchException
Constructor for the NoResultsFromSearchException object

P

Properties - class lib.jGroupware.utils.Properties.
Description of the Class
Properties() - Constructor for class lib.jGroupware.utils.Properties
 
processRoles(HttpServletRequest, HttpServletResponse, ActionMapping) - Method in class app.jGroupware.webapp.auth.JGRequestProcessor
Check user has rights to use this action

R

removeCarriageReturns(String) - Method in class lib.jGroupware.utils.TextFile
Removes carriage returns from a string

S

saveAll(Connection, User, Collection) - Method in class lib.jGroupware.contacts.AddressBook
Save contents of collection into database.
saveBean(Object, Map, Connection, String) - Method in class lib.jGroupware.utils.Database
Update a bean in the database
setAddress1(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property address1.
setAddress2(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property address2.
setBirthDate(Date) - Method in class lib.jGroupware.contacts.Contact
Setter for property birthDate.
setCity(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property city.
setContactUpdated(boolean) - Method in class lib.jGroupware.contacts.Contact
Setter for property contactUpdated.
setCountry(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property country.
setFax(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property fax.
setFirstname(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property firstname.
setFirstname(String) - Method in class lib.jGroupware.users.User
Setter for property firstname.
setHomeEmail(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property homeEmail.
setHomePage(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property homePage.
setHomePhone(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property homePhone.
setId(int) - Method in class lib.jGroupware.contacts.Contact
 
setId(int) - Method in class lib.jGroupware.users.User
Setter for property id.
setJobTitle(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property jobTitle.
setLastUsed(Date) - Method in class lib.jGroupware.users.User
Setter for property lastUsed.
setMobilePhone(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property mobilePhone.
setOwnerID(int) - Method in class lib.jGroupware.contacts.Contact
 
setPostcode(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property postcode.
setRegion(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property region.
setShareDetails(boolean) - Method in class lib.jGroupware.contacts.Contact
Setter for property shareDetails.
setSuffix(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property suffix.
setSurname(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property surname.
setSurname(String) - Method in class lib.jGroupware.users.User
Setter for property surname.
setTitle(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property title.
setUsername(String) - Method in class lib.jGroupware.users.User
Setter for property username.
setWorkEmail(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property workEmail.
setWorkPhone(String) - Method in class lib.jGroupware.contacts.Contact
Setter for property workPhone.

T

TextFile - class lib.jGroupware.utils.TextFile.
Class to handle all jGroupware library text-file work
TextFile() - Constructor for class lib.jGroupware.utils.TextFile
Constructor for the TextFile object
tileForwardAction - class app.jGroupware.webapp.util.tileForwardAction.
Used to chain through to a tile
tileForwardAction() - Constructor for class app.jGroupware.webapp.util.tileForwardAction
 

U

User - class lib.jGroupware.users.User.
Bean to represent a jGroupware user
User(int) - Constructor for class lib.jGroupware.users.User
Constructor for the User object
UserDB - class lib.jGroupware.users.UserDB.
The main authentication database Provides routines to ensure users can be validated agaist system
UserDB() - Constructor for class lib.jGroupware.users.UserDB
Set up internally used maps:

A B C D E F G I J L M N P R S T U