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

G

generate(Tournament, boolean, boolean) - Static method in class view.page.RegistrationPage.DiscountJavascript
Generates the script as per parameters given to constructor.
generate(Tournament) - Static method in class view.page.RegistrationPage.EntryDataJavascript
Generates the script as per parameters given to constructor.
get(String) - Method in class GoTournaments.GoHttpRequest
As above, but an empty String is returned instead of null.
getAmount() - Method in class model.Discount
Returns discount amount.
getAttributeList() - Method in class view.xhtml.HtmlElement
Returns the HTML source code the element's attribute list.
getBackupFolder() - Static method in class settings.Settings
 
getBaseFee() - Method in class model.tournament.TournamentDataModel
 
getBirthDayOfMonth() - Method in class model.entry.EntryDataModel
 
getBirthMonthOfYear() - Method in class model.entry.EntryDataModel
 
getBody() - Method in class view.xhtml.XHTMLDocument
Returns the documents body element.
getBool(String) - Method in class GoTournaments.GoHttpRequest
As in get(), but with an automatic conversion to a boolean.
getCheckbox(String) - Method in class GoTournaments.GoHttpRequest
As in get(), but with an automatic conversion to a checkbox state (boolean).
getClosedDataFolder() - Static method in class settings.Settings
 
getClosedTournament(ID) - Static method in class model.TournamentManager
Returns a closed tournament with the given tournament id number.
getClosedTournaments() - Static method in class model.TournamentManager
 
getCloseTag() - Method in class view.xhtml.HtmlElement
Constructs and returns the close tag of the element.
getCloseTag(int) - Method in class view.xhtml.HtmlElement
As above but with indentation.
getClub() - Method in class model.entry.EntryDataModel
 
getCode() - Method in class model.Country
Returns country code.
getConfirmedPreEntries() - Method in class model.Tournament
 
getConfirmedPreEntries(Tournament.EntryComparator.SortBy) - Method in class model.Tournament
 
getConfirmedPreEntries(Tournament) - Method in class model.XMLFile
Returns an Entry-array of all the confirmed pre-entries in the tournament file.
getConfParameter(String) - Method in class settings.ConfFile
Returns a given parameter value as a string from the configuration file.
getContent() - Method in class view.page.GoPage
Returns the content 'div' element of the page.
getContent() - Method in class view.xhtml.ContainerElement
Returns the HTML source code of the contained objects.
getContent(int, int) - Method in class view.xhtml.ContainerElement
As above, but with indendation.
getCookie(String) - Method in class GoTournaments.GoHttpRequest
Returns the value of a cookie or an empty String if the cookie isn't set.
getCookies() - Method in class view.GoResponse
Returns an array of cookies in the response.
getCountry() - Method in class model.entry.EntryDataModel
 
getCountryList() - Static method in class model.Country
Returns a list of countries.
getCountryList() - Method in class model.CountryListFile
Method parses the country list file and creates Country objects that are essentially country code - country list pairs.
getCountryList() - Method in class model.Tournament
 
getDataFilename() - Method in class model.Tournament
 
getDataFolder() - Static method in class settings.Settings
 
getDate() - Method in class model.tournament.TournamentDataModel
 
getDateAndTimeString() - Static method in class model.GoDate
Method for getting the system date and time.
getDateOfBirth() - Method in class model.entry.EntryDataModel
 
getDateString() - Static method in class model.GoDate
Method for getting the system date.
getDefaultCountry() - Method in class model.tournament.TournamentDataModel
 
getDiscountIdCounter() - Method in class model.XMLFile
 
getDiscountIds() - Method in class model.entry.EntryDataModel
 
getDiscounts() - Method in class model.tournament.TournamentDataModel
 
getDiscounts() - Method in class model.TournamentUpdater
 
getEID() - Method in class GoTournaments.GoHttpRequest
As above, but always gets the entry ID ("eid").
getEntries() - Method in class model.Tournament
 
getEntries(Tournament.EntryComparator.SortBy) - Method in class model.Tournament
 
getEntries(Tournament) - Method in class model.XMLFile
Returns an Entry-array of all the entries in the tournament file.
getEntry(ID) - Method in class model.Tournament
Returns a given entry.
getEntryElement(ID) - Method in class model.XMLFile
 
getEntryElement(ID, Element) - Method in class model.XMLFile
 
getEntryIdCounter() - Method in class model.XMLFile
 
getEntryInitializer() - Method in class model.Tournament
Returns an EntryInitializer object that can be used to create a new entry for this tournament.
getEntryInitializer(ID) - Static method in class model.TournamentManager
 
getEntryUpdater(ID) - Method in class model.Tournament
Returns an EntryUpdater object that can be used to modify an entry of this tournament.
getEntryUpdater(ID, ID) - Static method in class model.TournamentManager
 
