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

A

abs() - Method in class hirondelle.web4j.model.Decimal
Return the absolute value of the amount.
Action - Interface in hirondelle.web4j.action
Process an HTTP request, and return a ResponsePage.
ActionImpl - Class in hirondelle.web4j.action
Abstract Base Class (ABC) for implementations of the Action interface.
ActionImpl(ResponsePage, RequestParser) - Constructor for class hirondelle.web4j.action.ActionImpl
Constructor.
ActionTemplateListAndEdit - Class in hirondelle.web4j.action
Template for "all-in-one" Actions, which perform common operations on a Model Object.
ActionTemplateListAndEdit(ResponsePage, ResponsePage, RequestParser) - Constructor for class hirondelle.web4j.action.ActionTemplateListAndEdit
Constructor.
ActionTemplateSearch - Class in hirondelle.web4j.action
Template for search screens.
ActionTemplateSearch(ResponsePage, RequestParser) - Constructor for class hirondelle.web4j.action.ActionTemplateSearch
Constructor.
ActionTemplateShowAndApply - Class in hirondelle.web4j.action
Template for "first show, then validate and apply" groups of operations.
ActionTemplateShowAndApply(ResponsePage, ResponsePage, RequestParser) - Constructor for class hirondelle.web4j.action.ActionTemplateShowAndApply
Constructor.
add(SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
INSERT operation which returns the database identifier of the added record.
add(Connection, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
INSERT operation which returns the database identifier of the added record.
add(String) - Method in exception hirondelle.web4j.model.AppException
 
add(String, Object...) - Method in exception hirondelle.web4j.model.AppException
 
add(AppException) - Method in exception hirondelle.web4j.model.AppException
 
add(String) - Method in interface hirondelle.web4j.model.MessageList
Add a simple AppResponseMessage to this list.
add(String, Object...) - Method in interface hirondelle.web4j.model.MessageList
Add a compound AppResponseMessage to this list.
add(AppException) - Method in interface hirondelle.web4j.model.MessageList
Add all AppResponseMessages attached to aAppEx to this list.
add(String) - Method in class hirondelle.web4j.model.MessageListImpl
 
add(String, Object...) - Method in class hirondelle.web4j.model.MessageListImpl
 
add(AppException) - Method in class hirondelle.web4j.model.MessageListImpl
 
addDynamicParameterToRedirectPage(String, String) - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Add a dynamic query parameter to the redirect ResponsePage.
addError(String) - Method in class hirondelle.web4j.action.ActionImpl
Add a simple AppResponseMessage describing a failed validation of user input, or a failed datastore operation.
addError(String, Object...) - Method in class hirondelle.web4j.action.ActionImpl
Add a compound AppResponseMessage describing a failed validation of user input, or a failed datastore operation.
addError(AppException) - Method in class hirondelle.web4j.action.ActionImpl
Add all the error messages attached to aEx.
addIdTo(Object[], Id) - Static method in class hirondelle.web4j.database.Db
Add an Id to a list of parameters already extracted from a Model Object.
addMessage(String) - Method in class hirondelle.web4j.action.ActionImpl
Add a simple AppResponseMessage, to be displayed to the end user.
addMessage(String, Object...) - Method in class hirondelle.web4j.action.ActionImpl
Add a compound AppResponseMessage, to be displayed to the end user.
addResponseTime(long, String) - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return a new PerformanceSnapshot whose state reflects an additional data point.
addToRequest(String, Object) - Method in class hirondelle.web4j.action.ActionImpl
Add a name-object pair to request scope.
addToSession(String, Object) - Method in class hirondelle.web4j.action.ActionImpl
Add a name-object pair to an existing session.
addWhere(String) - Method in class hirondelle.web4j.database.DynamicCriteria
Add a new dynamic criterion to the WHERE clause.
AlternatingRow - Class in hirondelle.web4j.ui.tag
Generate table rows which alternate in appearance, to increase legibility.
AlternatingRow() - Constructor for class hirondelle.web4j.ui.tag.AlternatingRow
 
appendQueryParam(String, String) - Method in class hirondelle.web4j.action.ResponsePage
Append a query parameter to the URL of a ResponsePage.
AppException - Exception in hirondelle.web4j.model
Base class for most exceptions defined by WEB4J.
AppException() - Constructor for exception hirondelle.web4j.model.AppException
 
AppException(String, Throwable) - Constructor for exception hirondelle.web4j.model.AppException
Constructor.
ApplicationFirewall - Interface in hirondelle.web4j.security
Perform hard validation on each incoming request.
ApplicationFirewallImpl - Class in hirondelle.web4j.security
Default implementation of ApplicationFirewall.
ApplicationFirewallImpl() - Constructor for class hirondelle.web4j.security.ApplicationFirewallImpl
 
ApplicationInfo - Interface in hirondelle.web4j
Static, descriptive information for a web application.
apply() - Method in class hirondelle.web4j.action.ActionTemplateShowAndApply
Validate the user input, and then apply an edit to the database.
AppResponseMessage - Class in hirondelle.web4j.model
Informative message presented to the end user.
areEqual(boolean, boolean) - Static method in class hirondelle.web4j.model.ModelUtil
Equals for boolean fields.
areEqual(char, char) - Static method in class hirondelle.web4j.model.ModelUtil
Equals for char fields.
areEqual(long, long) - Static method in class hirondelle.web4j.model.ModelUtil
Equals for long fields.
areEqual(float, float) - Static method in class hirondelle.web4j.model.ModelUtil
Equals for float fields.
areEqual(double, double) - Static method in class hirondelle.web4j.model.ModelUtil
Equals for double fields.
areEqual(Object, Object) - Static method in class hirondelle.web4j.model.ModelUtil
Equals for possibly-null object field.
Args - Class in hirondelle.web4j.util
Utility methods for common argument validations.
ASC - Static variable in class hirondelle.web4j.database.DynamicCriteria
Value - " ASC ", convenience value for building an ORDER BY clause.
asInteger() - Method in class hirondelle.web4j.model.Id
Return this id as an Integer, if possible.
asLong() - Method in class hirondelle.web4j.model.Id
Return this id as a Long, if possible.
asMap(List<V>, Class<K>, String) - Static method in class hirondelle.web4j.util.Util
Transform a List into a Map.
asNestedMap(Collection<Translation>) - Static method in class hirondelle.web4j.ui.translate.Translation
Return a Map having a structure typically needed for looking up translations.
attemptAdd() - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Attempt an INSERT operation on the database.
attemptChange() - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Attempt an UPDATE operation on the database.
attemptDelete() - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Attempt a DELETE operation on the database.
attemptFetchForChange() - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Attempt to fetch a single Model Object from the database, in preparation for editing it (SELECT operation).

B

BadRequestException - Exception in hirondelle.web4j.model
Thrown by ApplicationFirewall when a problem with an incoming HTTP request is detected.
BadRequestException(int) - Constructor for exception hirondelle.web4j.model.BadRequestException
Construct using a standard HTTP status code.
BadRequestException(int, String) - Constructor for exception hirondelle.web4j.model.BadRequestException
Construct using a standard HTTP status code and an error message to be presented to the user.
build(Class<T>, Object...) - Method in class hirondelle.web4j.model.ModelFromRequest
Return a Model Object constructed out of request parameters (and possibly other Java objects).
BuildImpl - Class in hirondelle.web4j
Return concrete instances of configured implementation classes.
buildLocale(String) - Static method in class hirondelle.web4j.util.Util
Return a Locale object by parsing aRawLocale.
buildTimeZone(String) - Static method in class hirondelle.web4j.util.Util
Return a TimeZone corresponding to a given String.
BUSINESS_RULE_FAILURE - Static variable in class hirondelle.web4j.database.TxTemplate
Value -1.

C

changeTimesDivDecimals(int) - Method in class hirondelle.web4j.model.Decimal
Override the default number of decimals retained in times and div operations.
CHARACTER_ENCODING - Static variable in class hirondelle.web4j.Controller
Identifies the application's character encoding, placed in application scope as a String upon startup.
Check - Class in hirondelle.web4j.model
Returns commonly needed Validator objects.
Check() - Constructor for class hirondelle.web4j.model.Check
This no-argument constructor is empty.
checkForContent(String, String) - Method in class hirondelle.web4j.ui.tag.TagHelper
Verify that an attribute value has content.
checkForContent(String) - Static method in class hirondelle.web4j.util.Args
If aText does not satisfy Util.textHasContent(java.lang.String), then throw an IllegalArgumentException.
checkForMatch(Pattern, String) - Static method in class hirondelle.web4j.util.Args
If Util.matches(java.util.regex.Pattern, java.lang.String) returns false, then throw an IllegalArgumentException.
checkForNull(Object) - Static method in class hirondelle.web4j.util.Args
If aObject is null, then throw a NullPointerException.
checkForPositive(int) - Static method in class hirondelle.web4j.util.Args
If aNumber is less than 1, then throw an IllegalArgumentException.
checkForRange(int, int, int) - Static method in class hirondelle.web4j.util.Args
If Util.isInRange(int, int, int) returns false, then throw an IllegalArgumentException.
Code - Class in hirondelle.web4j.model
An item in a code table.
Code(Id, SafeText, SafeText, SafeText, Integer) - Constructor for class hirondelle.web4j.model.Code
Full constructor.
Code(Id, SafeText) - Constructor for class hirondelle.web4j.model.Code
As in the full constructor, but without a short description, long description, or an order index.
Code(Id, SafeText, SafeText) - Constructor for class hirondelle.web4j.model.Code
As in the full constructor, but without a long description or order index.
Code(Id, SafeText, SafeText, SafeText) - Constructor for class hirondelle.web4j.model.Code
As in the full constructor, but without an order index.
compareTo(Decimal) - Method in class hirondelle.web4j.model.Decimal
Implements the Comparable interface.
compareTo(Id) - Method in class hirondelle.web4j.model.Id
 
compareTo(SafeText) - Method in class hirondelle.web4j.security.SafeText
 
compareTo(Translation) - Method in class hirondelle.web4j.ui.translate.Translation
 
ConnectionSource - Interface in hirondelle.web4j.database
Return a Connection to a database, using a policy defined by the application.
Consts - Class in hirondelle.web4j.util
Collected constants of general utility.
contains(Pattern, String) - Static method in class hirondelle.web4j.util.Util
Return true only if aText is non-null, and contains a substring that matches aPattern.
Controller - Class in hirondelle.web4j
Single point of entry for serving dynamic pages.
Controller() - Constructor for class hirondelle.web4j.Controller
 
convert(ResultSet, int, Class<T>) - Method in interface hirondelle.web4j.database.ConvertColumn
Translate a single column value of a ResultSet into a possibly-null 'building block' object.
convert(ResultSet, int, Class<T>) - Method in class hirondelle.web4j.database.ConvertColumnImpl
Defines policies for converting a column of a ResultSet into a possibly-null Object.
convert(String, Class<T>, Locale, TimeZone) - Method in interface hirondelle.web4j.model.ConvertParam
Convert a request parameter value into a building block object.
convert(String, Class<T>, Locale, TimeZone) - Method in class hirondelle.web4j.model.ConvertParamImpl
Apply reasonable parsing policies, suitable for most applications.
ConvertColumn - Interface in hirondelle.web4j.database
Convert ResultSet column values into common 'building block' objects.
ConvertColumnImpl - Class in hirondelle.web4j.database
Default implementation of ConvertColumn, suitable for most applications.
ConvertColumnImpl() - Constructor for class hirondelle.web4j.database.ConvertColumnImpl
 
ConvertParam - Interface in hirondelle.web4j.model
Convert request parameters into common 'building block' objects.
ConvertParamError - Interface in hirondelle.web4j.model
Instructs WEB4J how to respond to any errors found during parsing of raw user input into 'base' types such as Integer, Date, and so on.
ConvertParamImpl - Class in hirondelle.web4j.model
Default implementation of ConvertParam.
ConvertParamImpl() - Constructor for class hirondelle.web4j.model.ConvertParamImpl
 
copyFromSessionToRequest(String) - Method in class hirondelle.web4j.action.ActionImpl
Place an object which is in an existing session into request scope as well.
crossCheckAttributes() - Method in class hirondelle.web4j.ui.tag.ShowDate
 
crossCheckAttributes() - Method in class hirondelle.web4j.ui.tag.ShowForRole
One and only one of ShowForRole.setIfRole(java.lang.String) and ShowForRole.setIfRoleNot(java.lang.String) must be set.
crossCheckAttributes() - Method in class hirondelle.web4j.ui.tag.TagHelper
Perform validations that apply to more than one attribute.
crossCheckAttributes() - Method in class hirondelle.web4j.ui.translate.Text
Validate attributes against each other.
CsrfFilter - Class in hirondelle.web4j.security
Protect your application from a Cross Site Request Forgery (CSRF).
CsrfFilter() - Constructor for class hirondelle.web4j.security.CsrfFilter
 
CURRENT_URI - Static variable in class hirondelle.web4j.Controller
Identifies the URI for the current request, placed in request scope as a String.
customizeResultSet(int, int) - Method in class hirondelle.web4j.database.StoredProcedureTemplate
Change the properties of the default ResultSet, in exactly the same manner as Connection.prepareCall(java.lang.String, int, int).
customizeResultSet(int, int, int) - Method in class hirondelle.web4j.database.StoredProcedureTemplate
Change the properties of the default ResultSet, in exactly the same manner as Connection.prepareCall(java.lang.String, int, int, int).

D

DAOException - Exception in hirondelle.web4j.database
The only checked exception (excluding subclasses of this class) emitted by the data layer.
DAOException(String, Throwable) - Constructor for exception hirondelle.web4j.database.DAOException
Constructor.
DateConverter - Interface in hirondelle.web4j.request
Convert text into a Date object, and Date objects into text.
Db - Class in hirondelle.web4j.database
Utility class for the most common database tasks.
DbTx - Class in hirondelle.web4j.database
Version of Db for use in a transaction.
Decimal - Class in hirondelle.web4j.model
Represents a decimal amount.
Decimal(BigDecimal) - Constructor for class hirondelle.web4j.model.Decimal
Full constructor.
delete(SqlId, Id) - Static method in class hirondelle.web4j.database.Db
DELETE operation which takes a single Id parameter.
delete(Connection, SqlId, Id) - Static method in class hirondelle.web4j.database.DbTx
DELETE operation which takes a single Id parameter.
DESC - Static variable in class hirondelle.web4j.database.DynamicCriteria
Value - " DESC ", convenience value for building an ORDER BY clause.
destroy() - Method in class hirondelle.web4j.Controller
Log the name and version of the application.
destroy() - Method in class hirondelle.web4j.security.CsrfFilter
This implementation does nothing.
destroy() - Method in class hirondelle.web4j.security.SuppressUnwantedSessions
This implementation does nothing.
destroy() - Method in class hirondelle.web4j.webmaster.PerformanceMonitor
This implementation does nothing.
div(long) - Method in class hirondelle.web4j.model.Decimal
Divide this Decimal by an integral divisor.
div(Decimal) - Method in class hirondelle.web4j.model.Decimal
Divide this Decimal by an non-integral divisor.
div(double) - Method in class hirondelle.web4j.model.Decimal
Divide this Decimal by an non-integral divisor.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class hirondelle.web4j.security.CsrfFilter
Protect against CSRF attacks.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class hirondelle.web4j.security.SuppressUnwantedSessions
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class hirondelle.web4j.webmaster.PerformanceMonitor
Calculate server response time, and store relevant statistics in memory.
doGet(HttpServletRequest, HttpServletResponse) - Method in class hirondelle.web4j.Controller
Call Controller.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse).
doHardValidation(Action, RequestParser) - Method in interface hirondelle.web4j.security.ApplicationFirewall
Perform hard validation on each HTTP request.
doHardValidation(Action, RequestParser) - Method in class hirondelle.web4j.security.ApplicationFirewallImpl
Perform checks on the incoming request.
doList() - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Retrieve a listing of Model Objects from the database (SELECT operation).
doPost(HttpServletRequest, HttpServletResponse) - Method in class hirondelle.web4j.Controller
Call Controller.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse).
doTag() - Method in class hirondelle.web4j.ui.tag.TagHelper
Template method which calls TagHelper.getEmittedText(String).
DOUBLE_QUOTE - Static variable in class hirondelle.web4j.util.Consts
 
