Version 4.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
 
addCsrfToken(HttpServletRequest) - Method in class hirondelle.web4j.security.CsrfFilter
Add a CSRF token to an existing session that has no user login.
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.
adHocImplementationAdd(Class, Class) - Static method in class hirondelle.web4j.BuildImpl
Add an implementation - intended for testing only.
adHocImplementationRemove(Class) - Static method in class hirondelle.web4j.BuildImpl
Remove an implementation - intended for testing only.
ALL_OPERATIONS - Static variable in class hirondelle.web4j.security.UntrustedProxyForUserIdImpl
Special character denoting all operations/verbs.
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
 
AND - Static variable in class hirondelle.web4j.database.DynamicSql
Value - " AND ", convenience value for building a WHERE clause.
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
No-argument constructor.
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 an Object.
Args - Class in hirondelle.web4j.util
Utility methods for common argument validations.
ASC - Static variable in class hirondelle.web4j.database.DynamicSql
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

changeTimeZone(TimeZone, TimeZone) - Method in class hirondelle.web4j.model.DateTime
Return a DateTime corresponding to a change from one TimeZone to another.
CHARACTER_ENCODING - Static variable in class hirondelle.web4j.Controller
Key name for 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.
comparePossiblyNull(T, T, ModelUtil.NullsGo) - Static method in class hirondelle.web4j.model.ModelUtil
Utility for implementing Comparable.
compareTo(DateTime) - Method in class hirondelle.web4j.model.DateTime
Compare this object to another, for ordering purposes.
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.
createSessionAndCsrfToken() - Method in class hirondelle.web4j.action.ActionImpl
Create a new session (if one doesn't already exist) outside of the usual user login, and add a CSRF token to the new session to defend against Cross-Site Request Forgery (CSRF) attacks.
crossCheckAttributes() - Method in class hirondelle.web4j.ui.tag.ShowDate
 
crossCheckAttributes() - Method in class hirondelle.web4j.ui.tag.ShowDateTime
 
crossCheckAttributes() - Method in class hirondelle.web4j.ui.tag.ShowForRole
One and only one of the ShowForRole.setIfRole(java.lang.String), ShowForRole.setIfRoleNot(java.lang.String), or ShowForRole.setIfLoggedIn(String) attributes 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
Key name for the URI for the current request, placed in request scope as a String.
currentTimeMillis() - Method in interface hirondelle.web4j.util.TimeSource
Return the possibly-fake system time, in milliseconds.
currentTimeMillis() - Method in class hirondelle.web4j.util.TimeSourceImpl
Return System.currentTimeMillis(), with no alteration.
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.
DATA - Static variable in class hirondelle.web4j.action.ActionImpl
Value "data" - generic key for a single 'data' object placed in scope for a JSP.
DateConverter - Interface in hirondelle.web4j.request
Convert text into a DateTime or Date object, and vice versa.
DateTime - Class in hirondelle.web4j.model
Building block class for an immutable date-time, with no time zone.
DateTime(String) - Constructor for class hirondelle.web4j.model.DateTime
Constructor taking a date-time as a String.
DateTime(Integer, Integer, Integer, Integer, Integer, Integer, Integer) - Constructor for class hirondelle.web4j.model.DateTime
Constructor taking each time unit explicitly.
DateTime.DayOverflow - Enum in hirondelle.web4j.model
Policy for treating 'day-of-the-month overflow' conditions encountered during some date calculations.
DateTime.Unit - Enum in hirondelle.web4j.model
The seven parts of a DateTime object.
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
Represent an immutable number, using a natural, compact syntax.
Decimal(BigDecimal) - Constructor for class hirondelle.web4j.model.Decimal
Constructor.
delete(SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
DELETE operation which takes parameters.
delete(Connection, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
DELETE operation which takes parameters.
DESC - Static variable in class hirondelle.web4j.database.DynamicSql
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(Decimal) - Method in class hirondelle.web4j.model.Decimal
Divide this Decimal by a divisor.
div(long) - Method in class hirondelle.web4j.model.Decimal
 
div(double) - Method in class hirondelle.web4j.model.Decimal
 
doDelete(HttpServletRequest, HttpServletResponse) - Method in class hirondelle.web4j.Controller
Call Controller.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse).
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).
doPut(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 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.
DynamicSql - Class in hirondelle.web4j.database
Dynamic SQL statement created in code.
DynamicSql(String) - Constructor for class hirondelle.web4j.database.DynamicSql
Constructor.
DynamicSql(StringBuilder) - Constructor for class hirondelle.web4j.database.DynamicSql
Convenience constructor, forwards to DynamicSql.DynamicSql(String).

E

E - Static variable in class hirondelle.web4j.model.Decimal
An approximation to Euler's number, to 15 decimal places.
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).
eq(long) - Method in class hirondelle.web4j.model.Decimal
 
eq(double) - Method in class hirondelle.web4j.model.Decimal
 
equals(Object) - Method in class hirondelle.web4j.action.ResponsePage
 
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.DateTime
Equals method for this object.
equals(Object) - Method in class hirondelle.web4j.model.Decimal
Equals, sensitive to scale of the underlying BigDecimal.
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.
FetchIdentifierOwner - Interface in hirondelle.web4j.security
Look up the login name of the user who owns an untrusted identifer.
fetchOwner() - Method in interface hirondelle.web4j.security.FetchIdentifierOwner
Return the user login name of the user that 'owns' the untrusted proxy for the user id used in the current request.
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.
forDateOnly(Integer, Integer, Integer) - Static method in class hirondelle.web4j.model.DateTime
Factory method returns a DateTime having year-month-day only, with no time portion.
ForeignKeyException - Exception in hirondelle.web4j.database
Thrown when a violation of a foreign key constraint occurs in the datastore during an ADD, CHANGE, or DELETE operation.
ForeignKeyException(String, Throwable) - Constructor for exception hirondelle.web4j.database.ForeignKeyException
Constructor.
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.
forInstant(long, TimeZone) - Static method in class hirondelle.web4j.model.DateTime
Constructor taking a millisecond value and a TimeZone.
forInstantNanos(long, TimeZone) - Static method in class hirondelle.web4j.model.DateTime
Constructor taking a nanosecond value and a TimeZone.
forJSON(String) - Static method in class hirondelle.web4j.util.EscapeChars
Escapes characters for text appearing as data in the Javascript Object Notation (JSON) data interchange format.
forLocaleSource() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of LocaleSource.
forLoginTasks() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of LoginTasks.
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.
format(String) - Method in class hirondelle.web4j.model.DateTime
Output this DateTime as a formatted String using numbers, with no localizable text.
format(String, Locale) - Method in class hirondelle.web4j.model.DateTime
Output this DateTime as a formatted String using numbers and/or localizable text.
format(String, List<String>, List<String>, List<String>) - Method in class hirondelle.web4j.model.DateTime
Output this DateTime as a formatted String using numbers and explicit text for months, weekdays, and AM/PM indicator.
formatEyeFriendly(Date, Locale, TimeZone) - Method in interface hirondelle.web4j.request.DateConverter
Format a Date into an eye-friendly, legible format.
formatEyeFriendlyDateTime(DateTime, Locale) - Method in interface hirondelle.web4j.request.DateConverter
Format a DateTime 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, DynamicSql, Object...) - Static method in class hirondelle.web4j.database.Report
Return column values after processing into formatted building block objects.
forOwnershipFirewall() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of UntrustedProxyForUserId.
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.
forTimeOnly(Integer, Integer, Integer, Integer) - Static method in class hirondelle.web4j.model.DateTime
Factory method returns a DateTime having hour-minute-second-nanosecond only, with no date portion.
forTimeSource() - Static method in class hirondelle.web4j.BuildImpl
Return the configured implementation of TimeSource.
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(long) - Static method in class hirondelle.web4j.model.Decimal
Convenience factory method.
from(double) - 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 as a BigDecimal.
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).
getDay() - Method in class hirondelle.web4j.model.DateTime
Return the Day of the Month, 1..31.
getDayOfYear() - Method in class hirondelle.web4j.model.DateTime
Return an integer in the range 1..366, representing a count of the number of days from the start of the year.
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 editing supported form controls contained in the body of this tag.
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.ShowDate
 