getErrorMessage() - Method in exception model.exceptions.GoException
Returns the error message of the exception.
getFirstName() - Method in class model.entry.EntryDataModel
 
getHeader() - Method in class view.element.ListTable
Returns the header row of the table.
getHtml() - Method in class model.tournament.TournamentDataModel
 
getHtml() - Method in class view.xhtml.ContainerElement
Returns the HTML source code of the container and its inner elements.
getHtml(int, int) - Method in class view.xhtml.ContainerElement
As above but with indentation by blocks, that is, the start and close tags of inner elements will have an indentation one level greater than the container element.
getHtml() - Method in class view.xhtml.EmptyElement
Returns the HTML source code of the element.
getHtml(int, int) - Method in class view.xhtml.EmptyElement
As above but with indendation.
getHtml() - Method in class view.xhtml.HtmlElement.ElementAttribute
 
getHtml() - Method in class view.xhtml.HtmlObject
Returns the object's HTML source code.
getHtml(int, int) - Method in class view.xhtml.HtmlObject
Returns the object's HTML source code with indentation.
getHtml(int) - Method in class view.xhtml.HtmlObject
As above but with no root level indentation.
getHtml() - Method in class view.xhtml.HtmlText
Returns the HTML source code of the text.
getHtml() - Method in class view.xhtml.RawText
Returns the text without encoding.
getHtml(int, int) - Method in class view.xhtml.RawText
As above but with indentation.
getID(String) - Method in class GoTournaments.GoHttpRequest
As in get(), but with an automatic conversion to a Go ID object.
getId() - Method in class model.Discount
Returns discount id.
getId() - Method in class model.entry.EntryDataModel
 
getId() - Method in class model.Rank
Returns the rank id string.
getId() - Method in class model.tournament.TournamentDataModel
 
getIdNumber() - Method in class model.ID
Returns id number.
getIndent(int) - Static method in class view.xhtml.HtmlObject
Returns a String of spaces.
getInfo() - Method in class model.entry.EntryDataModel
 
getLastName() - Method in class model.entry.EntryDataModel
 
getLogData() - Method in class model.LogFile
Returns the contents of the log file
getLogFileName() - Method in class model.Tournament
 
getLowestRank() - Static method in class model.Rank
Returns lowest rank in the rank list.
getMachMahonRank() - Method in class model.Rank
Returns the rank in a format compatible with the MacMahon program.
getName() - Method in class model.Country
Returns country name.
getName() - Method in class model.Discount
Returns discount name.
getName() - Method in class model.tournament.TournamentDataModel
 
getNextDiscountId() - Method in class model.Tournament
Used to get the next available discount ID for the tournament and update the counter by one.
getNextEntryId() - Method in class model.Tournament
Used to get the next available entry ID for the tournament and update the counter by one.
getNextEntryId(int) - Method in class model.Tournament
Used to get the next available entry ID for the tournament and update the counter.
getNextTournamentId() - Method in class settings.ConfFile
Increments the tournament ID counter and returns an ID instance created with the old value.
getNextTournamentId() - Static method in class settings.Settings
Reads the next tournament ID from the configuration file.
getNumberOfDiscounts(ID) - Method in class model.Tournament
Returns the no.
getNumberOfEntries() - Method in class model.Tournament
 
getNumberOfPreEntries() - Method in class model.Tournament
 
getOpenTournament(ID) - Static method in class model.TournamentManager
Returns an open tournament with the given tournament id number.
getOpenTournaments() - Static method in class model.TournamentManager
 
getPaidSum() - Method in class model.entry.EntryDataModel
 
getParameter(String) - Method in class GoTournaments.GoHttpRequest
Returns the value of a field sent either with 'get' or 'post' method as a String.
getPassword() - Method in class settings.ConfFile
 
getPassword() - Static method in class settings.Settings
 
getPreEntries() - Method in class model.Tournament
 
getPreEntries(Tournament.EntryComparator.SortBy) - Method in class model.Tournament
 
getPreEntries(Tournament) - Method in class model.XMLFile
Returns an Entry-array of all the pre-entries in the tournament file.
getPreEntry(ID) - Method in class model.Tournament
Returns a given pre-entry.
getPreEntryInitializer() - Method in class model.Tournament
Returns an EntryInitializer object that can be used to create a new pre-entry for this tournament.
getPreEntryInitializer(int) - Method in class model.Tournament
Returns an array EntryInitializer objects that can be used to create new pre-entries for this tournament.
getPreEntryInitializer(ID) - Static method in class model.TournamentManager
 
getPreEntryUpdater(ID) - Method in class model.Tournament
Returns an EntryUpdater object that can be used to modify a pre-entry of this tournament.
getPreEntryUpdater(ID, ID) - Static method in class model.TournamentManager
 
getPublicFolder() - Static method in class settings.Settings
 
getRank() - Method in class model.entry.EntryDataModel
 