doubleValue() - Method in class hirondelle.web4j.model.Decimal
Required by Number.
DuplicateException - Exception in hirondelle.web4j.database
Thrown when a uniqueness problem occurs in the datastore during an ADD or CHANGE operation.
DuplicateException(String, Throwable) - Constructor for exception hirondelle.web4j.database.DuplicateException
Constructor.
DynamicCriteria - Class in hirondelle.web4j.database
Dynamic WHERE and ORDER BY clauses for SELECT operations.
DynamicCriteria(String, String) - Constructor for class hirondelle.web4j.database.DynamicCriteria
Constructor taking complete WHERE and ORDER BY clauses.
DynamicCriteria(String) - Constructor for class hirondelle.web4j.database.DynamicCriteria
Constructor taking only an ORDER BY clause.

E

edit(SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
INSERT, UPDATE, or DELETE operations which take parameters.
edit(Connection, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
INSERT, UPDATE, or DELETE operations which take parameters.
email() - Static method in class hirondelle.web4j.model.Check
Return a Validator to verify a String or SafeText field is a syntactically valid email address.
Emailer - Interface in hirondelle.web4j.webmaster
Send a simple email from the webmaster to a list of receivers.
EmailerImpl - Class in hirondelle.web4j.webmaster
Default implementation of Emailer.
EmailerImpl() - Constructor for class hirondelle.web4j.webmaster.EmailerImpl
 
EMPTY_STRING - Static variable in class hirondelle.web4j.util.Consts
 
endSession() - Method in class hirondelle.web4j.action.ActionImpl
If a session exists, then it is invalidated.
eq(Decimal) - Method in class hirondelle.web4j.model.Decimal
Equals (insensitive to number of decimals).
equals(Object) - Method in class hirondelle.web4j.action.ResponsePage
 
equals(Object) - Method in class hirondelle.web4j.database.DynamicCriteria
 
equals(Object) - Method in class hirondelle.web4j.database.SqlId
 
equals(Object) - Method in class hirondelle.web4j.model.AppResponseMessage
 
equals(Object) - Method in class hirondelle.web4j.model.Code
 
equals(Object) - Method in class hirondelle.web4j.model.Decimal
Equals (sensitive to number of decimals).
equals(Object) - Method in class hirondelle.web4j.model.Id
 
equals(Object) - Method in class hirondelle.web4j.request.RequestParameter
 
equals(Object) - Method in class hirondelle.web4j.security.SafeText
 
equals(Object) - Method in class hirondelle.web4j.ui.translate.Translation
 
equals(Object) - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
 
equalsFor(Object[], Object[]) - Static method in class hirondelle.web4j.model.ModelUtil
Return the result of comparing all significant fields.
ERRORS - Static variable in class hirondelle.web4j.action.ActionImpl
Value "web4j_key_for_errors" - identifies a MessageList, placed in session scope, to hold error information for the end user.
EscapeChars - Class in hirondelle.web4j.util
Convenience methods for escaping special characters related to HTML, XML, and regular expressions.
execute() - Method in interface hirondelle.web4j.action.Action
Execute desired operation.
execute() - Method in class hirondelle.web4j.action.ActionImpl
 
execute() - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Template method.
execute() - Method in class hirondelle.web4j.action.ActionTemplateSearch
Template method.
execute() - Method in class hirondelle.web4j.action.ActionTemplateShowAndApply
Template method.
execute() - Method in class hirondelle.web4j.database.StoredProcedureTemplate
Template method which calls StoredProcedureTemplate.executeStoredProc(java.sql.CallableStatement).
executeMultipleSqls(Connection) - Method in class hirondelle.web4j.database.TxTemplate
Execute multiple SQL operations in a single local transaction.
executeStoredProc(CallableStatement) - Method in class hirondelle.web4j.database.StoredProcedureTemplate
Perform the core task.
executeTx() - Method in interface hirondelle.web4j.database.Tx
Execute a database transaction, and return the number of edited records.
executeTx() - Method in class hirondelle.web4j.database.TxSimple
 
executeTx() - Method in class hirondelle.web4j.database.TxTemplate
Template method calls the abstract method TxTemplate.executeMultipleSqls(java.sql.Connection).

F

FAILS - Static variable in class hirondelle.web4j.util.Consts
Opposite of Consts.PASSES.
FAILURE - Static variable in class hirondelle.web4j.util.Consts
Opposite of Consts.SUCCESS.
fetch(Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation which returns a single Model Object.
fetch(Connection, Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
SELECT operation which returns a single Model Object.
fetchCompound(Class<T>, Class<?>, int, SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation which typically returns a single item with a 0..N relation.
fetchCompound(Connection, Class<T>, Class<?>, int, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
SELECT operation which typically returns a single item with a 0..N relation.
fetchValue(Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation which returns a single 'building block' value such as Integer, BigDecimal, and so on.
fetchValue(Connection, Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
SELECT operation which returns a single 'building block' value such as Integer, BigDecimal, and so on.
FILE_SEPARATOR - Static variable in class hirondelle.web4j.util.Consts
System property - file.separator
filter(String) - Method in interface hirondelle.web4j.model.ConvertParam
Apply a policy for parameter values which are null, empty, or equal to IgnorableParamValue in web.xml.
filter(String) - Method in class hirondelle.web4j.model.ConvertParamImpl
Coerce all parameters with no visible content to null.
findAttribute(String, HttpServletRequest) - Static method in class hirondelle.web4j.util.WebUtil
Find an attribute by searching request scope, session scope (if it exists), and application scope (in that order).
floatValue() - Method in class hirondelle.web4j.model.Decimal
Required by Number.
forAbstraction(String) - Static method in class hirondelle.web4j.BuildImpl
Map a fully-qualified aAbstractionName into a concrete implementation.
forAbstractionPassCtorArgs(String, List<Object>) - Static method in class hirondelle.web4j.BuildImpl
Map a fully-qualified aAbstractBaseClassName into a concrete implementation.
forApplicationFirewall() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of ApplicationFirewall.
forApplicationInfo() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of ApplicationInfo.
forCompound(String, Object...) - Static method in class hirondelle.web4j.model.AppResponseMessage
Compound message having parameters.
forConnectionSource() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of ConnectionSource.
forConvertColumn() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of ConvertColumn.
forConvertParam() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of ConvertParam.
forConvertParamError() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of ConvertParamError.
forDateConverter() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of DateConverter.
forEmailer() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of Emailer.
forFileUpload(String) - Static method in class hirondelle.web4j.request.RequestParameter
Constructor for a file upload request parameter.
forGapInActivity(PerformanceSnapshot) - Static method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return a PerformanceSnapshot having no activity.
forHrefAmpersand(String) - Static method in class hirondelle.web4j.util.EscapeChars
Escape all ampersand characters in a URL.
forHTML(String) - Static method in class hirondelle.web4j.util.EscapeChars
Escape characters for text appearing in HTML markup.
forLocaleSource() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of LocaleSource.
FORM_SOURCE_DAO_KEY - Static variable in class hirondelle.web4j.security.CsrfFilter
Key for item stored in session scope.
FORM_SOURCE_ID_KEY - Static variable in class hirondelle.web4j.security.CsrfFilter
Key for item stored in session scope, and also name of hidden request parameter added to POSTed forms.
FORMAT - Static variable in class hirondelle.web4j.database.SqlId
Format of SQL statement identifiers.
formatEyeFriendly(Date, Locale, TimeZone) - Method in interface hirondelle.web4j.request.DateConverter
Format a Date into an eye-friendly, legible format.
Formats - Class in hirondelle.web4j.request
Standard display formats for the application.
Formats(Locale, TimeZone) - Constructor for class hirondelle.web4j.request.Formats
Construct with a Locale and TimeZone to be applied to non-localized patterns.
formatted(Class<?>[], Locale, TimeZone, SqlId, DynamicCriteria, Object...) - Static method in class hirondelle.web4j.database.Report
Return column values after processing into formatted building block objects.
forPermittedCharacters() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of PermittedCharacters.
forRegex(String) - Static method in class hirondelle.web4j.util.EscapeChars
Replace characters having special meaning in regular expressions with their escaped equivalents, preceded by a '\' character.
forReplacementString(String) - Static method in class hirondelle.web4j.util.EscapeChars
Escape '$' and '\' characters in replacement strings.
forScriptTagsOnly(String) - Static method in class hirondelle.web4j.util.EscapeChars
Disable all <SCRIPT> tags in aText.
forSimple(String) - Static method in class hirondelle.web4j.model.AppResponseMessage
Simple message having no parameters.
forSpam() - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a String or SafeText field is not spam, according to SpamDetector.
forSpamDetector() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of SpamDetector.
forStartupTasks() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of StartupTasks.
forTimeZoneSource() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of TimeZoneSource.
forTranslator() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of Translator.
forURL(String) - Static method in class hirondelle.web4j.util.EscapeChars
Synonym for URLEncoder.encode(String, "UTF-8").
forXML(String) - Static method in class hirondelle.web4j.util.EscapeChars
Escape characters for text appearing as XML data, between tags.
from(String) - Static method in class hirondelle.web4j.model.Decimal
Convenience factory method.
from(String) - Static method in class hirondelle.web4j.model.Id
Factory method.
from(String) - Static method in class hirondelle.web4j.security.SafeText
Factory method.
fromStringId(String) - Static method in class hirondelle.web4j.database.SqlId
Factory method for building an SqlId from a String which may or may not be qualified by the database name.

G

get(Class<?>, String, RequestParameter) - Method in interface hirondelle.web4j.model.ConvertParamError
Return a ModelCtorException for a given parsing error, suitable for presentation to the end user.
get(HttpServletRequest) - Method in interface hirondelle.web4j.request.LocaleSource
Return a Locale corresponding to a given underlying request.
get(HttpServletRequest) - Method in class hirondelle.web4j.request.LocaleSourceImpl
See class comment.
get(HttpServletRequest) - Method in interface hirondelle.web4j.request.TimeZoneSource
Return a TimeZone corresponding to a given underlying request.
get(HttpServletRequest) - Method in class hirondelle.web4j.request.TimeZoneSourceImpl
See class comment.
get(String, Locale) - Method in interface hirondelle.web4j.ui.translate.Translator
Translate aBaseText into text appropriate for aLocale.
getAmount() - Method in class hirondelle.web4j.model.Decimal
Return the amount passed to the constructor.
getArrayAsString(Object) - Static method in class hirondelle.web4j.util.Util
Convenience method for producing a simple textual representation of an array.
getAuthor() - Method in interface hirondelle.web4j.ApplicationInfo
The author of this web application.
getAvgResponseTime() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return the average response time recorded during this snapshot.
getBaseText() - Method in class hirondelle.web4j.ui.translate.Translation
Return the base text passed to the constructor.
getBaseTextId() - Method in class hirondelle.web4j.ui.translate.Translation
Return the base text id passed to the constructor.
getBigDecimalDisplayFormat() - Method in class hirondelle.web4j.request.Formats
Return the format in which BigDecimals and Decimals are displayed in a form.
getBooleanDisplayText(Boolean) - Static method in class hirondelle.web4j.request.Formats
Return the text used to render boolean values in a report.
getBuildDate() - Method in interface hirondelle.web4j.ApplicationInfo
The date which this binary version of the web application was built.
getConnection() - Method in interface hirondelle.web4j.database.ConnectionSource
Return a Connection to the default database.
getConnection(String) - Method in interface hirondelle.web4j.database.ConnectionSource
Return a Connection for a specified database (default or non-default).
getDatabaseName() - Method in class hirondelle.web4j.database.SqlId
Return aDatabaseName passed to the constructor.
getDatabaseNames() - Method in interface hirondelle.web4j.database.ConnectionSource
Return the database names accepted by ConnectionSource.getConnection(String).
getDecimalInputFormat() - Method in class hirondelle.web4j.request.Formats
Return the regular expression for validating the format of numeric amounts input by the user, having a possible decimal portion, with any number of decimals.
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.AlternatingRow
For each TR tag found in the body, remove or update the class attribute.
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.HighlightCurrentPage
Alter any links in the tag body which refer to the current page.
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.Pager
See class comment.
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.Populate
Emit the possibly-changed body of this tag, by possibly populating all supported controls.
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.ShowDate
 
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.ShowForRole
See class comment.
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.TagHelper
Return the text this tag will display in the resulting web page.
getEmittedText(String) - Method in class hirondelle.web4j.ui.translate.Messages
Emit given template text for each item in the MessageList.
getEmittedText(String) - Method in class hirondelle.web4j.ui.translate.Text
See class comment.
getEmittedText(String) - Method in class hirondelle.web4j.ui.translate.TextFlow
Translate each piece of free flow text appearing in aOriginalBody.
getEmittedText(String) - Method in class hirondelle.web4j.ui.translate.Tooltips
Scan the body of this tag, and translate the values of all TITLE, ALT, and submit-button VALUE attributes.
getEmptyOrNullText() - Static method in class hirondelle.web4j.request.Formats
Return the text used to render empty or null values in a report.
getEndTime() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return the time that this snapshot will 'end'.
getErrorMessage() - Method in exception hirondelle.web4j.model.BadRequestException
Return the error message passed to the constructor.
getErrors() - Method in class hirondelle.web4j.action.ActionImpl
Return all the errors passed to all addError methods.
getExistingSession() - Method in class hirondelle.web4j.action.ActionImpl
Return the existing session.
getExposureTime() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return the exposure time in minutes, as passed to the constructor.
getFromSession(String) - Method in class hirondelle.web4j.action.ActionImpl
Retrieve an object from an existing session, or null if no object is paired with aName.
getId() - Method in class hirondelle.web4j.model.Code
Return the Id passed to the constructor.
getIdParam(RequestParameter) - Method in class hirondelle.web4j.action.ActionImpl
Convenience method for retrieving a parameter as a simple Id.
getIgnorableParamValue() - Static method in class hirondelle.web4j.model.ConvertParamImpl
Return the IgnorableParamValue configured in web.xml.
getImplicitMappingRemoveBasePackage() - Static method in class hirondelle.web4j.request.RequestParserImpl
Return the String configured in web.xml as being the base or root package that is to be ignored by the default Action mapping mechanism.
getInstance(HttpServletRequest, HttpServletResponse) - Static method in class hirondelle.web4j.request.RequestParser
Return the configured concrete instance of this Abstract Base Class.
getInt() - Method in enum hirondelle.web4j.database.TxIsolationLevel
Return the same underlying int value used by Connection to identify the isolation level.
getIntegerReportDisplayFormat() - Method in class hirondelle.web4j.request.Formats
Return the format in which integer amounts are displayed in a report.
getIsDisplayable() - Method in exception hirondelle.web4j.model.AppException
 
getIsDisplayable() - Method in interface hirondelle.web4j.model.MessageList
Return true only if messages exist and MessageList.getMessagesForSingleDisplay() has not yet been called.
getIsDisplayable() - Method in class hirondelle.web4j.model.MessageListImpl
 
getIsRedirect() - Method in class hirondelle.web4j.action.ResponsePage
See class comment.
getLink() - Method in interface hirondelle.web4j.ApplicationInfo
URL for more information regarding this application.
getLocale() - Method in class hirondelle.web4j.action.ActionImpl
Return the Locale associated with the underlying request.
getLocale() - Method in class hirondelle.web4j.request.Formats
Return the Locale passed to the constructor.
getLocale() - Method in class hirondelle.web4j.ui.translate.Translation
Return the locale passed to the constructor.
getLocaleId() - Method in class hirondelle.web4j.ui.translate.Translation
Return the locale id passed to the constructor.
getLoggedInUserName() - Method in class hirondelle.web4j.action.ActionImpl
Return the name of the logged in user.
getLogger(Class<?>) - Static method in class hirondelle.web4j.util.Util
Return a Logger whose name follows a specific naming convention.
getLongText() - Method in class hirondelle.web4j.model.Code
Return the Long Text passed to the constructor.
getMaxResponseTime() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return the maximum response time recorded during this snapshot.
getMessage() - Method in interface hirondelle.web4j.ApplicationInfo
A general message of arbitrary content.
getMessage(Locale, TimeZone) - Method in class hirondelle.web4j.model.AppResponseMessage
Return either the 'simple text' or the formatted pattern with all parameter data rendered, according to which factory method was called.
getMessages() - Method in class hirondelle.web4j.action.ActionImpl
Return all messages passed to all addMessage methods
getMessages() - Method in exception hirondelle.web4j.model.AppException
 
getMessages() - Method in interface hirondelle.web4j.model.MessageList
Return an unmodifiable List of AppResponseMessages.
getMessages() - Method in class hirondelle.web4j.model.MessageListImpl
 
getMessagesForSingleDisplay() - Method in exception hirondelle.web4j.model.AppException
 
getMessagesForSingleDisplay() - Method in interface hirondelle.web4j.model.MessageList
Render the messages in a JSP.
getMessagesForSingleDisplay() - Method in class hirondelle.web4j.model.MessageListImpl
 
getName() - Method in interface hirondelle.web4j.ApplicationInfo
The name of this web application.
getName() - Method in class hirondelle.web4j.request.RequestParameter
Return the request parameter name.
getNumDecimals() - Method in class hirondelle.web4j.model.Decimal
Return the number of decimals in this value.
getNumRequests() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return the number of server requests this snapshot has recorded.
getOperation() - Method in class hirondelle.web4j.action.ActionImpl
Return the Operation associated with this Action, if any.
getOrderBy(RequestParameter, RequestParameter, String) - Method in class hirondelle.web4j.action.ActionImpl
Return an ORDER BY clause for an SQL statement.
getOrderIdx() - Method in class hirondelle.web4j.model.Code
Return the Order Index passed to the constructor.
getOriginalRequestURL(HttpServletRequest, HttpServletResponse) - Static method in class hirondelle.web4j.util.WebUtil
Return the original, complete URL submitted by the browser.
getPageContext() - Method in class hirondelle.web4j.ui.tag.TagHelper
Return the underlying PageContext.
getPageName() - Method in class hirondelle.web4j.ui.tag.TagHelper
Return the name of the JSP implementation class.
getParam(RequestParameter) - Method in class hirondelle.web4j.action.ActionImpl
Convenience method for retrieving a parameter as SafeText.
getParams() - Method in class hirondelle.web4j.model.AppResponseMessage
Return an unmodifiable List corresponding to the aParams passed to the constructor.
getParamUnsafe(RequestParameter) - Method in class hirondelle.web4j.action.ActionImpl
Convenience method for retrieving a parameter as raw text, with no escaped characters.
getPatternFromList(List<?>) - Static method in class hirondelle.web4j.util.Util
Create a Pattern corresponding to a List.
getPerformanceHistory() - Static method in class hirondelle.web4j.webmaster.PerformanceMonitor
Return statistics on recent application performance.
getRawParamValue(RequestParameter) - Method in class hirondelle.web4j.request.RequestParser
Return the parameter value exactly as it appears in the request.
getRawParamValues(RequestParameter) - Method in class hirondelle.web4j.request.RequestParser
Return a multi-valued parameter's values exactly as they appear in the request.
getRawString() - Method in class hirondelle.web4j.model.Id
Return the text passed to the constructor.
getRawString() - Method in class hirondelle.web4j.security.SafeText
Return the (trimmed) text passed to the constructor.
getRegex() - Method in class hirondelle.web4j.request.RequestParameter
Return the regular expression associated with this RequestParameter.
getRequest() - Method in class hirondelle.web4j.request.RequestParser
Return the underlying request.
getRequest() - Method in class hirondelle.web4j.ui.tag.TagHelper
Return the underlying HttpServletRequest.
getRequestParser() - Method in class hirondelle.web4j.action.ActionImpl
Return the RequestParser passed to the constructor.
getResponse() - Method in class hirondelle.web4j.request.RequestParser
Return the response associated with the underlying request.
getResponse() - Method in class hirondelle.web4j.ui.tag.TagHelper
Return the underlying HttpServletResponse.
getResponsePage() - Method in class hirondelle.web4j.action.ActionImpl
Return the resource which will render the final result.
getRoundingStyle() - Static method in class hirondelle.web4j.model.Decimal
Return the rounding style passed to the init method.
getShortText() - Method in class hirondelle.web4j.model.Code
Return the Short Text passed to the constructor.
getStatementName() - Method in class hirondelle.web4j.database.SqlId
Return aStatementName passed to the constructor.
getStatusCode() - Method in exception hirondelle.web4j.model.BadRequestException
Return the status code passed to the constructor.
getText() - Method in class hirondelle.web4j.model.Code
Return the Text passed to the constructor.
getText() - Method in class hirondelle.web4j.ui.translate.Translation.LookupResult
Return the text of the successful translation.
getTimesDivDecimals() - Method in class hirondelle.web4j.model.Decimal
Return the number of decimals to be retained by times and div operations.
getTimesDivDecimalsDefault() - Static method in class hirondelle.web4j.model.Decimal
Return the number of decimals passed to the init method.
getTimeZone() - Method in class hirondelle.web4j.action.ActionImpl
Return the TimeZone associated with the underlying request.
getTimeZone() - Method in class hirondelle.web4j.request.Formats
Return a TimeZone of the same id as the one passed to the constructor.
getTranslation() - Method in class hirondelle.web4j.ui.translate.Translation
Return the localized translation passed to the constructor.
getURLWithMaxResponseTime() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Return the URL of the request responsible for PerformanceSnapshot.getMaxResponseTime().
getURLWithQueryString(HttpServletRequest) - Static method in class hirondelle.web4j.util.WebUtil
Return HttpServletRequest.getRequestURL(), optionally concatenated with ? and HttpServletRequest.getQueryString().
getVersion() - Method in interface hirondelle.web4j.ApplicationInfo
The version of this web application.
getWebAction() - Method in class hirondelle.web4j.request.RequestParser
Map a given request to a corresponding Action.
getWebAction() - Method in class hirondelle.web4j.request.