getEmittedText(String) - Method in class hirondelle.web4j.ui.tag.ShowDateTime
 
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.
getEndOfDay() - Method in class hirondelle.web4j.model.DateTime
Return this DateTime with the time portion coerced to '23:59:59.999999999'.
getEndOfMonth() - Method in class hirondelle.web4j.model.DateTime
Return this DateTime with the time portion coerced to '23:59:59.999999999', and the day coerced to the end of the month.
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.
getFileExtension(String) - Static method in class hirondelle.web4j.util.WebUtil
Returns the 'file extension' for a given URL.
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.
getHour() - Method in class hirondelle.web4j.model.DateTime
Return the Hour, 0..23.
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.
getIdParams(RequestParameter) - Method in class hirondelle.web4j.action.ActionImpl
Convenience method for retrieving a multivalued parameter as a simple Collection<Id>.
getIgnorableParamValue() - 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.
getIsRedirect() - Method in class hirondelle.web4j.action.ResponsePage
See class comment.
getJsonSafe() - Method in class hirondelle.web4j.security.SafeText
Return the text in a form safe for JSON (JavaScript Object Notation) data.
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
 
getMilliseconds(TimeZone) - Method in class hirondelle.web4j.model.DateTime
For the given time zone, return the corresponding time in milliseconds-since-epoch for this DateTime.
getMinute() - Method in class hirondelle.web4j.model.DateTime
Return the Minute, 0..59.
getModifiedJulianDayNumber() - Method in class hirondelle.web4j.model.DateTime
Return the Modified Julian Day Number.
getMonth() - Method in class hirondelle.web4j.model.DateTime
Return the Month, 1..12.
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.
getNanoseconds() - Method in class hirondelle.web4j.model.DateTime
Return the Nanosecond, 0..999999999.
getNanosecondsInstant(TimeZone) - Method in class hirondelle.web4j.model.DateTime
For the given time zone, return the corresponding time in nanoseconds-since-epoch for this DateTime.
getNumDaysInMonth() - Method in class hirondelle.web4j.model.DateTime
Return the number of days in the month which holds this DateTime.
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.
getPrecision() - Method in class hirondelle.web4j.model.DateTime
Return the smallest non-null time unit encapsulated by this DateTime.
getRawDateString() - Method in class hirondelle.web4j.model.DateTime
Return the raw date-time String passed to the DateTime.DateTime(String) constructor.
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.
getSecond() - Method in class hirondelle.web4j.model.DateTime
Return the Second, 0..59.
getShortText() - Method in class hirondelle.web4j.model.Code
Return the Short Text passed to the constructor.
getStartOfDay() - Method in class hirondelle.web4j.model.DateTime
Return this DateTime with the time portion coerced to '00:00:00.000000000'.
getStartOfMonth() - Method in class hirondelle.web4j.model.DateTime
Return this DateTime with the time portion coerced to '00:00:00.000000000', and the day coerced to 1.
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.
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().
getUserId() - Method in class hirondelle.web4j.action.ActionImpl
Return the Id stored in session scope under the key ActionImpl.USER_ID.
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.RequestParserImpl
Map an HTTP request to a concrete implementation of Action.
getWeekDay() - Method in class hirondelle.web4j.model.DateTime
Return an index for the weekday for this DateTime.
getWeekIndex(DateTime) - Method in class hirondelle.web4j.model.DateTime
Return The week index of this DateTime with respect to a given starting DateTime.
getWeekIndex() - Method in class hirondelle.web4j.model.DateTime
Return The week index of this DateTime, taking day 1 of week 1 as Sunday, January 2, 2000.
getXmlSafe() - Method in class hirondelle.web4j.model.Id
Return the text with special XML characters esacped.
getXmlSafe() - Method in class hirondelle.web4j.security.SafeText
Return the text in a form safe for an XML element.
getYear() - Method in class hirondelle.web4j.model.DateTime
Return the year, 1..9999.
gt(DateTime) - Method in class hirondelle.web4j.model.DateTime
'Greater than' comparison.
gt(Decimal) - Method in class hirondelle.web4j.model.Decimal
Greater than.
gt(long) - Method in class hirondelle.web4j.model.Decimal
 
gt(double) - Method in class hirondelle.web4j.model.Decimal
 
gteq(DateTime) - Method in class hirondelle.web4j.model.DateTime
'Greater than or equal to' comparison.
gteq(Decimal) - Method in class hirondelle.web4j.model.Decimal
Greater than or equal to.
gteq(long) - Method in class hirondelle.web4j.model.Decimal
 
gteq(double) - Method in class hirondelle.web4j.model.Decimal
 

H

hasAlreadyReacted(HttpSession) - Method in interface hirondelle.web4j.security.LoginTasks
Return true only if the user login has already been processed by LoginTasks.reactToUserLogin(HttpSession, HttpServletRequest).
hasBinaryData() - Method in class hirondelle.web4j.action.ResponsePage
Return true only if ResponsePage.withBinaryData() was called.
hasErrors() - Method in class hirondelle.web4j.action.ActionImpl
Return true only if at least one addError method has been called.
hash(int, boolean) - Static method in class hirondelle.web4j.model.ModelUtil
Hash code for boolean primitives.
hash(int, char) - Static method in class hirondelle.web4j.model.ModelUtil
Hash code for char primitives.
hash(int, int) - Static method in class hirondelle.web4j.model.ModelUtil
Hash code for int primitives.
hash(int, long) - Static method in class hirondelle.web4j.model.ModelUtil
Hash code for long primitives.
hash(int, float) - Static method in class hirondelle.web4j.model.ModelUtil
Hash code for float primitives.
hash(int, double) - Static method in class hirondelle.web4j.model.ModelUtil
Hash code for double primitives.
hash(int, Object) - Static method in class hirondelle.web4j.model.ModelUtil
Hash code for an Object.
HASH_SEED - Static variable in class hirondelle.web4j.model.ModelUtil
Initial seed value for a hashCode.
hashCode() - Method in class hirondelle.web4j.action.ResponsePage
 
hashCode() - Method in class hirondelle.web4j.database.SqlId
 
hashCode() - Method in class hirondelle.web4j.model.AppResponseMessage
 
hashCode() - Method in class hirondelle.web4j.model.Code
 
hashCode() - Method in class hirondelle.web4j.model.DateTime
Hash code for this object.
hashCode() - Method in class hirondelle.web4j.model.Decimal
 
hashCode() - Method in class hirondelle.web4j.model.Id
 
hashCode() - Method in class hirondelle.web4j.request.RequestParameter
 
hashCode() - Method in class hirondelle.web4j.security.SafeText
 
hashCode() - Method in class hirondelle.web4j.ui.translate.Translation
 
hashCode() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
 
hashCodeFor(Object...) - Static method in class hirondelle.web4j.model.ModelUtil
Return the hash code in a single step, using all significant fields passed in an Object sequence parameter.
hasHourMinuteSecond() - Method in class hirondelle.web4j.model.DateTime
Return true only if this DateTime has a non-null values for hour, minute, and second.
hasMaxDecimals(BigDecimal, int) - Static method in class hirondelle.web4j.util.Util
Return true only if the number of decimal places in aAmount is in the range 0..aMaxNumDecimalPlaces (inclusive).
hasMaxDecimals(Decimal, int) - Static method in class hirondelle.web4j.util.Util
Return true only if the number of decimal places in aAmount is in the range 0..aMaxNumDecimalPlaces (inclusive).
hasNumDecimals(BigDecimal, int) - Static method in class hirondelle.web4j.util.Util
Return true only if aAmount has exactly the number of specified decimals.
hasNumDecimals(Decimal, int) - Static method in class hirondelle.web4j.util.Util
Return true only if aAmount has exactly the number of specified decimals.
hasSideEffects() - Method in enum hirondelle.web4j.action.Operation
Returns true only if this Operation isDataStoreEdit(), or is Operation.Start or Operation.Stop.
hasSucceeded() - Method in class hirondelle.web4j.ui.translate.Translation.LookupResult
Returns true only if a specific translation exists for BaseText and Locale.
hasYearMonthDay() - Method in class hirondelle.web4j.model.DateTime
Return true only if this DateTime has a non-null values for year, month, and day.
HighlightCurrentPage - Class in hirondelle.web4j.ui.tag
Suppress self-linking anchor tags (links), where a link has the current page as its destination.
HighlightCurrentPage() - Constructor for class hirondelle.web4j.ui.tag.HighlightCurrentPage
 