getRankList() - Static method in class model.Rank
Returns a list of all the Rank objects in the rank list.
getRankList() - Method in class model.Tournament
 
getRepresentation() - Method in class model.Rank
Returns a more readable String representation of the rank.
getRoot() - Method in class view.xhtml.XHTMLDocument
Generates and returns the actual element hierarchy.
getSource() - Method in class view.page.GoPage
Returns the XHTML source code of the page.
getSource(int) - Method in class view.page.GoPage
As above, but with indentation.
getSource() - Method in class view.xhtml.XHTMLDocument
Returns the HTML source code without indentation.
getSource(int) - Method in class view.xhtml.XHTMLDocument
As above but with indendation.
getStackTrace(Exception) - Static method in class view.page.ErrorPage
Produces a String representation for an exception stack trace, adding a newline after each method invocation.
getStartTag(boolean) - Method in class view.xhtml.HtmlElement
Constructs and returns the start tag of the element.
getStartTag(int, boolean) - Method in class view.xhtml.HtmlElement
As above but with indendation.
getSubElements(Element, String...) - Static method in class model.XMLFactory
Returns a descendant of the parameter 'element'.
getSubElementText(Element, String...) - Static method in class model.XMLFactory
Returns the sub element text content of a descendant of the parameter 'element'.
getSysLogFile() - Static method in class settings.Settings
 
getTID() - Method in class GoTournaments.GoHttpRequest
As above, but always gets the tournament ID ("tid").
getTimeString() - Static method in class model.GoDate
Method for getting the system time.
getTotalFee() - Method in class model.entry.EntryDataModel
 
getTotalFees() - Method in class model.Tournament
 
getTotalPaid() - Method in class model.Tournament
 
getTournament(ID) - Static method in class model.TournamentManager
 
getTournament() - Method in class model.TournamentUpdater
 
getTournamentId() - Method in class model.XMLFile
 
getTournamentInitializer() - Static method in class model.TournamentManager
Returns a TournamentInitializer object that can be used to create a new tournament.
getTournamentInitializer() - Method in class model.XMLFile
 
getTournamentUpdater() - Method in class model.Tournament
Returns a TournamentUpdater object that can be used to edit information and discounts of this tournament.
getTournamentUpdater(ID) - Static method in class model.TournamentManager
 
getTypeText(Input.InputType) - Static method in class view.xhtml.Input
Constructs an input element of the specfied type.
getUnknownCountry() - Static method in class model.Country
Method returns the default country that is used to set the country field in an EntryInitializer object by default.
getUnpaidEntries() - Method in class model.Tournament
 
getUnpaidEntries(Tournament.EntryComparator.SortBy) - Method in class model.Tournament
 
getUrl() - Method in class view.Redirection
Returns the URL of the redirection.
getValue() - Method in class model.Rank
Returns the value of the rank.
GoA - Class in view.element
 
GoA(GoURL, String) - Constructor for class view.element.GoA
Constructs the element.
GoDate - Class in model
Class GoDate is used to parse and store dates used by the program.
GoDate(String) - Constructor for class model.GoDate
Constructor tries to parse a new GoDate object from the parameter string
GoException - Exception in model.exceptions
Base class of the exceptions used in the program.
GoException(String) - Constructor for exception model.exceptions.GoException
When a GoException instance is created, its error message is stored.
GoForm - Class in view.element
 
GoForm(GoURL) - Constructor for class view.element.GoForm
Constructs the element.
GoForm(String) - Constructor for class view.element.GoForm
As above, but accepts a String, which is automatically converted to a Go URL.
GoIOException - Exception in model.exceptions
 
GoIOException(String) - Constructor for exception model.exceptions.GoIOException
 
GoPage - Class in view.page
 
GoPage(boolean) - Constructor for class view.page.GoPage
Constructs the page.
GoResponse - Class in view
 
GoResponse() - Constructor for class view.GoResponse
Constructs the response.
GoTournaments - Class in <Unnamed>
 
GoTournaments() - Constructor for class GoTournaments
 
GoTournaments.AdminException - Exception in <Unnamed>
An exception thrown when the user isn't logged in but the request requires administrator privileges.
GoTournaments.AdminException() - Constructor for exception GoTournaments.AdminException
 
GoTournaments.GoHttpRequest - Class in <Unnamed>
A class to provide a simple interface for the HttpServletRequest.
GoTournaments.GoHttpRequest(HttpServletRequest) - Constructor for class GoTournaments.GoHttpRequest
Constructs a GoHttpRequest interface for an HttpServletRequest.
GoTournaments.IncorrectPasswordException - Exception in <Unnamed>
An exception thrown when an incorrect password is given.
GoTournaments.IncorrectPasswordException() - Constructor for exception GoTournaments.IncorrectPasswordException
 
GoURL - Class in view.url
 
GoURL(Object, Object...) - Constructor for class view.url.GoURL
Constructs the URL.

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