hirondelle.web4j - package hirondelle.web4j
Important items which apply to the whole application.
hirondelle.web4j.action - package hirondelle.web4j.action
Execute the desired operation.
hirondelle.web4j.database - package hirondelle.web4j.database
Interaction with the database(s).
hirondelle.web4j.model - package hirondelle.web4j.model
Tools for building business domain Model Objects (MOs).
hirondelle.web4j.request - package hirondelle.web4j.request
Items related to the underlying HTTP request.
hirondelle.web4j.security - package hirondelle.web4j.security
Tools for making your web application more secure.
hirondelle.web4j.ui.tag - package hirondelle.web4j.ui.tag
Custom JSP tags of general utility.
hirondelle.web4j.ui.translate - package hirondelle.web4j.ui.translate
Translation of text for multilingual applications.
hirondelle.web4j.util - package hirondelle.web4j.util
General utility classes, useful for many applications.
hirondelle.web4j.webmaster - package hirondelle.web4j.webmaster
Administrative items for support staff.

I

Id - Class in hirondelle.web4j.model
Building block class for identifiers.
Id(String) - Constructor for class hirondelle.web4j.model.Id
Construct an identifier using an arbitrary String.
init(Map<String, String>) - Static method in class hirondelle.web4j.BuildImpl
Called by the framework upon startup.
init(ServletConfig) - Method in class hirondelle.web4j.Controller
Perform operations to be executed only upon startup of this application, and not during its regular operation.
init(Map<String, String>) - Method in interface hirondelle.web4j.database.ConnectionSource
Read in any necessary configuration parameters.
init() - Static method in class hirondelle.web4j.security.ApplicationFirewallImpl
Map actions to expected params.
init(FilterConfig) - Method in class hirondelle.web4j.security.CsrfFilter
Read in filter configuration.
init(FilterConfig) - Method in class hirondelle.web4j.security.SuppressUnwantedSessions
This implementation does nothing.
init(ServletConfig) - Static method in class hirondelle.web4j.util.WebUtil
Called only upon startup, by the framework.
init(FilterConfig) - Method in class hirondelle.web4j.webmaster.PerformanceMonitor
Read in the configuration of this filter from web.xml.
init(ServletConfig) - Static method in class hirondelle.web4j.webmaster.TroubleTicket
Called by the framework upon startup, to save the name of the server (Servlet 3.0 wouldn't need this).
initDatabaseLayer(Map<String, String>) - Static method in class hirondelle.web4j.BuildImpl
Intended for contexts outside of normal servlet operation, where the caller wants to use the web4j database and model layer only.
initStandalone(Map<String, String>, List<String>) - Static method in class hirondelle.web4j.database.Db
Initialize the web4j database layer only.
initWebActionMappings() - Static method in class hirondelle.web4j.request.RequestParserImpl
Scan for Action mappings.
intValue() - Method in class hirondelle.web4j.model.Decimal
Required by Number.
isDatastoreEdit() - Method in enum hirondelle.web4j.action.Operation
Return true only if this Operation represents an action which has edited the datastore : Operation.Add, Operation.Change, Operation.Delete, Operation.DeleteAll, Operation.Save, Operation.Apply, Operation.Inactivate, or Operation.Activate.
isEmpty() - Method in exception hirondelle.web4j.model.AppException
 
isEmpty() - Method in interface hirondelle.web4j.model.MessageList
Return true only if there are no messages in this list.
isEmpty() - Method in class hirondelle.web4j.model.MessageListImpl
 
isEscaped(int) - Static method in class hirondelle.web4j.security.SafeText
Returns true only if the given character is always escaped by SafeText.toString().
isFalse(Boolean...) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that all passed booleans are false.
isFileUploadParameter() - Method in class hirondelle.web4j.request.RequestParameter
Return true only if RequestParameter.forFileUpload(java.lang.String) was used to build this object.
isFileUploadRequest() - Method in class hirondelle.web4j.request.RequestParser
Return true only if the request is a POST, and has content type starting with multipart/form-data.
isInRange(int, int, int) - Static method in class hirondelle.web4j.util.Util
Return true only if aNumber is in the range aLow..aHigh (inclusive).
isInteger() - Method in class hirondelle.web4j.model.Decimal
Return true only if this Decimal is an integer.
isInTheFuture(TimeZone) - Method in class hirondelle.web4j.model.DateTime
Return true only if this date is in the future, with respect to DateTime.now(TimeZone).
isInThePast(TimeZone) - Method in class hirondelle.web4j.model.DateTime
Return true only if this date is in the past, with respect to DateTime.now(TimeZone).
isLeapYear() - Method in class hirondelle.web4j.model.DateTime
Returns true only if the year is a leap year.
isMinus() - Method in class hirondelle.web4j.model.Decimal
Return true only if the amount is negative.
isNotEmpty() - Method in exception hirondelle.web4j.model.AppException
 
isNotEmpty() - Method in interface hirondelle.web4j.model.MessageList
Return the negation of MessageList.isEmpty().
isNotEmpty() - Method in class hirondelle.web4j.model.MessageListImpl
 
isParseable(String) - Static method in class hirondelle.web4j.model.DateTime
Return true only if the given String follows one of the formats documented by DateTime.DateTime(String).
isPermitted(int) - Method in interface hirondelle.web4j.security.PermittedCharacters
Return true only if the given character is to be permitted by SafeText.
isPermitted(int) - Method in class hirondelle.web4j.security.PermittedCharactersImpl
See class comment.
isPlus() - Method in class hirondelle.web4j.model.Decimal
Return true only if the amount is positive.
isSameDayAs(DateTime) - Method in class hirondelle.web4j.model.DateTime
Return true only if this DateTime has the same year-month-day as the given parameter.
isSelfLinkingByHref(String, String) - Method in class hirondelle.web4j.ui.tag.HighlightCurrentPage
Determine if self-linking is present, using the current URI and the link's HREF target.
isSelfLinkingByTitle(String, String) - Method in class hirondelle.web4j.ui.tag.HighlightCurrentPage
Determine if self-linking is present, using the link text and the TTitle request parameter.
isSpam(String) - Method in interface hirondelle.web4j.security.SpamDetector
Determine if the given text is very likely spam.
isSpam(String) - Method in class hirondelle.web4j.security.SpamDetectorImpl
See class comment.
isSuccess(int) - Static method in class hirondelle.web4j.util.Util
Return true only if aNumEdits is greater than 0.
isSupported(Class<?>) - Method in interface hirondelle.web4j.model.ConvertParam
Determine if aTargetClass is a supported building block class.
isSupported(Class<?>) - Method in class hirondelle.web4j.model.ConvertParamImpl
Return true only if aTargetClass is supported by this implementation.
isTrue(Boolean...) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that all passed booleans are true.
isValid(Object) - Method in interface hirondelle.web4j.model.Validator
Return true only if aObject passes this validation.
isValidEmailAddress(String) - Static method in class hirondelle.web4j.util.WebUtil
Validate the form of an email address.
isValidParamValue(String) - Method in class hirondelle.web4j.request.RequestParameter
Return true only if aRawParamValue satisfies the regular expression RequestParameter.getRegex(), or if this is a file upload request parameter.
isZero() - Method in class hirondelle.web4j.model.Decimal
Return true only if the amount is zero.
isZeroMoney(BigDecimal) - Static method in class hirondelle.web4j.util.Util
Return true only if aMoney equals 0 or 0.00.
ITEM_FOR_EDIT - Static variable in class hirondelle.web4j.action.ActionImpl
Value "itemForEdit" - generic key for an object placed in scope for a JSP.
ITEMS_FOR_LISTING - Static variable in class hirondelle.web4j.action.ActionImpl
Value "itemsForListing" - generic key for a collection of objects placed in scope for a JSP.

K

KEY - Static variable in interface hirondelle.web4j.ApplicationInfo
Key for the ApplicationInfo object placed in application scope.

L

list(Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation which returns 0..N Model Objects, one per row.
list(Connection, Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
SELECT operation which returns 0..N Model Objects, one per row.
listCompound(Class<T>, Class<?>, int, SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation which typically returns mutliple items item with a 0..N relation.
listCompound(Connection, Class<T>, Class<?>, int, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
SELECT operation which typically returns mutliple items item with a 0..N relation.
listRange(Class<T>, SqlId, Integer, Integer, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation that returns a List of Model Objects "subsetted" to a particular range of rows.
listRange(Connection, Class<T>, SqlId, Integer, Integer, Object...) - Static method in class hirondelle.web4j.database.DbTx
SELECT operation that returns a List of Model Objects "subsetted" to a particular range of rows.
listSearchResults() - Method in class hirondelle.web4j.action.ActionTemplateSearch
Query the database, and place the results (usually) into request scope.
listValues(Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation which returns a List of 'building block' values such as Integer, BigDecimal, and so on.
listValues(Connection, Class<T>, SqlId, Object...) - Static method in class hirondelle.web4j.database.DbTx
SELECT operation which returns a List of 'building block' values such as Integer, BigDecimal, and so on.
LOCALE - Static variable in class hirondelle.web4j.Controller
Key name for the default Locale, placed in application scope as a Locale upon startup.
LocaleSource - Interface in hirondelle.web4j.request
Return the Locale associated with a given request.
LocaleSourceImpl - Class in hirondelle.web4j.request
Retrieve the Locale stored in any scope under the key Controller.LOCALE.
LocaleSourceImpl() - Constructor for class hirondelle.web4j.request.LocaleSourceImpl
 
logAndEmailPerformanceProblem(String, HttpServletRequest) - Method in class hirondelle.web4j.Controller
Inform the webmaster of a performance problem.
logAndEmailSeriousProblem(Throwable, HttpServletRequest) - Method in class hirondelle.web4j.Controller
Inform the webmaster of an unexpected problem with the deployed application.
LoggingConfig - Interface in hirondelle.web4j.webmaster
Configure the logging system used in your application.
LoggingConfigImpl - Class in hirondelle.web4j.webmaster
Default implementation of LoggingConfig, to set up simple logging.
LoggingConfigImpl() - Constructor for class hirondelle.web4j.webmaster.LoggingConfigImpl
 
LoginTasks - Interface in hirondelle.web4j.security
Perform tasks required after successful user login.
logOnePerLine(Collection<?>) - Static method in class hirondelle.web4j.util.Util
Return a String suitable for logging, having one item from aCollection per line.
logOnePerLine(Collection<?>, int) - Static method in class hirondelle.web4j.util.Util
As in Util.logOnePerLine(Collection), but with specified indentation level.
logOnePerLine(Map<?, ?>) - Static method in class hirondelle.web4j.util.Util
Return a String suitable for logging, having one item from aMap per line.
longValue() - Method in class hirondelle.web4j.model.Decimal
Required by Number.
lookUp(String, Locale, Map<String, Map<String, String>>) - Static method in class hirondelle.web4j.ui.translate.Translation
Look up a translation using a simple policy.
lt(DateTime) - Method in class hirondelle.web4j.model.DateTime
'Less than' comparison.
lt(Decimal) - Method in class hirondelle.web4j.model.Decimal
Less than.
lt(long) - Method in class hirondelle.web4j.model.Decimal
 
lt(double) - Method in class hirondelle.web4j.model.Decimal
 
lteq(DateTime) - Method in class hirondelle.web4j.model.DateTime
'Less than or equal to' comparison.
lteq(Decimal) - Method in class hirondelle.web4j.model.Decimal
Less than or equal to.
lteq(long) - Method in class hirondelle.web4j.model.Decimal
 
lteq(double) - Method in class hirondelle.web4j.model.Decimal
 

M

mailToRecipients() - Method in class hirondelle.web4j.webmaster.TroubleTicket
Send an email to the TroubleTicketMailingList recipients configured in web.xml.
matches(Pattern, String) - Static method in class hirondelle.web4j.util.Util
Return true only if aText is non-null, and matches aPattern.
max(long) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a field's value is less than or equal to aMaximumValue.
max(BigDecimal) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a BigDecimal field is less than or equal to aMaximumValue.
max(Decimal) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a Decimal amount is less than or equal to aMaximumValue.
max(DateTime) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a DateTime is less than or equal to aMaximumValue.
MessageList - Interface in hirondelle.web4j.model
List of AppResponseMessage objects to be shown to the user.
MessageListImpl - Class in hirondelle.web4j.model
General implementation of MessageList.
MessageListImpl() - Constructor for class hirondelle.web4j.model.MessageListImpl
Create an empty MessageList.
MessageListImpl(String) - Constructor for class hirondelle.web4j.model.MessageListImpl
Create a MessageList having one simple AppResponseMessage.
MessageListImpl(String, Object...) - Constructor for class hirondelle.web4j.model.MessageListImpl
Create a MessageList having one compound AppResponseMessage.
MESSAGES - Static variable in class hirondelle.web4j.action.ActionImpl
Value "web4j_key_for_messages" - identifies a MessageList, placed in session scope, to hold messages for the end user.
Messages - Class in hirondelle.web4j.ui.translate
Custom tag for rendering a MessageList.
Messages() - Constructor for class hirondelle.web4j.ui.translate.Messages
 
min(long) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a field's value is greater than or equal to aMinimumValue.
min(BigDecimal) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a BigDecimal field is greater than or equal to aMinimumValue.
min(Decimal) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a Decimal amount is greater than or equal to aMinimumValue.
min(DateTime) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a DateTime is greater than or equal to aMinimumValue.
minus(Integer, Integer, Integer, Integer, Integer, Integer, Integer, DateTime.DayOverflow) - Method in class hirondelle.web4j.model.DateTime
Create a new DateTime by subtracting an interval to this one.
minus(Decimal) - Method in class hirondelle.web4j.model.Decimal
Subtract aThat Decimal from this Decimal.
minus(long) - Method in class hirondelle.web4j.model.Decimal
 
minus(double) - Method in class hirondelle.web4j.model.Decimal
 
MINUS_ONE - Static variable in class hirondelle.web4j.model.Decimal
Convenience constant.
minusDays(Integer) - Method in class hirondelle.web4j.model.DateTime
Return a new DateTime by subtracting an integral number of days from this one.
ModelCtorException - Exception in hirondelle.web4j.model
Thrown when a Model Object (MO) cannot be constructed because of invalid constructor arguments.
ModelCtorException() - Constructor for exception hirondelle.web4j.model.ModelCtorException
 
ModelFromRequest - Class in hirondelle.web4j.model
Parse a set of request parameters into a Model Object.
ModelFromRequest(RequestParser) - Constructor for class hirondelle.web4j.model.ModelFromRequest
Constructor.
ModelUtil - Class in hirondelle.web4j.model
Collected utilities for overriding Object.toString(), Object.equals(java.lang.Object), and Object.hashCode(), and implementing Comparable.
ModelUtil.NullsGo - Enum in hirondelle.web4j.model
Define hows null items are treated in a comparison.
MOST_RECENT_TROUBLE_TICKET - Static variable in class hirondelle.web4j.Controller
Key name for the most recent TroubleTicket, placed in application scope when a problem occurs.

N

negate() - Method in class hirondelle.web4j.model.Decimal
Return this amount x (-1).
NEW_LINE - Static variable in class hirondelle.web4j.util.Consts
System property - line.separator
NONE - Static variable in class hirondelle.web4j.database.DynamicSql
Represents the absence of any criteria.
NOT_FOUND - Static variable in class hirondelle.web4j.util.Consts
Useful for String operations, which return an index of -1 when an item is not found.
now(TimeZone) - Static method in class hirondelle.web4j.model.DateTime
Return the current date-time.
nullMeansFalse(Boolean) - Static method in class hirondelle.web4j.util.Util
Coerce a possibly-null Boolean value into Boolean.FALSE.
numDaysFrom(DateTime) - Method in class hirondelle.web4j.model.DateTime
The whole number of days between this DateTime and the given parameter.
numDecimalsAlways(int) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that the number of decimal places of a Decimal or BigDecimal is exactly equal to aNumDecimals.
numDecimalsMax(int) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that the number of decimal places of a Decimal or BigDecimal is less than or equal to aMaxNumberOfDecimalPlaces.
numSecondsFrom(DateTime) - Method in class hirondelle.web4j.model.DateTime
The number of seconds between this DateTime and the given argument.

O

objectToText(Object) - Method in class hirondelle.web4j.request.Formats
Translate an object into text, suitable for presentation in an HTML form.
objectToTextForReport(Object) - Method in class hirondelle.web4j.request.Formats
Translate an object into text suitable for direct presentation in a JSP.
ONE - Static variable in class hirondelle.web4j.model.Decimal
Convenience constant.
Operation - Enum in hirondelle.web4j.action
Type-safe enumeration for common operations.
optional(Object, Validator...) - Static method in class hirondelle.web4j.model.Check
Return true only if aObject is null, OR if aObject is non-null and passes all validations.
OR - Static variable in class hirondelle.web4j.database.DynamicSql
Value - " OR ", convenience value for building a WHERE clause.
ORDER_BY - Static variable in class hirondelle.web4j.database.DynamicSql
Value - " ORDER BY ", convenience value for building an ORDER BY clause.

P

Pager - Class in hirondelle.web4j.ui.tag
Generate links for paging through a long list of records.
Pager() - Constructor for class hirondelle.web4j.ui.tag.Pager
 
parseBoolean(String) - Static method in class hirondelle.web4j.util.Util
Parse text commonly used to denote booleans into a Boolean object.
parseEyeFriendly(String, Locale, TimeZone) - Method in interface hirondelle.web4j.request.DateConverter
Parse textual user input of an "eye-friendly" format into a Date object.
parseEyeFriendlyDateTime(String, Locale) - Method in interface hirondelle.web4j.request.DateConverter
Parse textual user input of an "eye-friendly" format into a DateTime object.
parseHandFriendly(String, Locale, TimeZone) - Method in interface hirondelle.web4j.request.DateConverter
Parse textual user input of a "hand-friendly" format into a Date object.
parseHandFriendlyDateTime(String, Locale) - Method in interface hirondelle.web4j.request.DateConverter
Parse textual user input of a "hand-friendly" format into a DateTime object.
PASSES - Static variable in class hirondelle.web4j.util.Consts
Opposite of Consts.FAILS.
PATH_SEPARATOR - Static variable in class hirondelle.web4j.util.Consts
System property - path.separator
pattern(Pattern) - Static method in class hirondelle.web4j.model.Check
Return a Validator that checks a String or SafeText field versus a regular expression Pattern.
PerformanceMonitor - Class in hirondelle.web4j.webmaster
Compile simple performance statistics, and use periodic pings to detect trouble.
PerformanceMonitor() - Constructor for class hirondelle.web4j.webmaster.PerformanceMonitor
 
PerformanceSnapshot - Class in hirondelle.web4j.webmaster
Statistics on server response time.
PerformanceSnapshot(Integer) - Constructor for class hirondelle.web4j.webmaster.PerformanceSnapshot
 
PERIOD - Static variable in class hirondelle.web4j.util.Consts
 
PermittedCharacters - Interface in hirondelle.web4j.security
Characters accepted by the SafeText class.
PermittedCharactersImpl - Class in hirondelle.web4j.security
Default implementation of PermittedCharacters.
PermittedCharactersImpl() - Constructor for class hirondelle.web4j.security.PermittedCharactersImpl
 
PI - Static variable in class hirondelle.web4j.model.Decimal
An approximation to the number pi, to 15 decimal places.
PLACEHOLDER - Static variable in class hirondelle.web4j.ui.translate.Messages
Special text used by this class to conveniently identify where message text is placed.
plus(Integer, Integer, Integer, Integer, Integer, Integer, Integer, DateTime.DayOverflow) - Method in class hirondelle.web4j.model.DateTime
Create a new DateTime by adding an interval to this one.
plus(Decimal) - Method in class hirondelle.web4j.model.Decimal
Add aThat Decimal to this Decimal.
plus(long) - Method in class hirondelle.web4j.model.Decimal
 
plus(double) - Method in class hirondelle.web4j.model.Decimal
 
plusDays(Integer) - Method in class hirondelle.web4j.model.DateTime
Return a new DateTime by adding an integral number of days to this one.
Populate - Class in hirondelle.web4j.ui.tag
Custom tag which populates form controls in a simple, elegant way.
Populate() - Constructor for class hirondelle.web4j.ui.tag.Populate
 
pow(int) - Method in class hirondelle.web4j.model.Decimal
Raise this number to an integral power; the power can be of either sign.
pow(double) - Method in class hirondelle.web4j.model.Decimal
This implementation uses Math.pow(double, double).
pow(Decimal) - Method in class hirondelle.web4j.model.Decimal
Raise this Decimal to a Decimal power.
PREVIOUS_FORM_SOURCE_ID_KEY - Static variable in class hirondelle.web4j.security.CsrfFilter
Key for item stored in session scope.
processRequest(HttpServletRequest, HttpServletResponse) - Method in class hirondelle.web4j.Controller
Handle all HTTP requests for GET, POST, PUT, and DELETE requests.

Q

quickEquals(Object, Object) - Static method in class hirondelle.web4j.model.ModelUtil
Quick checks for possibly determining equality of two objects.
quote(Object) - Static method in class hirondelle.web4j.util.Util
Call String.valueOf(Object) on aObject, and place the result in single quotes.

R

range(long, long) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a field's value is in a certain range (inclusive).
range(BigDecimal, BigDecimal) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a BigDecimal value is in a certain range (inclusive).
range(Decimal, Decimal) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a Decimal amount is in a certain range (inclusive).
range(DateTime, DateTime) - Static method in class hirondelle.web4j.model.Check
Return a Validator to check that a DateTime is in a certain range (inclusive).
raw(SqlId, DynamicSql, Object...) - Static method in class hirondelle.web4j.database.Report
Return column values without any processing.
reactToUserLogin(HttpSession, HttpServletRequest) - Method in interface hirondelle.web4j.security.LoginTasks
React to a successful user log in.
removeFromSession(String) - Method in class hirondelle.web4j.action.ActionImpl
Synonym for addToSession(aName, null).
removeQuotes(String) - Static method in class hirondelle.web4j.util.Util
Remove any initial or final quote characters from aText, either a single quote or a double quote.
replace(String, String, String) - Static method in class hirondelle.web4j.util.Util
Replace every occurrence of a fixed substring with substitute text.
replaceIfNull(E, E) - Static method in class hirondelle.web4j.util.Util
If aPossiblyNullItem is null, then return aReplacement ; otherwise return aPossiblyNullItem.
Report - Class in hirondelle.web4j.database
Utility for producing reports quickly from a ResultSet.
RequestParameter - Class in hirondelle.web4j.request
Request parameter as a name and (usually) an associated regular expression.
RequestParser - Class in hirondelle.web4j.request
Abstract Base Class (ABC) for mapping a request to an Action.
RequestParser(HttpServletRequest, HttpServletResponse) - Constructor for class hirondelle.web4j.request.RequestParser
Constructor called by subclasses.
RequestParserImpl - Class in hirondelle.web4j.request
Maps each HTTP request to a concrete Action.
RequestParserImpl(HttpServletRequest, HttpServletResponse) - Constructor for class hirondelle.web4j.request.RequestParserImpl
Constructor.
required(Object) - Static method in class hirondelle.web4j.model.Check
Return true only if aObject is non-null.
required(Object, Validator...) - Static method in class hirondelle.web4j.model.Check
Return true only if aObject satisfies Check.required(Object), and it passes all given validations
ResponsePage - Class in hirondelle.web4j.action
Response page served to the user at the end of an Action.
ResponsePage(String, String, String) - Constructor for class hirondelle.web4j.action.ResponsePage
Constructor which uses the WEB4J template mechanism.
ResponsePage(String, String, Class) - Constructor for class hirondelle.web4j.action.ResponsePage
Constructor which uses the WEB4J template mechanism, with a conventional template.
ResponsePage(String, String, String, Class<?>) - Constructor for class hirondelle.web4j.action.ResponsePage
Constructor which uses the WEB4J template mechanism.
ResponsePage(String) - Constructor for class hirondelle.web4j.action.ResponsePage
Constructor for a non-templated response.
ResponsePage(String, Class<?>) - Constructor for class hirondelle.web4j.action.ResponsePage
Constructor for a non-templated response located under /WEB-INF/.
reverseMap(Map<K, V>) - Static method in class hirondelle.web4j.util.Util
Reverse the keys and values in a Map.
round() - Method in class hirondelle.web4j.model.Decimal
Round to an integer value, using the default Decimal.ROUNDING style.
round(int) - Method in class hirondelle.web4j.model.Decimal
Round to 0 or more decimal places, using the default Decimal.ROUNDING style.
round(int, RoundingMode) - Method in class hirondelle.web4j.model.Decimal
Round to 0 or more decimal places, using the given rounding style.
round2(Decimal) - Method in class hirondelle.web4j.model.Decimal
Round a number to the nearest multiple of the given interval.
round2(long) - Method in class hirondelle.web4j.model.Decimal
 
round2(double) - Method in class hirondelle.web4j.model.Decimal
 
ROUNDING - Static variable in class hirondelle.web4j.model.Decimal
The default rounding mode used by this class (HALF_EVEN).

S

SafeText - Class in hirondelle.web4j.security
Models free-form text entered by the user, and protects your application from Cross Site Scripting (XSS).
SafeText(String) - Constructor for class hirondelle.web4j.security.SafeText
Constructor.
search(Class<T>, SqlId, DynamicSql, Object...) - Static method in class hirondelle.web4j.database.Db
SELECT operation for listing the result of a user's search with the given DynamicSql and corresponding parameter values.
sendFromWebmaster(List<String>, String, String) - Method in interface hirondelle.web4j.webmaster.Emailer
Send an email from the webmaster to a list of receivers.
sendFromWebmaster(List<String>, String, String) - Method in class hirondelle.web4j.webmaster.EmailerImpl
 
set(TxIsolationLevel, Connection) - Static method in enum hirondelle.web4j.database.TxIsolationLevel
Set a particular isolation level for aConnection.
setAltClass(String) - Method in class hirondelle.web4j.ui.tag.AlternatingRow
Optional name of a CSS class.
setDatabaseName(String) - Method in class hirondelle.web4j.database.StoredProcedureTemplate
Change to a non-default database.
setEscapeChars(boolean) - Method in class hirondelle.web4j.ui.translate.TextFlow
By default, this tag will escape any special characters appearing in the text flow, using EscapeChars.forHTML(String).
setEscapeChars(boolean) - Method in class hirondelle.web4j.ui.translate.Tooltips
Control the escaping of special characters.
setIfLoggedIn(String) - Method in class hirondelle.web4j.ui.tag.ShowForRole
Optional, simple flag indicating if user is or is not logged in.
setIfRole(String) - Method in class hirondelle.web4j.ui.tag.ShowForRole
Optional, comma-delimited list of accepted roles.
setIfRoleNot(String) - Method in class hirondelle.web4j.ui.tag.ShowForRole
Optional, comma-delimited list of denied roles.
setIsRedirect(Boolean) - Method in class hirondelle.web4j.action.ResponsePage
Return a new ResponsePage, having the specified forward/redirect behavior.
setLocale(String) - Method in class hirondelle.web4j.ui.translate.Text
Specify an explicit Locale (optional).
setName(String) - Method in class hirondelle.web4j.ui.tag.ShowDate
Optionally set the name of a Date object already present in some scope.
setName(String) - Method in class hirondelle.web4j.ui.tag.ShowDateTime
Optionally set the name of a DateTime object already present in some scope.
setName(String) - Method in class hirondelle.web4j.ui.translate.Messages
Key for a MessageList (in any scope).
setPageFrom(String) - Method in class hirondelle.web4j.ui.tag.Pager
Name of request parameter that holds the index of the current page.
setPattern(String) - Method in class hirondelle.web4j.ui.tag.ShowDate
Optionally set the format for rendering the date.
setPattern(String) - Method in class hirondelle.web4j.ui.tag.ShowDateTime
Optionally set the format for rendering the date.
setPatternKey(String) - Method in class hirondelle.web4j.ui.tag.ShowDate
Optionally set the format for rendering the date according to Locale.
setPatternKey(String) - Method in class hirondelle.web4j.ui.tag.ShowDateTime
Optionally set the format for rendering the date according to Locale.
setQueryParam(String, String, String) - Static method in class hirondelle.web4j.util.WebUtil
Ensure a particular name-value pair is present in a URL.
setResponsePage(ResponsePage) - Method in class hirondelle.web4j.action.ActionImpl
Called by subclasses if the final ResponsePage differs from the nominal one passed to the constructor.
setStyleClass(String) - Method in class hirondelle.web4j.ui.tag.HighlightCurrentPage
Name of the Cascading Style Sheet class used for highlighting text related to the current page (optional).
setSuppressMidnight(String) - Method in class hirondelle.web4j.ui.tag.ShowDate
Optionally suppress the display of midnight.
setSuppressMidnight(String) - Method in class hirondelle.web4j.ui.tag.ShowDateTime
Optionally suppress the display of midnight.
setTimeZone(String) - Method in class hirondelle.web4j.ui.tag.ShowDate
Optionally set the TimeZone for formatting the date.
setTranslate(boolean) - Method in class hirondelle.web4j.ui.translate.Text
Toggle translation on and off (optional, default true).
setup(Map<String, String>) - Method in interface hirondelle.web4j.webmaster.LoggingConfig
Configure application logging.
setup(Map<String, String>) - Method in class hirondelle.web4j.webmaster.LoggingConfigImpl
See class comment.
setUseTitle(Boolean) - Method in class hirondelle.web4j.ui.tag.HighlightCurrentPage
Use the TTitle request parameter passed to this page.
setUsing(String) - Method in class hirondelle.web4j.ui.tag.Populate
Key for the Model Object to be used for form population.
setValue(String) - Method in class hirondelle.web4j.ui.translate.Text
Set the item to be translated (optional).
setWikiMarkup(boolean) - Method in class hirondelle.web4j.ui.translate.Text
Allow wiki style formatting to be used (optional, default false).
show() - Method in class hirondelle.web4j.action.ActionTemplateShowAndApply
Show the input form.
ShowDate - Class in hirondelle.web4j.ui.tag
Display a Date in a particular format.
ShowDate() - Constructor for class hirondelle.web4j.ui.tag.ShowDate
 
ShowDateTime - Class in hirondelle.web4j.ui.tag
Custom tag to display a DateTime in a particular format.
ShowDateTime() - Constructor for class hirondelle.web4j.ui.tag.ShowDateTime
 
ShowForRole - Class in hirondelle.web4j.ui.tag
Toggle display according to the user's role.
ShowForRole() - Constructor for class hirondelle.web4j.ui.tag.ShowForRole
 
SINGLE_QUOTE - Static variable in class hirondelle.web4j.util.Consts
 
SPACE - Static variable in class hirondelle.web4j.util.Consts
 
SpamDetector - Interface in hirondelle.web4j.security
Determine if text is likely spam.
SpamDetectorImpl - Class in hirondelle.web4j.security
Fails all text containing links, except those appearing in wiki-style formatting.
SpamDetectorImpl() - Constructor for class hirondelle.web4j.security.SpamDetectorImpl
 
SqlId - Class in hirondelle.web4j.database
Identifier of an SQL statement block in an .sql file. (Such identifiers must be unique.)
SqlId(String) - Constructor for class hirondelle.web4j.database.SqlId
Constructor for statement against the default database.
SqlId(String, String) - Constructor for class hirondelle.web4j.database.SqlId
Constructor for statement against a named database.
start() - Method in class hirondelle.web4j.util.Stopwatch
Start the stopwatch.
START_TIME - Static variable in class hirondelle.web4j.Controller
Key name for the startup time, placed in application scope as a DateTime upon startup.
startApplication(ServletConfig, String) - Method in interface hirondelle.web4j.StartupTasks
Perform any startup tasks needed by the application.
StartupTasks - Interface in hirondelle.web4j
Perform startup tasks.
stop() - Method in class hirondelle.web4j.util.Stopwatch
Stop the stopwatch.
Stopwatch - Class in hirondelle.web4j.util
Allows timing of the execution of any block of code.
Stopwatch() - Constructor for class hirondelle.web4j.util.Stopwatch
 
StoredProcedureTemplate - Class in hirondelle.web4j.database
Template for using CallableStatements.
StoredProcedureTemplate(String) - Constructor for class hirondelle.web4j.database.StoredProcedureTemplate
Constructor for case where this task is not part of a transaction.
StoredProcedureTemplate(String, Connection) - Constructor for class hirondelle.web4j.database.StoredProcedureTemplate
Constructor for case where this task is part of a transaction.
SUCCESS - Static variable in class hirondelle.web4j.util.Consts
Opposite of Consts.FAILURE.
sum(Collection<Decimal>) - Static method in class hirondelle.web4j.model.Decimal
Sum a collection of Decimal objects.
SUPPORTED_OPERATION - Static variable in class hirondelle.web4j.action.ActionTemplateSearch
The operations supported by this template.
SUPPORTED_OPERATION - Static variable in class hirondelle.web4j.action.ActionTemplateShowAndApply
The operations supported by this template.
SupportedOperation - Static variable in class hirondelle.web4j.action.ActionTemplateListAndEdit
The operations supported by this template.
SuppressUnwantedSessions - Class in hirondelle.web4j.security
Suppress the creation of unwanted sessions.
SuppressUnwantedSessions() - Constructor for class hirondelle.web4j.security.SuppressUnwantedSessions
 
swapResponsePage(ResponsePage, Locale) - Method in class hirondelle.web4j.Controller
Change the ResponsePage according to Locale.

T

TAB - Static variable in class hirondelle.web4j.util.Consts
 
TagHelper - Class in hirondelle.web4j.ui.tag
Base class for implementing custom JSP tags.
TagHelper() - Constructor for class hirondelle.web4j.ui.tag.TagHelper
 
Text - Class in hirondelle.web4j.ui.translate
Custom tag for translating base language text (or a "coder key") into a localized form, and applying "wiki-style" formatting.
Text() - Constructor for class hirondelle.web4j.ui.translate.Text
 
TextFlow - Class in hirondelle.web4j.ui.translate
Custom tag for translating regular text flow in large sections of a web page.
TextFlow() - Constructor for class hirondelle.web4j.ui.translate.TextFlow
 
textHasContent(String) - Static method in class hirondelle.web4j.util.Util
Return true only if aText is not null, and is not empty after trimming.
textHasContent(SafeText) - Static method in class hirondelle.web4j.util.Util
Return true only if aText is not null, and if its raw String is not empty after trimming.
TIME_ZONE - Static variable in class hirondelle.web4j.Controller
Key name for the default TimeZone, placed in application scope as a TimeZone upon startup.
times(Decimal) - Method in class hirondelle.web4j.model.Decimal
Multiply this Decimal by a factor.
times(long) - Method in class hirondelle.web4j.model.Decimal
 
times(double) - Method in class hirondelle.web4j.model.Decimal
 
TimeSource - Interface in hirondelle.web4j.util
Return a possibly-fake value for the system clock.
TimeSourceImpl - Class in hirondelle.web4j.util
Default implementation of TimeSource.
TimeSourceImpl() - Constructor for class hirondelle.web4j.util.TimeSourceImpl
 
TimeZoneSource - Interface in hirondelle.web4j.request
Return the TimeZone associated with a given request.
TimeZoneSourceImpl - Class in hirondelle.web4j.request
Retrieve the TimeZone stored in any scope under the key Controller.TIME_ZONE.
TimeZoneSourceImpl() - Constructor for class hirondelle.web4j.request.TimeZoneSourceImpl
 
today(TimeZone) - Static method in class hirondelle.web4j.model.DateTime
Return the current date.
toDisableTags(String) - Static method in class hirondelle.web4j.util.EscapeChars
Return aText with all '<' and '>' characters replaced by their escaped equivalents.
toId(RequestParameter) - Method in class hirondelle.web4j.request.RequestParser
Return a single-valued request parameter as an Id.
toIds(RequestParameter) - Method in class hirondelle.web4j.request.RequestParser
Return a multi-valued request parameter as a Collection<Id>.
Tooltips - Class in hirondelle.web4j.ui.translate
Custom tag for translating TITLE, ALT and submit-button VALUE attributes in markup.
Tooltips() - Constructor for class hirondelle.web4j.ui.translate.Tooltips
 
toSafeText(RequestParameter) - Method in class hirondelle.web4j.request.RequestParser
Return a single-valued request parameter as SafeText.
toSafeTexts(RequestParameter) - Method in class hirondelle.web4j.request.RequestParser
Return a multi-valued request parameter as a Collection<SafeText>.
toString() - Method in class hirondelle.web4j.action.ResponsePage
Return the URL passed to the constructor, with any query parameters added by ResponsePage.appendQueryParam(java.lang.String, java.lang.String) appended on the end.
toString() - Method in class hirondelle.web4j.database.DynamicSql
Return the String passed to the constructor, trimmed.
toString() - Method in class hirondelle.web4j.database.SqlId
Return the SQL statement identifier as it appears in the .sql file.
toString() - Method in enum hirondelle.web4j.database.TxIsolationLevel
Return one of the permitted values, including 'DATABASE_DEFAULT'.
toString() - Method in exception hirondelle.web4j.model.AppException
Intended for debugging only.
toString() - Method in class hirondelle.web4j.model.AppResponseMessage
Return either the 'simple text' or the pattern, according to which factory method was called.
toString() - Method in exception hirondelle.web4j.model.BadRequestException
Intended for debugging only.
toString() - Method in class hirondelle.web4j.model.Code
Returns Code.getText().toString().
toString() - Method in class hirondelle.web4j.model.DateTime
Intended for debugging and logging only.
toString() - Method in class hirondelle.web4j.model.Decimal
Renders this Decimal in a style suitable for debugging.
toString() - Method in class hirondelle.web4j.model.Id
Return the id, with special characters escaped.
toString() - Method in class hirondelle.web4j.model.MessageListImpl
Intended for debugging only.
toString() - Method in class hirondelle.web4j.request.RequestParameter
Intended for debugging only.
toString() - Method in class hirondelle.web4j.security.SafeText
Return the text in a form safe for an HTML document.
toString() - Method in class hirondelle.web4j.ui.translate.Translation
Intended for debugging only.
toString() - Method in class hirondelle.web4j.util.Stopwatch
Return the current "reading" on the stopwatch, in milliseconds, in a format suitable typical use cases.
toString() - Method in class hirondelle.web4j.webmaster.PerformanceSnapshot
Intended for debugging only.
toString() - Method in class hirondelle.web4j.webmaster.TroubleTicket
Return extensive listing of items which may be useful in solving the problem.
toStringAvoidCyclicRefs(Object, Class, String) - Static method in class hirondelle.web4j.model.ModelUtil
As in ModelUtil.toStringFor(java.lang.Object), but avoid problems with cyclic references.
toStringFor(Object) - Static method in class hirondelle.web4j.model.ModelUtil
Implements an override of Object.toString() (see class comment).
toSupportedObject(RequestParameter, Class<T>) - Method in class hirondelle.web4j.request.RequestParser
Return a building block object.
toSupportedObjects(RequestParameter, Class<T>) - Method in class hirondelle.web4j.request.RequestParser
Return an ummodifiable List of building block objects.
toValue() - Method in class hirondelle.web4j.util.Stopwatch
Return the current "reading" on the stopwatch in raw nanoseconds, as a numeric type.
Translation - Class in hirondelle.web4j.ui.translate
Model Object for a translation.
Translation(SafeText, Locale, SafeText) - Constructor for class hirondelle.web4j.ui.translate.Translation
Constructor with no explicit foreign keys.
Translation(SafeText, Locale, SafeText, Id, Id) - Constructor for class hirondelle.web4j.ui.translate.Translation
Constructor with explict foreign keys.
Translation.LookupResult - Class in hirondelle.web4j.ui.translate
The result of Translation.lookUp(String, Locale, Map).
Translator - Interface in hirondelle.web4j.ui.translate
Translate base text into a localized form.
trimCurrency(String, String) - Static method in class hirondelle.web4j.util.Util
Convert end-user input into a form suitable for BigDecimal.
trimPossiblyNull(String) - Static method in class hirondelle.web4j.util.Util
If aText is null, return null; else return aText.trim().
TroubleTicket - Class in hirondelle.web4j.webmaster
Email diagnostic information to support staff when an error occurs.
TroubleTicket(Throwable, HttpServletRequest) - Constructor for class hirondelle.web4j.webmaster.TroubleTicket
Constructor.
TroubleTicket(String) - Constructor for class hirondelle.web4j.webmaster.TroubleTicket
Constuctor sets custom content for the body of the email.
truncate(DateTime.Unit) - Method in class hirondelle.web4j.model.DateTime
Truncate this DateTime to the given precision.
Tx - Interface in hirondelle.web4j.database
Execute a database transaction.
TxIsolationLevel - Enum in hirondelle.web4j.database
Type-safe enumeration for transaction isolation levels.
TxSimple - Class in hirondelle.web4j.database
Perform the simplest kinds of transactions.
TxSimple(SqlId[], Object[]) - Constructor for class hirondelle.web4j.database.TxSimple
Constructor.
TxTemplate - Class in hirondelle.web4j.database
Template for executing a local, non-distributed transaction versus a single database, using a single connection.
TxTemplate() - Constructor for class hirondelle.web4j.database.TxTemplate
Constructor for a transaction versus the default database, at the default isolation level.
TxTemplate(TxIsolationLevel) - Constructor for class hirondelle.web4j.database.TxTemplate
Constructor for transaction versus the default database, at a custom isolation level.
TxTemplate(String) - Constructor for class hirondelle.web4j.database.TxTemplate
Constructor for a transaction versus a non-default database, at its isolation level, as configured in web.xml.
TxTemplate(String, TxIsolationLevel) - Constructor for class hirondelle.web4j.database.TxTemplate
Constructor for a transaction versus a non-default database, at a custom isolation level.

U

unformatted(Class<?>[], SqlId, DynamicSql, Object...) - Static method in class hirondelle.web4j.database.Report
Return column values as unformatted building block objects.
unitsAllAbsent(DateTime.Unit...) - Method in class hirondelle.web4j.model.DateTime
Return true only if all of the given units are absent from this DateTime.
unitsAllPresent(DateTime.Unit...) - Method in class hirondelle.web4j.model.DateTime
Return true only if all of the given units are present in this DateTime.
UNKNOWN_BASE_TEXT - Static variable in class hirondelle.web4j.ui.translate.Translation.LookupResult
BaseText is unknown.
UNKNOWN_LOCALE - Static variable in class hirondelle.web4j.ui.translate.Translation.LookupResult
BaseText is known, but no translation exists for the specified Locale
UntrustedProxyForUserId - Interface in hirondelle.web4j.security
Determines if a request has an ownership constraint which needs explicit validation for a user id proxy.
UntrustedProxyForUserIdImpl - Class in hirondelle.web4j.security
Default implementation of UntrustedProxyForUserId.
UntrustedProxyForUserIdImpl() - Constructor for class hirondelle.web4j.security.UntrustedProxyForUserIdImpl
 
USER_ID - Static variable in class hirondelle.web4j.action.ActionImpl
Value "web4j_key_for_user_id" - identifies the user's id, placed in session scope.
usesUntrustedIdentifier(RequestParser) - Method in interface hirondelle.web4j.security.UntrustedProxyForUserId
Returns true only if the given request uses an untrusted proxy for the user id.
usesUntrustedIdentifier(RequestParser) - Method in class hirondelle.web4j.security.UntrustedProxyForUserIdImpl
Return true only if the given request matches one of the items defined by the UntrustedProxyForUserId setting in web.xml.
Util - Class in hirondelle.web4j.util
Static convenience methods for common tasks, which eliminate code duplication.

V

validateUserInput() - Method in class hirondelle.web4j.action.ActionTemplateListAndEdit
Validate items input by the user into a form.
validateUserInput() - Method in class hirondelle.web4j.action.ActionTemplateSearch
Validate items input by the user into a form.
validateUserInput() - Method in class hirondelle.web4j.action.ActionTemplateShowAndApply
Validate items input by the user into a form.
Validator - Interface in hirondelle.web4j.model
Validate a field in a Model Object.
valueFor(String) - Static method in enum hirondelle.web4j.action.Operation
Parse a parameter value into an Operation (not case-sensitive).
valueOf(String) - Static method in enum hirondelle.web4j.action.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum hirondelle.web4j.database.TxIsolationLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum hirondelle.web4j.model.DateTime.DayOverflow
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum hirondelle.web4j.model.DateTime.Unit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum hirondelle.web4j.model.ModelUtil.NullsGo
Returns the enum constant of this type with the specified name.
values() - Static method in enum hirondelle.web4j.action.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum hirondelle.web4j.database.TxIsolationLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum hirondelle.web4j.model.DateTime.DayOverflow
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum hirondelle.web4j.model.DateTime.Unit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum hirondelle.web4j.model.ModelUtil.NullsGo
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEB4J_VERSION - Static variable in class hirondelle.web4j.Controller
Name and version number of the WEB4J API.
WEBMASTER - Static variable in class hirondelle.web4j.Controller
Key name for the webmaster email address, placed in application scope as a String upon startup.
WebUtil - Class in hirondelle.web4j.util
Static convenience methods for common web-related tasks, which eliminate code duplication.
WHERE - Static variable in class hirondelle.web4j.database.DynamicSql
Value - " WHERE ", convenience value for building a WHERE clause.
withBinaryData() - Static method in class hirondelle.web4j.action.ResponsePage
Factory method for binary responses.
withInitialCapital(String) - Static method in class hirondelle.web4j.util.Util
Ensure the initial character of aText is capitalized.
withLengthCheck(String) - Static method in class hirondelle.web4j.request.RequestParameter
Return a regular parameter hard-validated only for name and size.
withNoSpaces(String) - Static method in class hirondelle.web4j.util.Util
Ensure aText contains no spaces.
withRegexCheck(String, Pattern) - Static method in class hirondelle.web4j.request.RequestParameter
Return a regular parameter hard-validated for name and for value matching a regular expression.
withRegexCheck(String, String) - Static method in class hirondelle.web4j.request.RequestParameter
Return a regular parameter hard-validated for name and for value matching a regular expression.

Z

ZERO - Static variable in class hirondelle.web4j.model.Decimal
Zero Decimal amount, a simple convenience constant.

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

Copyright Hirondelle Systems. Published October 19, 2013 - User Guide - All Docs.