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

A

accept - Variable in class com.zentense.step2.util.Form.FileField
 
AccessMaster - Class in com.zentense.step2.access
Abstract class that manages who has access to resources.
AccessMaster() - Constructor for class com.zentense.step2.access.AccessMaster
Constructor
add(View) - Method in class com.zentense.step2.view.VectorRowView
Appends the content of the given view at the end of this view.
addBetweenFilter(String, String) - Method in class com.zentense.step2.model.FilterSet
Adds a filter to this set with a 'between' constraint.
addCheckboxField(String, String) - Method in class com.zentense.step2.util.Form
Writes a checkbox
addField(String, Form.Field) - Method in class com.zentense.step2.util.Form
 
addFileField(String) - Method in class com.zentense.step2.util.Form
Writes a file input field.
addFileField(String, String) - Method in class com.zentense.step2.util.Form
Writes a file input field.
addFileField(String, String, String) - Method in class com.zentense.step2.util.Form
Writes a file input field.
addFilter(String, FilterSet.FilterSpec) - Method in class com.zentense.step2.model.FilterSet
Adds a filter to this set
addFilter(String) - Method in class com.zentense.step2.model.FilterSet
Adds a free filter to this set.
addForeignFilter(String, String, AutoModel, String) - Method in class com.zentense.step2.model.FilterSet
Adds to this set a query filter which allows to filter by a column that is located in a foreign table.
addHeader(String, String) - Method in class com.zentense.step2.util.SendMail
Appends a header
addHiddenField(String, String) - Method in class com.zentense.step2.util.Form
Writes a hidden field
addLikeFilter(String, String) - Method in class com.zentense.step2.model.FilterSet
Adds a filter to this set with a 'like' constraint.
addMap(String, String) - Method in class com.zentense.step2.view.MappedView
Adds a mapping to this view
addOption(String, String) - Method in class com.zentense.step2.model.FilterSet.SelectFilterSpec
 
addOption(String, String) - Method in class com.zentense.step2.util.Form.SelectField
 
addPasswordField(String, int, int) - Method in class com.zentense.step2.util.Form
Writes a password field
addPercent(Number, Number) - Static method in class com.zentense.step2.util.Math
Add percent to a number
addPrepared(String, String) - Method in class com.zentense.step2.model.ResultSetModel
Creates a prepared statement and leaves it ready to be executed with doPrepared.
addRadioField(String, String) - Method in class com.zentense.step2.util.Form
Writes a radio button
addRegExpReplaceMap(String, String, String) - Method in class com.zentense.step2.view.FormattedView
 
addRow(Hashtable) - Method in class com.zentense.step2.view.VectorRowView
Appends a row to this view
addRow(String[], Object[]) - Method in class com.zentense.step2.view.VectorRowView
Appends a row to this view.
addSelectField(String, View) - Method in class com.zentense.step2.util.Form
Writes a select form field
addSelectField(String) - Method in class com.zentense.step2.util.Form
 
addSelectField(String, View, String, String) - Method in class com.zentense.step2.util.Form
 
addSelectFilter(String) - Method in class com.zentense.step2.model.FilterSet
 
addSerie(String, String, String) - Method in class com.zentense.step2.view.AxisChartView
Adds a serie to the chart.
addSerie(String, String, Paint) - Method in class com.zentense.step2.view.AxisChartView
Adds a serie to the chart.
addStringFilter(String, String) - Method in class com.zentense.step2.model.FilterSet
Adds a filter to this set with a 'string' constraint.
addTextAreaField(String, int, int, String) - Method in class com.zentense.step2.util.Form
Writes a text area field
addTextField(String) - Method in class com.zentense.step2.util.Form
Writes an input text field, with size 20 and no maximum length.
addTextField(String, int, int) - Method in class com.zentense.step2.util.Form
Writes a text field
addValueFilter(String, String) - Method in class com.zentense.step2.model.FilterSet
Adds a filter to this set with a 'value' constraint.
addVoidFilter(String) - Method in class com.zentense.step2.model.FilterSet
Adds a void filter to this set.
ALLOWED - Static variable in class com.zentense.step2.access.AccessMaster
 
allowed - Variable in class com.zentense.step2.access.AccessMaster
Allowed access table
allowedXpanded - Variable in class com.zentense.step2.access.AccessMaster
Allowed access table with modules expanded
appendBCC(String) - Method in class com.zentense.step2.util.SendMail
Appends an email address to the 'Bcc:' list
appendBody(String) - Method in class com.zentense.step2.util.SendMail
Appends a line to the message body
appendCC(String) - Method in class com.zentense.step2.util.SendMail
Appends an email address to the 'Cc:' list
appendTo(String) - Method in class com.zentense.step2.util.SendMail
Appends an email address to the 'To:' list
asDelegated() - Method in class com.zentense.step2.view.View
Casts this view as a DelegatedView
asDelegatedResultSet() - Method in class com.zentense.step2.view.View
Casts this view as a ResultSetView into a DelegatedView
asResultSet() - Method in class com.zentense.step2.view.View
Casts this view as a ResultSetView
attachFile(String) - Method in class com.zentense.step2.util.SendMail
Attach a file to the email
attachInlineFile(String, String) - Method in class com.zentense.step2.util.SendMail
Attach a inline file to the email
attachURL(String) - Method in class com.zentense.step2.util.SendMail
 
attachURL(URL) - Method in class com.zentense.step2.util.SendMail
 
AutoI18NModel - Class in com.zentense.step2.model
An extended AutoModel that supports internationalized columns.
AutoI18NModel() - Constructor for class com.zentense.step2.model.AutoI18NModel
 
AutoI18NModel(String, String, String) - Constructor for class com.zentense.step2.model.AutoI18NModel
Constructor
AutoModel - Class in com.zentense.step2.model
An AutoModel is a ResultSetModel defined in the application model file, and automatically created and initialized by 2step.
AutoModel(String, String, String) - Constructor for class com.zentense.step2.model.AutoModel
Constructor
AutoModel() - Constructor for class com.zentense.step2.model.AutoModel
Empty constructor
AxisChartView - Class in com.zentense.step2.view
This class is a delegated view that can be used to draw axis charts based on some columns of the original view.
AxisChartView(View) - Constructor for class com.zentense.step2.view.AxisChartView
Constructor

B

back() - Method in class com.zentense.step2.util.Location
Goes to previous URL (goes back!)
back(int) - Method in class com.zentense.step2.util.Location
Goes to previous URL (goes back!)

C

calculateCapacity() - Method in class com.zentense.step2.RequestRuntime
Calculates an approximation of number of requests per second that can be served
Calendar - Class in com.zentense.step2.util
This class allows manipulation of date and calendar objects
Calendar() - Constructor for class com.zentense.step2.util.Calendar
Default constructor
ChartView - Class in com.zentense.step2.view
This abstract class holds some common methods to PieChartView and AxisChartView
ChartView(View) - Constructor for class com.zentense.step2.view.ChartView
Constructor
Check - Class in com.zentense.step2.util
Utilities for performing checks on user input
Check() - Constructor for class com.zentense.step2.util.Check
Empty constructor
checkboxValue - Variable in class com.zentense.step2.util.Form.CheckboxField
 
checkIsOk() - Method in class com.zentense.step2.util.Check
Previously performed checks were ok?
checkLibraryVersion(String, int) - Method in class com.zentense.step2.RequestRuntime
 
checkLogin(String, String) - Method in class com.zentense.step2.access.AccessMaster
Checks if password is right for given login
cl - Variable in class com.zentense.step2.access.AccessMaster
Class loader
clear() - Method in class com.zentense.step2.util.Form
 
clearFilters() - Method in class com.zentense.step2.model.FilterSet
Clear all filters in this set
clearFilters() - Method in class com.zentense.step2.model.ResultSetFilterModel
Clear filters
clearFilters() - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Clear filters
clearHTMLItem() - Method in class com.zentense.step2.util.NavBar
Clears HTML code for rendering an item
clearHTMLSelItem() - Method in class com.zentense.step2.util.NavBar
Clears HTML code for rendering the current page
clearHTMLSep() - Method in class com.zentense.step2.util.NavBar
Clears the HTML code for rendering the separator
clearOrder() - Method in class com.zentense.step2.model.FilterSet
Unsets any order
clearOrder() - Method in class com.zentense.step2.model.ResultSetFilterModel
Clear order
clearOrder() - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Clear order
clearPrepared() - Method in class com.zentense.step2.model.ResultSetModel
Clears prepared statements table
clearRequestParams() - Method in class com.zentense.step2.RequestRuntime
Clears the assigned request parameters.
close() - Method in class com.zentense.step2.util.Form
Closes a tag
close() - Method in class com.zentense.step2.view.ResultSetView
Closes statement.
col - Variable in class com.zentense.step2.model.FilterSet.FilterSpec
Column of this filter
cols - Variable in class com.zentense.step2.util.Form.TextAreaField
 
columns - Variable in class com.zentense.step2.model.DBTableData.Table
Column names
ColumnView - Class in com.zentense.step2.view
This delegated view allows to present original view in several columns and optionally transposed.
ColumnView(View) - Constructor for class com.zentense.step2.view.ColumnView
Constructor from the original view
ColumnView(int, View) - Constructor for class com.zentense.step2.view.ColumnView
Constructor
ColumnView(int, View, boolean) - Constructor for class com.zentense.step2.view.ColumnView
Constructor
com.zentense.step2.model - package com.zentense.step2.model
A model represent a table, that is, a collection of rows, where each row is a collection of columns, where one or more of the columns are used to identify each row from the other ones.
com.zentense.step2.util - package com.zentense.step2.util
In this package there are some useful classes for programming web applications.
com.zentense.step2.view - package com.zentense.step2.view
A view is a collection of rows, being a row is a collection of columns, so views are a bidimentional table of data.
compare(Object, Object) - Method in class com.zentense.step2.view.VectorRowView.ComparableComparer
Compares two rows
CookieManager - Class in com.zentense.step2.util
Manage cookies.
CookieManager() - Constructor for class com.zentense.step2.util.CookieManager
Empty constructor
CR - Static variable in class com.zentense.step2.util.Shell
Carry Return string.
createAppResponse(HttpServletRequest, HttpServletResponse, String) - Method in class com.zentense.step2.CypheredURLSchema
 
createAppResponse(HttpServletRequest, HttpServletResponse, String) - Method in class com.zentense.step2.URLSchema
This method is invoked when createResponse decides that path info must be processed, that is, path info matches pattern from getPattern.
createModule(HttpServletRequest) - Method in class com.zentense.step2.access.AccessMaster
Creates a module from a request
createPrepared(Connection, String, int, int) - Static method in class com.zentense.step2.view.ResultSetView
Creates a prepared statement
createResponse(HttpServletRequest, HttpServletResponse, String) - Method in class com.zentense.step2.URLSchema
Creates a 2step response from a servlet request.
crypt - Variable in class com.zentense.step2.access.AccessMaster
Encrypt passwords
crypt(String) - Method in class com.zentense.step2.access.AccessMaster
Cyphers a password if 'crypt' is enabled
cypher(RequestRuntime, String) - Method in class com.zentense.step2.util.Location
Cyphers a URL
CypheredURLSchema - Class in com.zentense.step2
A path info that decodes path info cyphered using Location.cypher.
CypheredURLSchema() - Constructor for class com.zentense.step2.CypheredURLSchema
 

D

DBTableData - Class in com.zentense.step2.model
This class implements a pool of prepared statements with the database and is used for getting database tables metadata.
DBTableData() - Constructor for class com.zentense.step2.model.DBTableData
 
DBTableData.Table - Class in com.zentense.step2.model
Holds information of a table
DBTableData.Table(String) - Constructor for class com.zentense.step2.model.DBTableData.Table
 
decypher(String) - Method in class com.zentense.step2.util.Location
Decyphers a URL
DelegatedView - Class in com.zentense.step2.view
This abstract class represents a View that implements a delegation pattern with another view.
DelegatedView() - Constructor for class com.zentense.step2.view.DelegatedView
 
DelegatedView(View) - Constructor for class com.zentense.step2.view.DelegatedView
Constructs a delegated view from original view
delete(Object) - Method in class com.zentense.step2.model.AutoI18NModel
 
delete(Object) - Method in class com.zentense.step2.model.ResultSetI18NModel
Deletes a row, and also deletes any associated text from i18n pool.
delete(Object) - Method in class com.zentense.step2.model.ResultSetModel
Executes a delete query (delete from table where id= ...)
deleteAll() - Method in class com.zentense.step2.model.ResultSetModel
Deletes all rows in this table
deleteBy(String) - Method in class com.zentense.step2.model.ResultSetModel
Deletes a group of rows (delete from table where ...)
deleteCascade(AutoModel, String, Object) - Method in class com.zentense.step2.model.AutoModel
 
deleteCascade(Object) - Method in class com.zentense.step2.model.AutoModel
 
deleteCascade(Object, Object) - Method in class com.zentense.step2.model.AutoModel
 
deleteCascade(Object, Object, Object) - Method in class com.zentense.step2.model.AutoModel
 
deleteI18N(View) - Method in class com.zentense.step2.model.AutoI18NModel
Deletes all i18n texts (all languages) of any I18N column on current row from given view.
deleteI18N(int, String) - Method in class com.zentense.step2.model.ResultSetI18NModel
 
deleteI18N(View) - Method in class com.zentense.step2.model.ResultSetI18NModel
Deletes all i18n texts (all languages) of any I18N column on current row from given view.
DENIED - Static variable in class com.zentense.step2.access.AccessMaster
 
denied - Variable in class com.zentense.step2.access.AccessMaster
Denied access table
deniedXpanded - Variable in class com.zentense.step2.access.AccessMaster
Denied access table with modules expanded
doCheck(boolean, String, String) - Method in class com.zentense.step2.util.Check
Performs a check
doCheck(boolean, String) - Method in class com.zentense.step2.util.Check
Performs a check
doFilteredQuery() - Method in class com.zentense.step2.model.ResultSetFilterModel
Applies the set of filters on this model and returns the resulting view.
doFilteredQuery(String) - Method in class com.zentense.step2.model.ResultSetFilterModel
Applies the set of filters on a custom query and returns the resulting view.
doFilteredQuery() - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Applies the set of filters on this model and returns the resulting view.
doFilteredQuery(String) - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Applies the set of filters on a custom query and returns the resulting view.
doLegacyQuery(String) - Method in class com.zentense.step2.model.ResultSetI18NModel
Executes a SQL query but returns a ResultSetView instead of an I18nView so that I18N columns are not translated.
doPrepared(String, Object[]) - Method in class com.zentense.step2.model.ResultSetI18NModel
 
doPrepared(String, Object[]) - Method in class com.zentense.step2.model.ResultSetModel
Executes a prepared statement.
doQuery(String) - Method in class com.zentense.step2.model.AutoI18NModel
 
doQuery(String) - Method in class com.zentense.step2.model.ResultSetI18NModel
 
doQuery(String) - Method in class com.zentense.step2.model.ResultSetModel
Executes a SQL query using JDBC.
doUpdate(String) - Method in class com.zentense.step2.model.AutoI18NModel
 
doUpdate(String) - Method in class com.zentense.step2.model.ResultSetModel
Executes a SQL statement using JDBC.
draw(String) - Method in class com.zentense.step2.util.Pager
 
drawXML(String, String) - Method in class com.zentense.step2.util.Pager
 

E

EMPTY - Static variable in class com.zentense.step2.view.View
An empty view instance
emptyAttachments() - Method in class com.zentense.step2.util.SendMail
Clears the attached files list
emptyBCC() - Method in class com.zentense.step2.util.SendMail
Clears the BCC list
emptyCC() - Method in class com.zentense.step2.util.SendMail
Clears the CC list
emptyHeaders() - Method in class com.zentense.step2.util.SendMail
Clears headers
emptyOption - Variable in class com.zentense.step2.util.Form.SelectField
 
emptyTo() - Method in class com.zentense.step2.util.SendMail
Clears the TO list
encodeAsForm(String) - Static method in class com.zentense.step2.util.StringUtil
Encodes an string using URLEncoder
encodeJPEG(RequestRuntime) - Method in class com.zentense.step2.view.AxisChartView
Encodes a previously rendered chart into a JPEG.
encodeJPEG(RequestRuntime, Chart) - Method in class com.zentense.step2.view.ChartView
Encodes a chart as a JPEG and it is written to the VM output.
encodeJPEG(RequestRuntime) - Method in class com.zentense.step2.view.PieChartView
Encodes a chart as a JPEG and it is written to the VM output.
encodeParams(String, String[], String[]) - Static method in class com.zentense.step2.URLSchema
 
encodeParams(String[], String[]) - Static method in class com.zentense.step2.URLSchema
 
encodePNG(RequestRuntime) - Method in class com.zentense.step2.view.AxisChartView
Encodes a previously rendered chart into a PNG.
encodePNG(RequestRuntime, Chart) - Method in class com.zentense.step2.view.ChartView
Encodes a chart as a PNG and it is written to the VM output.
encodePNG(RequestRuntime) - Method in class com.zentense.step2.view.PieChartView
Encodes a chart as a PNG and it is written to the VM output.
exec(String) - Method in class com.zentense.step2.util.Shell
Executes a shell command.
execPrepared(PreparedStatement) - Method in class com.zentense.step2.view.ResultSetView
Executes a prepared statement.
executeAction(String) - Method in class com.zentense.step2.RequestRuntime
 
executeAction(String, Object) - Method in class com.zentense.step2.RequestRuntime
 
executeQuery(String) - Method in class com.zentense.step2.view.ResultSetView
Executes SQL query.
executeUpdate(String) - Method in class com.zentense.step2.view.ResultSetView
Executes SQL statement with no results.
exists(Object) - Method in class com.zentense.step2.model.ResultSetModel
Exists a given row?

F

fillFromRow(Hashtable) - Method in class com.zentense.step2.view.View
Fills current row from a Hashtable.
fillRowFromRequest(RequestRuntime) - Method in class com.zentense.step2.view.View
Fills current row from request parameters.
filters - Variable in class com.zentense.step2.model.ResultSetFilterModel
Set of filters
filters - Variable in class com.zentense.step2.model.ResultSetI18NFilterModel
Set of filters
FilterSet - Class in com.zentense.step2.model
A set of filters.
FilterSet() - Constructor for class com.zentense.step2.model.FilterSet
FilterSet constructor
FilterSet.FilterSpec - Class in com.zentense.step2.model
Simplest filter: value (column name is ignored).
FilterSet.FilterSpec() - Constructor for class com.zentense.step2.model.FilterSet.FilterSpec
Empty constructor
FilterSet.FilterSpec(String) - Constructor for class com.zentense.step2.model.FilterSet.FilterSpec
Constructor
FilterSet.SelectFilterSpec - Class in com.zentense.step2.model
 
FilterSet.SelectFilterSpec() - Constructor for class com.zentense.step2.model.FilterSet.SelectFilterSpec
 
filtersToXML(String, int) - Method in class com.zentense.step2.model.ResultSetFilterModel
Returns an XML representation of set of filters state
filtersToXML(String, int) - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Returns an XML representation of set of filters state
finalize() - Method in class com.zentense.step2.view.ResultSetView
 
find(String, String) - Method in class com.zentense.step2.model.ResultSetModel
Select a group of rows.
find(String, String, String) - Method in class com.zentense.step2.model.ResultSetModel
Selects a group of rows with order.
findById(Object) - Method in class com.zentense.step2.model.ResultSetModel
Selects a row.
first() - Method in class com.zentense.step2.view.ResultSetView
 
first() - Method in class com.zentense.step2.view.View
 
FIX_HTML - Static variable in class com.zentense.step2.view.FormattedView
The HTML formatter instance
FIX_XML - Static variable in class com.zentense.step2.view.FormattedView
The XML formatter instance
fixCSV(String, Object) - Static method in class com.zentense.step2.util.StringUtil
Fixes text as CSV code.
fixHTML(String) - Static method in class com.zentense.step2.util.StringUtil
Fixes text as HTML code.
fixHTML(String) - Method in class com.zentense.step2.view.FormattedView
Formats a column as HTML.
fixHTMLTags(String) - Static method in class com.zentense.step2.util.StringUtil
Fixes text as HTML code but tags and ampersand are left unchanged
fixSQL(String) - Static method in class com.zentense.step2.util.StringUtil
Fixes a value to fit in a SQL statement.
fixXML(String) - Static method in class com.zentense.step2.util.StringUtil
Fixes text as XML code.
fixXML() - Method in class com.zentense.step2.view.FormattedView
When using toXML methods, column contents will be formatted as XML, that is, '&', '<' and '>' are translated so XML structure is not altered by view contents.
fixXMLAsHTML() - Method in class com.zentense.step2.view.FormattedView
When using toXML methods, column contents will be formatted as HTML
fixXMLAsHTMLByDefault() - Static method in class com.zentense.step2.view.FormattedView
This initializes new FormattedView instances to convert column contents to HTML when formatting view to XML
fixXMLByDefault() - Static method in class com.zentense.step2.view.FormattedView
This initializes new FormattedView instances to convert column contents to XML when formatting view to XML
floor(Number) - Static method in class com.zentense.step2.util.Math
Gives the floor nearest integer
font - Variable in class com.zentense.step2.view.ChartView
Font for legends
Form - Class in com.zentense.step2.util
This bean generates the HTML needed to maintain the state of forms
Form(String, String) - Constructor for class com.zentense.step2.util.Form
 
Form.CheckboxField - Class in com.zentense.step2.util
 
Form.CheckboxField(String) - Constructor for class com.zentense.step2.util.Form.CheckboxField
 
Form.Field - Class in com.zentense.step2.util
 
Form.Field() - Constructor for class com.zentense.step2.util.Form.Field
 
Form.FileField - Class in com.zentense.step2.util
 
Form.FileField(String, String) - Constructor for class com.zentense.step2.util.Form.FileField
 
Form.PasswordField - Class in com.zentense.step2.util
 
Form.PasswordField(int, int) - Constructor for class com.zentense.step2.util.Form.PasswordField
 
Form.RadioField - Class in com.zentense.step2.util
 
Form.RadioField(String) - Constructor for class com.zentense.step2.util.Form.RadioField
 
Form.SelectField - Class in com.zentense.step2.util
 
Form.SelectField(View) - Constructor for class com.zentense.step2.util.Form.SelectField
 
Form.TextAreaField - Class in com.zentense.step2.util
 
Form.TextAreaField(int, int, String) - Constructor for class com.zentense.step2.util.Form.TextAreaField
 
Form.TextField - Class in com.zentense.step2.util
 
Form.TextField(int, int) - Constructor for class com.zentense.step2.util.Form.TextField
 
format(Calendar) - Static method in class com.zentense.step2.util.Calendar
Formats the given calendar as dd/MM/yyyy hh:mm a
format(Calendar, String) - Static method in class com.zentense.step2.util.Calendar
Formats a date
formatAsCalendar(String, String) - Method in class com.zentense.step2.view.FormattedView
Formats a column as a calendar.
formatAsDate(String, String) - Method in class com.zentense.step2.view.FormattedView
Formats a column as a date.
formatAsEuros(Number) - Static method in class com.zentense.step2.util.Math
Format string as euros (two decimal places)
formatAsMoney(String) - Method in class com.zentense.step2.view.FormattedView
Formats a column as money.
formatAsMoney(Number) - Method in class com.zentense.step2.view.FormattedView
Formats a number as money.
formatAsNumber(String, String) - Method in class com.zentense.step2.view.FormattedView
Formats a column as a number.
formatDate(Date, String) - Static method in class com.zentense.step2.util.Calendar
Formats a date
formatLocalized(Calendar, String) - Method in class com.zentense.step2.util.Calendar
Formats a date using Locale.
FormattedView - Class in com.zentense.step2.view
This delegated view allows formatting columns.
FormattedView() - Constructor for class com.zentense.step2.view.FormattedView
Empty constructor
FormattedView(View) - Constructor for class com.zentense.step2.view.FormattedView
Constructs delegated view from original view
forward(String) - Static method in class com.zentense.step2.util.Location
Forwards to another page in this session
forwardExternal(RequestRuntime, String) - Static method in class com.zentense.step2.util.Location
Forwards to a URL outside this session.
fullRender(int) - Method in class com.zentense.step2.util.Pager
Initializes and renders the pager (with all buttons if visible)
fullRender() - Method in class com.zentense.step2.util.Pager
Renders a previously initialized pager.

G

generateFilteredSQL(String) - Method in class com.zentense.step2.model.FilterSet
Generates the filtered query.
generatePassword() - Static method in class com.zentense.step2.access.AccessMaster
Generates a readable random password of at least 8 characters length
generatePassword(int) - Static method in class com.zentense.step2.access.AccessMaster
Generates a readable random password of any length
genSQL(String) - Method in class com.zentense.step2.model.ResultSetModel
Generates an SQL statement (select ... from table)
genSQL(String, String) - Method in class com.zentense.step2.model.ResultSetModel
Generates an SQL statement (select ... from table where ...)
genSQL(String, String, String) - Method in class com.zentense.step2.model.ResultSetModel
Generates an SQL statement (select ... from table where ... order by ...)
get(int, int, int, int, int) - Static method in class com.zentense.step2.util.Calendar
Creates a new calendar
get(int, int, int) - Static method in class com.zentense.step2.util.Calendar
Creates a new calendar
get(long) - Static method in class com.zentense.step2.util.Calendar
Creates a new calendar
get() - Static method in class com.zentense.step2.util.Calendar
Creates a new calendar with current time
get(String) - Static method in class com.zentense.step2.util.CookieManager
Gets a cookie from the client
get(String) - Method in class com.zentense.step2.util.Form
 
get(String) - Method in class com.zentense.step2.view.ColumnView
 
get(String) - Method in class com.zentense.step2.view.DelegatedView
 
get(String) - Method in class com.zentense.step2.view.FormattedView
 
get(String) - Method in class com.zentense.step2.view.I18NView
 
get(String) - Method in class com.zentense.step2.view.JointView
 
get(String) - Method in class com.zentense.step2.view.MappedView
 
get(String) - Method in class com.zentense.step2.view.RandomAccessView
 
get(String) - Method in class com.zentense.step2.view.ResultSetView
 
get(int) - Method in class com.zentense.step2.view.ResultSetView
Gets the n-th column of current row
get(String) - Method in class com.zentense.step2.view.RowView
Gets a column value
get(int, String) - Method in class com.zentense.step2.view.VectorRowView
Gets a value
get(Vector, int, String) - Static method in class com.zentense.step2.view.VectorRowView
Gets a value from a vector of rows
get(String) - Method in class com.zentense.step2.view.View.Empty
 
get(String) - Method in class com.zentense.step2.view.View
Gets a column value
get2stepResponse() - Method in class com.zentense.step2.RequestRuntime
Gets 2step response object
getAction() - Method in class com.zentense.step2.util.Form
 
getAll() - Method in class com.zentense.step2.model.ResultSetModel
Selects all rows in table.
getAllAllowRules() - Method in class com.zentense.step2.access.AccessMaster
Gets a view with all allow rules
getAllDenyRules() - Method in class com.zentense.step2.access.AccessMaster
Gets a view with all deny rules
getAllGroups() - Method in class com.zentense.step2.access.AccessMaster
Gets a View with all groups
getAllModules() - Method in class com.zentense.step2.access.AccessMaster
Returs a view with all modules
getAllOrderedBy(String) - Method in class com.zentense.step2.model.ResultSetModel
Selects all rows in table ordered.
getAllowedXactionNames(RequestRuntime) - Method in class com.zentense.step2.access.AccessMaster
Returns a view with all resource names minus ones already included into any allow rule
getAllowRule(String) - Method in class com.zentense.step2.access.AccessMaster
Gets allow rule with given name
getAllUsers() - Method in class com.zentense.step2.access.AccessMaster
Gets a View with all users
getAppAccessman() - Method in class com.zentense.step2.RequestRuntime
Returns application access master.
getAppRuntime() - Method in class com.zentense.step2.RequestRuntime
Gets web application runtime.
getBackURL() - Method in class com.zentense.step2.util.Location
Gets previous URL (the one you would go if you would click on back button).
getBegId() - Method in class com.zentense.step2.util.Pager
Gets the URL parameter identifier for the beginning row
getBody() - Method in class com.zentense.step2.util.SendMail
Gets the body of the message
getBodyFromStream(InputStream) - Method in class com.zentense.step2.util.SendMail
Gets the body from an InputStream
getBodyFromURL(String) - Method in class com.zentense.step2.util.SendMail
Gets the body from a URL.
getBool(String) - Method in class com.zentense.step2.view.View
Gets a boolean column
getCachedClone() - Method in class com.zentense.step2.view.View
Return this view as a Vector of Hashtables, where each Hashtable is a row of the view
getCheckpointURL() - Method in class com.zentense.step2.util.Location
Gets checkpoint URL (URL that was saved with save method)
getClone() - Method in class com.zentense.step2.util.Form.SelectField
 
getColor(String) - Method in class com.zentense.step2.view.TableView
Gets color for a column header
getCols() - Method in class com.zentense.step2.view.DelegatedView
 
getCols() - Method in class com.zentense.step2.view.JointView
 
getCols() - Method in class com.zentense.step2.view.MappedView
 
getCols() - Method in class com.zentense.step2.view.ResultSetView
 
getCols() - Method in class com.zentense.step2.view.RowView
Gets column names (keys)
getCols() - Method in class com.zentense.step2.view.TableView
 
getCols() - Method in class com.zentense.step2.view.View.Empty
 
getCols() - Method in class com.zentense.step2.view.View
Returns view columns
getColsAsView() - Method in class com.zentense.step2.view.View
Gets columns as a View
getColumns() - Method in class com.zentense.step2.view.ColumnView
Gets number of columns
getConnection() - Static method in class com.zentense.step2.model.ResultSetModel
 
getConstant(String) - Method in class com.zentense.step2.RequestRuntime
Returns a contant from the application runtime
getCount() - Method in class com.zentense.step2.model.ResultSetModel
Gets number of rows in table (select count(*) from table)
getCount() - Method in class com.zentense.step2.view.ColumnView
Gets the number of rows in this view.
getCount() - Method in class com.zentense.step2.view.DelegatedView
 
getCount() - Method in class com.zentense.step2.view.RandomAccessView
 
getCount() - Method in class com.zentense.step2.view.ResultSetView
Gets results total size
getCount() - Method in class com.zentense.step2.view.VectorRowView
 
getCount() - Method in class com.zentense.step2.view.View.Empty
 
getCount() - Method in class com.zentense.step2.view.View
Gets results total size
getCurrentDay() - Static method in class com.zentense.step2.util.Calendar
Returns the current day of month
getCurrentMonth() - Static method in class com.zentense.step2.util.Calendar
Returns the current month
getCurrentURL() - Method in class com.zentense.step2.util.Location
Gets the 'current' URL.
getCurrentYear() - Static method in class com.zentense.step2.util.Calendar
Returns the current year
getDate() - Static method in class com.zentense.step2.util.Calendar
Returns current date
getDate(String) - Static method in class com.zentense.step2.util.Calendar
Returns current date
getDay(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getDayOfWeek(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getDBConnection() - Method in class com.zentense.step2.RequestRuntime
Gets the database connection assigned to this request
getDeniedXactionNames(RequestRuntime) - Method in class com.zentense.step2.access.AccessMaster
Returns all resource names minus ones already included into any deny rule
getDenyRule(String) - Method in class com.zentense.step2.access.AccessMaster
Gets deny rule with given name
getDouble(int, String) - Method in class com.zentense.step2.view.VectorRowView
Gets value as a double
getDouble(Vector, int, String) - Static method in class com.zentense.step2.view.VectorRowView
Gets double value from a vector of rows
getDouble(String) - Method in class com.zentense.step2.view.View
Gets a double representation of a column
getEncodedServletURL() - Method in class com.zentense.step2.RequestRuntime
Gets the servlet URI of this session with session identifier rewritten wherever needed.
getError() - Method in class com.zentense.step2.util.Check
Return first error
getError() - Method in class com.zentense.step2.util.Shell
Gets the content of the default error stream.
getErrors() - Method in class com.zentense.step2.util.Check
Return all errors.
getErrorStream() - Method in class com.zentense.step2.util.Shell
 
getErrorsView() - Method in class com.zentense.step2.util.Check
Return all errors.
getExitValue() - Method in class com.zentense.step2.util.Shell
Gets the exit value of the last command executed.
getField(String) - Method in class com.zentense.step2.util.Form
 
getFilter(String) - Method in class com.zentense.step2.model.FilterSet
Gets a filter
getFilters() - Method in class com.zentense.step2.model.ResultSetFilterModel
Returns the set of filters
getFilters() - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Returns the set of filters
getFilterValue(String) - Method in class com.zentense.step2.model.FilterSet
Gets value of a filter
getFilterValue(String) - Method in class com.zentense.step2.model.ResultSetFilterModel
Gets a filter value
getFilterValue(String) - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Gets a filter value
getFilterValues() - Method in class com.zentense.step2.model.FilterSet
 
getFromDate(Date) - Static method in class com.zentense.step2.util.Calendar
Creates a new calendar
getGeoIP() - Method in class com.zentense.step2.RequestRuntime
Gets GeoIP look up service.
getGroup(String) - Method in class com.zentense.step2.access.AccessMaster
Gets group descriptor
getHour(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getHREF(String, String) - Static method in class com.zentense.step2.URLSchema
 
getHREF(String) - Method in class com.zentense.step2.util.Location
 
getI18N() - Method in class com.zentense.step2.model.AutoI18NModel
 
getI18NCols() - Method in class com.zentense.step2.model.ResultSetI18NModel
Returns array of I18N columns
getI18NText(String) - Method in class com.zentense.step2.RequestRuntime
 
getIndent(int) - Static method in class com.zentense.step2.view.View
Gets a string composed of 'ind' spaces.
getInt(int, String) - Method in class com.zentense.step2.view.VectorRowView
Gets a value as integer
getInt(Vector, int, String) - Static method in class com.zentense.step2.view.VectorRowView
Gets integer value from a vector of rows
getInt(String) - Method in class com.zentense.step2.view.View
Gets an integer representation of a column value
getLang() - Method in class com.zentense.step2.model.AutoI18NModel
Gets current language
getLang() - Method in class com.zentense.step2.model.ResultSetI18NModel
Gets current language
getLastI18NId() - Method in class com.zentense.step2.model.AutoI18NModel
Returns the last i18n_id from i18n table
getLastI18NId() - Method in class com.zentense.step2.model.ResultSetI18NModel
Returns the last i18n_id from i18n table
getLastItem() - Method in class com.zentense.step2.util.NavBar
 
getLastURL() - Method in class com.zentense.step2.util.NavBar
 
getLinkSetFilterValue(RequestRuntime, String, String) - Static method in class com.zentense.step2.model.ResultSetFilterModel
Returns a URL that invokes the method setFilterValue on an object
getLinkSetFilterValue(RequestRuntime, String, String) - Static method in class com.zentense.step2.model.ResultSetI18NFilterModel
Returns a URL that invokes the method setFilterValue on an object
getLinkSetOrder(RequestRuntime, String) - Static method in class com.zentense.step2.model.ResultSetFilterModel
Returns a URL that invokes the method setOrder on an object
getLinkSetOrder(RequestRuntime, String) - Static method in class com.zentense.step2.model.ResultSetI18NFilterModel
Returns a URL that invokes the method setOrder on an object
getLocalized() - Method in class com.zentense.step2.util.Calendar
Creates a new localized calendar with current time
getLocation() - Method in class com.zentense.step2.RequestRuntime
Gets the Location instance
getLogger() - Method in class com.zentense.step2.RequestRuntime
Gets logger.
getLogLevel() - Method in class com.zentense.step2.RequestRuntime
Gets log level
getMaxId() - Method in class com.zentense.step2.model.ResultSetModel
Gets maximum identifier in table.
getMetaData(Connection) - Method in class com.zentense.step2.model.DBTableData.Table
Gets table meta data
getMinute(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getModel() - Method in class com.zentense.step2.model.AutoI18NModel
Gets the ResultSetModel used for performing queries
getModel(String) - Method in class com.zentense.step2.RequestRuntime
 
getModuleXactionNames(RequestRuntime) - Method in class com.zentense.step2.access.AccessMaster
Returns a view with all the available resource names for creating a module
getModuleXactionNames(RequestRuntime, String) - Method in class com.zentense.step2.access.AccessMaster
Returns all the resource names included in a module
getMonth(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getName() - Method in class com.zentense.step2.util.Form
 
getNumPage() - Method in class com.zentense.step2.util.Pager
Return the current page being visible
getNumPages(int) - Method in class com.zentense.step2.util.Pager
Return the calculated number of pages
getOptions() - Method in class com.zentense.step2.util.Form.SelectField
 
getOrder() - Method in class com.zentense.step2.model.FilterSet
Get current order being used in this set
getOrder() - Method in class com.zentense.step2.model.ResultSetFilterModel
Gets order
getOrder() - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Gets order
getOrdinal() - Method in class com.zentense.step2.view.ColumnView
 
getOrdinal() - Method in class com.zentense.step2.view.DelegatedView
 
getOrdinal() - Method in class com.zentense.step2.view.RandomAccessView
 
getOrdinal() - Method in class com.zentense.step2.view.ResultSetView
 
getOrdinal() - Method in class com.zentense.step2.view.VectorRowView
 
getOrdinal() - Method in class com.zentense.step2.view.View.Empty
 
getOrdinal() - Method in class com.zentense.step2.view.View
Gets the current position of this view.
getOutput() - Method in class com.zentense.step2.util.Shell
Gets the content of the default output stream.
getOutputStream() - Method in class com.zentense.step2.RequestRuntime
Returns the current output stream
getOutputStream() - Method in class com.zentense.step2.util.Shell
 
getParamNames() - Method in class com.zentense.step2.util.Location.URL
 
getParamValues() - Method in class com.zentense.step2.util.Location.URL
 
getPath() - Method in class com.zentense.step2.util.Location.URL
 
getPathParams(String[]) - Method in class com.zentense.step2.URLSchema
Converts path info into request parameters.
getPattern() - Method in class com.zentense.step2.CypheredURLSchema
Returns a regular expression pattern that validates if path info must be processed or not.
getPattern() - Method in class com.zentense.step2.URLSchema
Returns a regular expression pattern that validates if path info must be processed or not.
getPK(int) - Method in class com.zentense.step2.model.AutoModel
Gets i-th primary key column name
getPK() - Method in class com.zentense.step2.model.ResultSetModel
Returns identifier column name
getPKArray() - Method in class com.zentense.step2.model.AutoModel
 
getPool() - Static method in class com.zentense.step2.RequestRuntime
 
getPrepared(String) - Method in class com.zentense.step2.model.ResultSetModel
Returns a prepared statement
getRequest() - Method in class com.zentense.step2.RequestRuntime
Gets servlet request object
getRequestParam(String) - Method in class com.zentense.step2.RequestRuntime
Returns a parameter from the request.
getRequestParamNull(String) - Method in class com.zentense.step2.RequestRuntime
The same as getRequestParam but nulls are returned if parameter is not defined.
getResponse() - Method in class com.zentense.step2.RequestRuntime
Gets servlet response object
getResults() - Method in class com.zentense.step2.view.VectorRowView
Gets results
getResultSet() - Method in class com.zentense.step2.view.ResultSetView
Gets JDBC Resultset
getRow() - Method in class com.zentense.step2.view.RowView
Gets the row of this view
getRow() - Method in class com.zentense.step2.view.View
Gets current row as a Hashtable
getRow(String[]) - Method in class com.zentense.step2.view.View
Gets current row as a Hashtable cols Columns to be included in returned Hashtable
getRowAt(int) - Method in class com.zentense.step2.view.VectorRowView
Gets a row
getRowColor() - Method in class com.zentense.step2.view.TableView
Get color for current row
getRuntime() - Method in class com.zentense.step2.RequestRuntime
Gets application runtime for the request of this VM.
getSecond(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getSelectField(String) - Method in class com.zentense.step2.util.Form
 
getSequence() - Method in class com.zentense.step2.util.Location
Gets current sequence number
getServletOutputStream() - Method in class com.zentense.step2.RequestRuntime
Returns original output stream (got from servlet's response)
getServletURI() - Method in class com.zentense.step2.RequestRuntime
Gets the servlet URI of this session
getSession() - Method in class com.zentense.step2.RequestRuntime
Gets servlet session object
getSize() - Method in class com.zentense.step2.view.ColumnView
 
getSize() - Method in class com.zentense.step2.view.DelegatedView
Gets results size of a page
getSize() - Method in class com.zentense.step2.view.RandomAccessView
 
getSize() - Method in class com.zentense.step2.view.ResultSetView
Gets results size.
getSize() - Method in class com.zentense.step2.view.RowView
Gets results size
getSize() - Method in class com.zentense.step2.view.VectorRowView
Gets results size
getSize() - Method in class com.zentense.step2.view.View.Empty
 
getSize() - Method in class com.zentense.step2.view.View
Gets results size.
getSQL() - Method in class com.zentense.step2.model.FilterSet.FilterSpec
Gets SQL for this filter
getSQL() - Method in class com.zentense.step2.model.FilterSet.SelectFilterSpec
 
getStart() - Method in class com.zentense.step2.view.DelegatedView
 
getStart() - Method in class com.zentense.step2.view.ResultSetView
 
getStart() - Method in class com.zentense.step2.view.VectorRowView
 
getStart() - Method in class com.zentense.step2.view.View
Returns the first visible row in this view.
getStatement() - Method in class com.zentense.step2.view.ResultSetView
Gets JDBC Statement
getStatus(Integer) - Method in class com.zentense.step2.RequestRuntime
Returns a internal status value.
getStep() - Method in class com.zentense.step2.util.Pager
Gets the number of items shown in each page.
getSum(String) - Method in class com.zentense.step2.view.View
Gets the sum of a column
getTable(String) - Static method in class com.zentense.step2.model.DBTableData
Gets table information
getTable() - Method in class com.zentense.step2.util.Form.SelectField
 
getTableColumnNames(String, Connection) - Static method in class com.zentense.step2.model.DBTableData
Get table column names
getTableColumnTypes(String, Connection) - Static method in class com.zentense.step2.model.DBTableData
Get column types of a table
getTableName() - Method in class com.zentense.step2.model.ResultSetModel
Returns table name
getToday() - Static method in class com.zentense.step2.util.Calendar
Returns current date
getTodayOffset(String, int) - Static method in class com.zentense.step2.util.Calendar
Shifts current date
getURL(HttpServletRequest) - Method in class com.zentense.step2.util.Location
 
getUser(String) - Method in class com.zentense.step2.access.AccessMaster
Gets a user with the given name or null it it doesn't exist
getValue() - Method in class com.zentense.step2.model.FilterSet.FilterSpec
Gets filter value
getView() - Method in class com.zentense.step2.view.DelegatedView
Gets original view
getWeekOfMonth(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getWeekOfYear(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
getXMLRow() - Method in class com.zentense.step2.view.FormattedView
 
getYear(Calendar) - Static method in class com.zentense.step2.util.Calendar
 
GroupCols - Static variable in class com.zentense.step2.access.AccessMaster
 

H

hasAccess(String, String) - Method in class com.zentense.step2.access.AccessMaster
Says if user, or a group he/she belongs to, has access to resource name
hideButtons() - Method in class com.zentense.step2.util.Pager
Don't render pager first, next, previous and last buttons.
hideLegend - Variable in class com.zentense.step2.view.ChartView
If true, legend will be hidden (default false)
hideLegend() - Method in class com.zentense.step2.view.ChartView
Hide the legend
hideOnePage() - Method in class com.zentense.step2.util.Pager
Renders an empty string when there is only one page.

I

I18NCols - Variable in class com.zentense.step2.model.ResultSetI18NModel
I18N column names
I18NView - Class in com.zentense.step2.view
This delegated view supports internationalized columns, that is, text columns that are stored as references.
I18NView(View, String, String[]) - Constructor for class com.zentense.step2.view.I18NView
Construncs a I18N view
idName - Variable in class com.zentense.step2.model.ResultSetModel
Name of identifier column
initCypher(HttpServletRequest) - Method in class com.zentense.step2.util.Location
Creates private key for cyphering URLs
initI18NFilters() - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
This method must be called after all filters are added in order to initialize correctly all filters applied to I18N columns
initRender(int, int) - Method in class com.zentense.step2.util.Pager
Initializes pager for being rendered
initXML() - Method in class com.zentense.step2.util.Pager
 
insertI18N(String, String) - Method in class com.zentense.step2.model.AutoI18NModel
Inserts a text into I18N table.
insertI18N(int, String, String) - Method in class com.zentense.step2.model.AutoI18NModel
Inserts a text into I18N table
insertI18N(int, String, String) - Method in class com.zentense.step2.model.ResultSetI18NModel
Inserts a text into I18N table
insertI18N(String, String) - Method in class com.zentense.step2.model.ResultSetI18NModel
Inserts a text into I18N table.
insertMode() - Method in class com.zentense.step2.model.ResultSetModel
Returns an updatable view with one row that can be updated and then inserted into table with insertRow
insertMode(Object) - Method in class com.zentense.step2.model.ResultSetModel
Returns an updatable view with one row that can be updated and then inserted into table with insertRow
insertOptionAt(String, String, int) - Method in class com.zentense.step2.util.Form.SelectField
 
insertRow() - Method in class com.zentense.step2.view.ResultSetView
Inserts current row into database.
insertRow() - Method in class com.zentense.step2.view.View
Inserts row.
insertRowAt(Hashtable, int) - Method in class com.zentense.step2.view.VectorRowView
Inserts a row
isBadCol(String) - Method in class com.zentense.step2.util.Check
Tells if a checking performed on a column was right or not.
isDouble(String) - Static method in class com.zentense.step2.util.Check
Checks if given string is a dobule
isEmail(String) - Static method in class com.zentense.step2.util.Check
Checks if a given string is a e-mail.
isEmpty() - Method in class com.zentense.step2.view.RowView
Is this row empty?
isEmptyEntriesAllowed() - Method in class com.zentense.step2.model.ResultSetI18NModel
 
isEmptyRow() - Method in class com.zentense.step2.view.ColumnView
 
isI18NCol(String) - Method in class com.zentense.step2.model.ResultSetI18NModel
Returns true if column is internationalized
isIdent(String) - Static method in class com.zentense.step2.util.Check
Checks if a given string is a identifier.
isInteger(String) - Static method in class com.zentense.step2.util.Check
Checks if given string is an integer
isNatural(String) - Static method in class com.zentense.step2.util.Check
Checks if given string is a natural number
isNIF(String) - Static method in class com.zentense.step2.util.Check
Checks if a given string is a NIF.
isSpaces(String) - Static method in class com.zentense.step2.util.Check
Checks if given string is more than just spaces
isValidDate(String, String) - Method in class com.zentense.step2.util.Check
Returns true if given String is a valid date in the form defined by the pattern
isValidHour(String) - Static method in class com.zentense.step2.util.Check
Returns true if given String is a valid hour in the form hh:mm
isVisible(int) - Method in class com.zentense.step2.util.Pager
There are more than one pages?

J

JointView - Class in com.zentense.step2.view
This class allows to join two views row by row.
JointView(View, String, View, String, boolean, boolean) - Constructor for class com.zentense.step2.view.JointView
Constructor for a joint view

K

kill(String) - Method in class com.zentense.step2.util.CookieManager
Kill a cookie in the client browser

L

lang - Variable in class com.zentense.step2.model.ResultSetI18NModel
Language used to retrieve I18N texts
legendLabels - Variable in class com.zentense.step2.view.ChartView
 
limit - Static variable in class com.zentense.step2.view.ChartView
 
limitData(String, boolean) - Method in class com.zentense.step2.view.ChartView
 
limitString(String, int, String) - Static method in class com.zentense.step2.util.StringUtil
Cuts a string if it is too long.
link(RequestRuntime, String, String, String) - Static method in class com.zentense.step2.view.TableView
Writes a link that does an action over this table
load() - Method in class com.zentense.step2.access.AccessMaster
Processes properties and initialize data structures
load(RequestRuntime) - Method in class com.zentense.step2.access.AccessMaster
Initializes this access master state from application access properties file
loadProps(String) - Method in class com.zentense.step2.access.AccessMaster
Loads properties file from a file
loadProps(InputStream) - Method in class com.zentense.step2.access.AccessMaster
Loads properties file from an input stream.
loadResourceProps(String) - Method in class com.zentense.step2.access.AccessMaster
Loads the properties file from a resource descriptor
loadUsers() - Method in class com.zentense.step2.access.AccessMaster
Loads users
Location - Class in com.zentense.step2.util
This class manipulates URL locations: you can forward to a new location, or just go back, save a URL and restore it afterwards, or cypher URLs.
Location() - Constructor for class com.zentense.step2.util.Location
Empty constructor
Location(RequestRuntime) - Constructor for class com.zentense.step2.util.Location
Constructs the location and saves current page
Location.URL - Class in com.zentense.step2.util
 
Location.URL(HttpServletRequest) - Constructor for class com.zentense.step2.util.Location.URL
 
Location.URL(HttpServletRequest, String) - Constructor for class com.zentense.step2.util.Location.URL
 
log(String) - Method in class com.zentense.step2.RequestRuntime
Logs something with timestamp
logError(String) - Method in class com.zentense.step2.RequestRuntime
Logs an error
logLevel - Static variable in class com.zentense.step2.model.ResultSetModel
 
logRuntime(String) - Method in class com.zentense.step2.RequestRuntime
Logs something if debug is enabled
loop() - Method in class com.zentense.step2.util.Pager
Make the pager looped (it shows links to several pages).
loopMode() - Method in class com.zentense.step2.model.ResultSetModel
Prepares this model for generating a scrollable, read only resultset the next time a query will be executed.

M

MappedView - Class in com.zentense.step2.view
This class implements a view with columns mapped to arbitrary names Notice that real column names always return right values even when they are mapped to arbitrary names.
MappedView(View) - Constructor for class com.zentense.step2.view.MappedView
Constructor
match(String, String) - Static method in class com.zentense.step2.util.Check
Matches a string versus a regular expression.
Math - Class in com.zentense.step2.util
This bean does some basic mathematics operations
Math() - Constructor for class com.zentense.step2.util.Math
Default constructor
MAX_PORTIONS - Static variable in class com.zentense.step2.view.ChartView
 
maxlength - Variable in class com.zentense.step2.util.Form.TextField
 
md5Hash(String) - Static method in class com.zentense.step2.access.AccessMaster
Cyphers a password using MD5 hash algorithm
methodIsAllowed(String, String, String) - Method in class com.zentense.step2.access.AccessMaster
Returns if given name is an allowed method to be executed through a bean URL request.
model - Variable in class com.zentense.step2.model.AutoI18NModel
The model used for delegating functionality
modifyI18N(int, String, String) - Method in class com.zentense.step2.model.ResultSetI18NModel
If text with given id exists, text is updated on i18n table.
modModule(HttpServletRequest, String) - Method in class com.zentense.step2.access.AccessMaster
Updates a module from a request
ModuleCols - Static variable in class com.zentense.step2.access.AccessMaster
 
modules - Variable in class com.zentense.step2.access.AccessMaster
Module list
ModuleXactionCols - Static variable in class com.zentense.step2.access.AccessMaster
 
multipart() - Method in class com.zentense.step2.util.Form
Writes a multipart form tag
multipart(String) - Method in class com.zentense.step2.util.Form
 
mutex - Static variable in class com.zentense.step2.view.ChartView
 

N

name - Variable in class com.zentense.step2.model.AutoModel
Model name
name - Variable in class com.zentense.step2.model.DBTableData.Table
Name of the table
NavBar - Class in com.zentense.step2.util
This class generates the HTML for a fully customizable navigation bar
NavBar() - Constructor for class com.zentense.step2.util.NavBar
Empty contstructor
next() - Method in class com.zentense.step2.view.ColumnView
Advances the view to the next row to be shown.
next() - Method in class com.zentense.step2.view.DelegatedView
 
next() - Method in class com.zentense.step2.view.I18NView
 
next() - Method in class com.zentense.step2.view.JointView
 
next() - Method in class com.zentense.step2.view.RandomAccessView
 
next() - Method in class com.zentense.step2.view.ResultSetView
 
next() - Method in class com.zentense.step2.view.VectorRowView
 
next() - Method in class com.zentense.step2.view.View.Empty
 
next() - Method in class com.zentense.step2.view.View
Advances the view to the next row.
NO_FORMAT - Static variable in class com.zentense.step2.view.FormattedView
The null formatter instance
noFixXML() - Method in class com.zentense.step2.view.FormattedView
When using toXML methods, column contents will be formatted as is, even if that result in a malformed XML
noFixXMLByDefault() - Static method in class com.zentense.step2.view.FormattedView
This initializes new FormattedView instances to dump column contents as they are when formatting view to XML
noloop() - Method in class com.zentense.step2.util.Pager
Makes the pager not looped (Show only current page)
numberFormat(Number, String, Locale) - Static method in class com.zentense.step2.util.Math
Formats a number with a pattern
numberFormat(Number, String) - Static method in class com.zentense.step2.util.Math
Formats a number with a pattern
nuUser(String, String, String) - Method in class com.zentense.step2.access.AccessMaster
Creates a new user

O

offset(Calendar, String, int) - Static method in class com.zentense.step2.util.Calendar
Adds offset value to specified field of given calendar
open(String) - Method in class com.zentense.step2.util.Form
Writes a form tag, posted with POST method
open(String, String) - Method in class com.zentense.step2.util.Form
Writes a form tag
open() - Method in class com.zentense.step2.view.ColumnView
 
open() - Method in class com.zentense.step2.view.DelegatedView
 
open() - Method in class com.zentense.step2.view.JointView
 
open() - Method in class com.zentense.step2.view.RandomAccessView
 
open() - Method in class com.zentense.step2.view.ResultSetView
 
open() - Method in class com.zentense.step2.view.VectorRowView
 
open() - Method in class com.zentense.step2.view.View.Empty
 
open() - Method in class com.zentense.step2.view.View
Position the view before the first visible row
order - Variable in class com.zentense.step2.model.FilterSet
Current order (null is unordered)
order - Variable in class com.zentense.step2.view.TableView
Which column is used for ordering the table
order(String) - Method in class com.zentense.step2.view.VectorRowView
Sorts the view
OTHERS_LIMIT - Static variable in class com.zentense.step2.view.ChartView
 

P

Pager - Class in com.zentense.step2.util
This class generates a fully customizable pager
Pager() - Constructor for class com.zentense.step2.util.Pager
Default constructor
paints - Variable in class com.zentense.step2.view.ChartView
 
paramSeparator - Static variable in class com.zentense.step2.URLSchema
Is "&" needed anytime?
parse(String, String) - Static method in class com.zentense.step2.util.Calendar
Parses a Calendar from a String.
parse(String) - Static method in class com.zentense.step2.util.Math
Parses a number from String using decault Locale
parse(String, Locale) - Static method in class com.zentense.step2.util.Math
Parses a number from String using decault Locale
parseAndFormat(String, String, String) - Static method in class com.zentense.step2.util.Calendar
Parses a Calendar from a String.
patSlash - Static variable in class com.zentense.step2.URLSchema
 
PieChartView - Class in com.zentense.step2.view
This class implements a pie chart view
PieChartView(View) - Constructor for class com.zentense.step2.view.PieChartView
Constructor
pop() - Method in class com.zentense.step2.util.NavBar
 
popRequest() - Method in class com.zentense.step2.util.Location
Removes last request from the location stack
populate(HttpServletRequest) - Method in class com.zentense.step2.util.Form
Populates field values from request
populatePartial(View) - Method in class com.zentense.step2.util.Form
Populates field values from view.
prepare(int, int) - Method in class com.zentense.step2.model.AutoI18NModel
 
prepare(int, int) - Method in class com.zentense.step2.model.ResultSetModel
Sets the features for the next resultset generated by this model
prepared - Variable in class com.zentense.step2.model.ResultSetModel
Hashtable of prepared stataments
preparedTableId - Variable in class com.zentense.step2.model.ResultSetModel
Prepared table id
prepareStatements() - Method in class com.zentense.step2.model.ResultSetModel
Creates prepared statements if any.
props - Variable in class com.zentense.step2.access.AccessMaster
Properties
ptr - Variable in class com.zentense.step2.view.VectorRowView
Number of row being read.
push(String, String) - Method in class com.zentense.step2.util.NavBar
Adds an item to the bar
pushRequest(HttpServletRequest) - Method in class com.zentense.step2.util.Location
Used internayly by 2step: pushes a request into the location stack
put(int, String, Object) - Method in class com.zentense.step2.view.VectorRowView
Puts a value

R

radioValue - Variable in class com.zentense.step2.util.Form.RadioField
 
random(Number) - Static method in class com.zentense.step2.util.Math
Gives a pseudo-random integer between 0 and lim-1
RandomAccessView - Class in com.zentense.step2.view
This view allows to change the order of the rows of another view.
RandomAccessView(View, Integer[]) - Constructor for class com.zentense.step2.view.RandomAccessView
Constructor
RandomAccessView(View, Vector) - Constructor for class com.zentense.step2.view.RandomAccessView
Constructor
randomPosition() - Method in class com.zentense.step2.view.View
Moves to a random row from this view
recompile(Integer, Boolean) - Method in class com.zentense.step2.RequestRuntime
Recompiles the current application
recycle() - Method in class com.zentense.step2.util.Shell
Reassigns output and error streams to new ByteArrayOutputStreams.
refresh() - Method in class com.zentense.step2.util.Location
Refreshes current URL
refresh(int) - Method in class com.zentense.step2.util.Location
Reloads a URL
regExpReplace(String) - Method in class com.zentense.step2.view.FormattedView
 
reload(Boolean) - Method in class com.zentense.step2.RequestRuntime
Reloads the application.
removePath(String, String) - Static method in class com.zentense.step2.util.StringUtil
Remove path information from a filename returning only its file component
removeRow(int) - Method in class com.zentense.step2.view.VectorRowView
Removes a row
render(String, String) - Method in class com.zentense.step2.util.Form.CheckboxField
 
render(String, String) - Method in class com.zentense.step2.util.Form.Field
 
render(String, String) - Method in class com.zentense.step2.util.Form.FileField
 
render(String, String) - Method in class com.zentense.step2.util.Form.PasswordField
 
render(String, String) - Method in class com.zentense.step2.util.Form.RadioField
 
render(String, String) - Method in class com.zentense.step2.util.Form.SelectField
 
render(String, String) - Method in class com.zentense.step2.util.Form.TextAreaField
 
render(String, String) - Method in class com.zentense.step2.util.Form.TextField
 
render(Vector, Vector, RequestRuntime) - Method in class com.zentense.step2.util.NavBar
Renders the navigation bar.
render_(RequestRuntime) - Method in class com.zentense.step2.util.NavBar
Renders the navigation bar
renderAll() - Method in class com.zentense.step2.view.TableView
Renders headers and table
renderAscOrderButton(int) - Method in class com.zentense.step2.view.TableView
Code for rendering an ascending order button
renderBlock(String, String) - Method in class com.zentense.step2.RequestRuntime
Renders dynamically a block.
renderCellSeparator() - Method in class com.zentense.step2.view.TableView
Code rendered between cells
renderChart(int, int, String, String) - Method in class com.zentense.step2.view.AxisChartView
 
renderChart(int, int, String, String, boolean) - Method in class com.zentense.step2.view.AxisChartView
Renders the axis chart.
renderDescOrderButton(int) - Method in class com.zentense.step2.view.TableView
Code for rendering a descending order button
renderField(String) - Method in class com.zentense.step2.util.Form
 
renderField(String, String) - Method in class com.zentense.step2.util.Form
 
renderHeaders() - Method in class com.zentense.step2.view.TableView
Renders headers
renderHeaderSeparator() - Method in class com.zentense.step2.view.TableView
Code rendered between two headers
renderHidden(String, String) - Method in class com.zentense.step2.util.Form
 
renderLimited(int, int, String, String) - Method in class com.zentense.step2.view.PieChartView
Renders a pie chart, but all slices are ordered from biggest to smallest.
renderNext() - Method in class com.zentense.step2.util.Pager
Renders next and last buttons if visibl
renderOption(String, String, String) - Method in class com.zentense.step2.util.Form
 
renderOption(String, String) - Method in class com.zentense.step2.util.Form.SelectField
 
renderPager() - Method in class com.zentense.step2.util.Pager
Renders the pager without any button
renderPie(int, int, String, String) - Method in class com.zentense.step2.view.PieChartView
Renders a pie chart.
renderPostCell(int) - Method in class com.zentense.step2.view.TableView
Code rendered after each cell
renderPostHeader(int) - Method in class com.zentense.step2.view.TableView
Code rendered after each header
renderPostHeaderRow() - Method in class com.zentense.step2.view.TableView
Code rendered after headers row
renderPostRow(int) - Method in class com.zentense.step2.view.TableView
Code rendered after each row
renderPreCell(int) - Method in class com.zentense.step2.view.TableView
Code rendered before each cell
renderPreHeader(int) - Method in class com.zentense.step2.view.TableView
Code rendered before each header
renderPreHeaderRow() - Method in class com.zentense.step2.view.TableView
Code rendered before header row
renderPreRow(int) - Method in class com.zentense.step2.view.TableView
Code rendered before each row.
renderPrev() - Method in class com.zentense.step2.util.Pager
Renders previous and first buttons if visible
renderRadio(String, String, String) - Method in class com.zentense.step2.util.Form
 
renderRowSeparator() - Method in class com.zentense.step2.view.TableView
Code rendered between rows
renderSubmit(String) - Method in class com.zentense.step2.util.Form
Writes a submit button
renderSubmit(String, String) - Method in class com.zentense.step2.util.Form
Writes a submit button
renderTable() - Method in class com.zentense.step2.view.TableView
Renders table
renderTemplate(String) - Method in class com.zentense.step2.RequestRuntime
Renders a template dynamically
renderXML(String) - Method in class com.zentense.step2.util.Pager
 
RequestRuntime - Class in com.zentense.step2
This class is a tier between web application and 2step runtime objects.
RequestRuntime() - Constructor for class com.zentense.step2.RequestRuntime
Constructor for the RequestRuntime object
RequestRuntime(Response) - Constructor for class com.zentense.step2.RequestRuntime
Constructor for this class from a response
RequestRuntime(Response, HashMap) - Constructor for class com.zentense.step2.RequestRuntime
Constructor for this class from a response and request params.
res - Variable in class com.zentense.step2.view.VectorRowView
Vector that holds all rows
reset() - Static method in class com.zentense.step2.model.DBTableData
Resets table of prepared statements
restore() - Method in class com.zentense.step2.util.Location
Restores a previously saved location
ResultSetFilterModel - Class in com.zentense.step2.model
This class is a ResultSet model extended with a FilterSet that can be used for generate filtered queries.
ResultSetFilterModel() - Constructor for class com.zentense.step2.model.ResultSetFilterModel
 
ResultSetFilterModel(String, String) - Constructor for class com.zentense.step2.model.ResultSetFilterModel
Constructor
ResultSetI18NFilterModel - Class in com.zentense.step2.model
This class is a ResultSetI18NModel extended with a FilterSet that can be used for performing filtered queries.
ResultSetI18NFilterModel() - Constructor for class com.zentense.step2.model.ResultSetI18NFilterModel
 
ResultSetI18NFilterModel(String, String) - Constructor for class com.zentense.step2.model.ResultSetI18NFilterModel
Constructor
ResultSetI18NModel - Class in com.zentense.step2.model
This class implements an internationalized resultset model.
ResultSetI18NModel() - Constructor for class com.zentense.step2.model.ResultSetI18NModel
 
ResultSetI18NModel(String, String) - Constructor for class com.zentense.step2.model.ResultSetI18NModel
Constructor
ResultSetModel - Class in com.zentense.step2.model
A model represent a table, that is, a collection of rows, where each row is a collection of columns, where one or more of the columns are used to identify each row from the other ones.
ResultSetModel() - Constructor for class com.zentense.step2.model.ResultSetModel
 
ResultSetModel(String, String) - Constructor for class com.zentense.step2.model.ResultSetModel
 
ResultSetView - Class in com.zentense.step2.view
A view is a collection of rows where a row is a collection of columns.
ResultSetView() - Constructor for class com.zentense.step2.view.ResultSetView
Default constructor
ResultSetView(Connection, int, int) - Constructor for class com.zentense.step2.view.ResultSetView
Creates and initializes a ResultSetView
reverse() - Method in class com.zentense.step2.view.VectorRowView
Reverses the results
round(Number) - Static method in class com.zentense.step2.util.Math
Gives the rounded nearest integer
row - Variable in class com.zentense.step2.view.RowView
Current row values
row1Col - Variable in class com.zentense.step2.view.TableView
Color for odd rows
row2Col - Variable in class com.zentense.step2.view.TableView
Color for even rows
rowMode() - Method in class com.zentense.step2.model.ResultSetModel
Prepares this model for generating a forward only, read only resultset the next time a query will be executed.
rows - Variable in class com.zentense.step2.util.Form.TextAreaField
 
RowView - Class in com.zentense.step2.view
This class is a view of a single row.
RowView() - Constructor for class com.zentense.step2.view.RowView
Empty constructor
RowView(Hashtable) - Constructor for class com.zentense.step2.view.RowView
Constructs a RowView from a Hashtable
RowView(Vector) - Constructor for class com.zentense.step2.view.RowView
Constructs a RowView from a Vector.
RSConcur - Variable in class com.zentense.step2.model.ResultSetModel
Concurrency of newxt resultset
RSType - Variable in class com.zentense.step2.model.ResultSetModel
Type of next resultset
RuleCols - Static variable in class com.zentense.step2.access.AccessMaster
 
ruleToString(HashSet) - Static method in class com.zentense.step2.access.AccessMaster
Returns a string representation of the HashSet
run() - Method in class com.zentense.step2.util.Shell
This method is executed by a thread that wait for the shell process to end.

S

save(RequestRuntime) - Method in class com.zentense.step2.access.AccessMaster
Save this object state to the application access properties file
save(String) - Method in class com.zentense.step2.access.AccessMaster
Save this object state to a properties file
save(HttpServletRequest, String) - Method in class com.zentense.step2.util.Location
Saves current url, so it could be restored with restore.
save(HttpServletRequest) - Method in class com.zentense.step2.util.Location
Saves current url, so it could be restored with restore in the future
saveProps() - Method in class com.zentense.step2.access.AccessMaster
Saves groups and database to properties file
secondsAgo() - Method in class com.zentense.step2.RequestRuntime
Time elapsed since server was started
selCol - Variable in class com.zentense.step2.view.TableView
Color for selected column (one which order is get from)
sendIt() - Method in class com.zentense.step2.util.SendMail
Send the message.
SendMail - Class in com.zentense.step2.util
This class purpose is sending MIME emails through an SMTP server either using authenticated connection or not
SendMail() - Constructor for class com.zentense.step2.util.SendMail
Default constructor
SendMail(String) - Constructor for class com.zentense.step2.util.SendMail
Constructor for non-authenticated mail
SendMail(String, String, String) - Constructor for class com.zentense.step2.util.SendMail
Constructor for authenticated mail
serverName - Variable in class com.zentense.step2.util.Form.FileField
 
set(String, String) - Method in class com.zentense.step2.util.CookieManager
Sends a cookie to client that will expire with the session.
set(String, String, int) - Method in class com.zentense.step2.util.CookieManager
Sends a cookie to client
set(String, Object) - Method in class com.zentense.step2.util.Form
 
set(String, Object) - Method in class com.zentense.step2.view.DelegatedView
 
set(String, Object) - Method in class com.zentense.step2.view.ResultSetView
Sets a (key, value) pair.
set(String, Object) - Method in class com.zentense.step2.view.RowView
Sets a (key, value) pair
set(String, Object) - Method in class com.zentense.step2.view.View
Sets a (key, value) pair
setAction(String) - Method in class com.zentense.step2.util.Form
 
setAdminUsers(AccessMaster) - Method in class com.zentense.step2.access.AccessMaster
Copies administration users (2stepadmin and 2stepstats) from given AccessMaster to this one
setAllowRule(String, String) - Method in class com.zentense.step2.access.AccessMaster
Sets allow rule
setAuthentication(boolean) - Method in class com.zentense.step2.util.SendMail
Enable/Disable SMTP authentication
setBegId(String) - Method in class com.zentense.step2.util.Pager
Sets the name of URL parameter that will be used as the pointer to the first row to be viewed in current page.
setBegin(int) - Method in class com.zentense.step2.util.Pager
Sets the first item to be rendered in current page. 0 means that this page is the first page.
setBody(String) - Method in class com.zentense.step2.util.SendMail
Sets the body of the message
setClassLoader(ClassLoader) - Method in class com.zentense.step2.access.AccessMaster
Sets the class loader that will be used for loading properties file as resource
setColorColumn(String) - Method in class com.zentense.step2.view.PieChartView
Sets the view column that holds colors for pie slices.
setColors(String, String) - Method in class com.zentense.step2.view.TableView
Set colors for selected and unselected background column headers
setColumns(int) - Method in class com.zentense.step2.view.ColumnView
Sets number of columns
setContentType(String) - Method in class com.zentense.step2.util.SendMail
Sets the content type of the mail body.
setCrypt(boolean) - Method in class com.zentense.step2.access.AccessMaster
Sets if passwords are MD5 ciphered or plain
setDBConnection(Connection) - Method in class com.zentense.step2.RequestRuntime
 
setDefault(String, String) - Method in class com.zentense.step2.util.Form
 
setDefaultLocale(Locale) - Static method in class com.zentense.step2.view.FormattedView
This initializes new FormattedView instances to use this Locale
setDefaultLocale(String) - Method in class com.zentense.step2.view.FormattedView
This initializes new FormattedView instances to use this Locale
setDenyRule(String, String) - Method in class com.zentense.step2.access.AccessMaster
Sets deny rule
setEmptyEntriesAllowed(boolean) - Method in class com.zentense.step2.model.ResultSetI18NModel
 
setEmptyOption(boolean) - Method in class com.zentense.step2.util.Form.SelectField
 
setErrorStream(OutputStream) - Method in class com.zentense.step2.util.Shell
Sets shell error stream.
setFilters(FilterSet) - Method in class com.zentense.step2.model.ResultSetFilterModel
Sets another set of filters
setFilters(FilterSet) - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Sets another set of filters
setFilterValue(String, String) - Method in class com.zentense.step2.model.FilterSet
Sets the value of a filter
setFilterValue(String, String, String) - Method in class com.zentense.step2.model.FilterSet
Sets the value of a BetweenFilter
setFilterValue(String, String) - Method in class com.zentense.step2.model.ResultSetFilterModel
Sets a filter vlaue
setFilterValue(String, String) - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Sets a filter vlaue
setFilterValues(RequestRuntime) - Method in class com.zentense.step2.model.FilterSet
Update filters from request parameters
setFont(String, int, int) - Method in class com.zentense.step2.view.ChartView
Sets font used by legends
setFrom(String) - Method in class com.zentense.step2.util.SendMail
Sets from email address
setGroup(String, String) - Method in class com.zentense.step2.access.AccessMaster
Sets group descriptor
setHost(String) - Method in class com.zentense.step2.util.SendMail
Sets SMTP host name.
setHTML(String) - Method in class com.zentense.step2.util.Pager
Adds HTML code for rendering links to other pages.
setHTMLFirst(String) - Method in class com.zentense.step2.util.Pager
Sets the HTML code for rendering the link to first page.
setHTMLItem(String) - Method in class com.zentense.step2.util.NavBar
Adds HTML code to render an item
setHTMLLast(String) - Method in class com.zentense.step2.util.Pager
Sets the HTML code for rendering the link to last page.
setHTMLNext(String) - Method in class com.zentense.step2.util.Pager
Sets the HTML code for rendering the link to next page.
setHTMLPrev(String) - Method in class com.zentense.step2.util.Pager
Sets the HTML code for rendering the link to previous page.
setHTMLSel(String) - Method in class com.zentense.step2.util.Pager
Adds HTML code for rendering the current page link in the pager.
setHTMLSelItem(String) - Method in class com.zentense.step2.util.NavBar
Adds HTML code for rendering the selected item
setHTMLSep(String) - Method in class com.zentense.step2.util.NavBar
Adds HTML code for rendering the separator
setHTMLSeparator(String) - Method in class com.zentense.step2.util.Pager
Sets the HTML code for separator.
setI18N(String) - Method in class com.zentense.step2.RequestRuntime
Initializes I18N subsytem with the language that is stored in the session variable lang.
setI18NCols(String[]) - Method in class com.zentense.step2.model.ResultSetI18NModel
Sets I18N columns
setLang(String) - Method in class com.zentense.step2.model.AutoI18NModel
Sets language manually.
setLang(String) - Method in class com.zentense.step2.model.ResultSetI18NModel
Sets language manually.
setLegendColumns(int) - Method in class com.zentense.step2.view.PieChartView
Set number of columns in legend.
setLimit(int) - Method in class com.zentense.step2.util.Pager
Sets the maximum number of links to pages to be rendered.
setLocale(Locale) - Method in class com.zentense.step2.util.Calendar
Sets default locale for this calendar
setLocale(Locale) - Method in class com.zentense.step2.view.FormattedView
Sets locale to be used when formatting numbers
setLocale(String) - Method in class com.zentense.step2.view.FormattedView
Sets locale to be used when formatting numbers
setMaps(Hashtable) - Method in class com.zentense.step2.view.MappedView
Sets all mappings used in this view
setModel(ResultSetModel) - Method in class com.zentense.step2.model.AutoI18NModel
Sets the ResultSetModel used for performing queries
setOptions(View) - Method in class com.zentense.step2.util.Form.SelectField
 
setOrder(String) - Method in class com.zentense.step2.model.FilterSet
Sets column that will be used for ordering the filtered query.
setOrder(String) - Method in class com.zentense.step2.model.ResultSetFilterModel
Sets order
setOrder(String) - Method in class com.zentense.step2.model.ResultSetI18NFilterModel
Sets order
setOrder(String) - Method in class com.zentense.step2.view.TableView
Sets order.
setOutputStream(OutputStream) - Method in class com.zentense.step2.RequestRuntime
Sets the output stream
setOutputStream(OutputStream) - Method in class com.zentense.step2.util.Shell
Sets shell output stream.
setPageBounds(int, int) - Method in class com.zentense.step2.view.DelegatedView
 
setPageBounds(int, int) - Method in class com.zentense.step2.view.JointView
 
setPageBounds(int, int) - Method in class com.zentense.step2.view.RandomAccessView
 
setPageBounds(int, int) - Method in class com.zentense.step2.view.ResultSetView
Unboxed version of setPageBounds
setPageBounds(int, int) - Method in class com.zentense.step2.view.VectorRowView
 
setPageBounds(String, int, Pager) - Method in class com.zentense.step2.view.View
Sets page bounds.
setPageBounds(AppUnit) - Method in class com.zentense.step2.view.View
Sets page bounds.
setPageBounds(int, int) - Method in class com.zentense.step2.view.View
Sets page bounds.
setPageBounds(int, int, Pager) - Method in class com.zentense.step2.view.View
Sets page bounds.
setParams(String) - Method in class com.zentense.step2.util.Pager
Sets the URL params needed for constructing links to other pages.
setPosition(int) - Method in class com.zentense.step2.view.DelegatedView
 
setPosition(int) - Method in class com.zentense.step2.view.I18NView
 
setPosition(int) - Method in class com.zentense.step2.view.JointView
 
setPosition(int) - Method in class com.zentense.step2.view.RandomAccessView
 
setPosition(int) - Method in class com.zentense.step2.view.ResultSetView
 
setPosition(int) - Method in class com.zentense.step2.view.VectorRowView
 
setPosition(int) - Method in class com.zentense.step2.view.View
Moves to another row in view
setRequestParam(String, String) - Method in class com.zentense.step2.RequestRuntime
Sets a request parameter.
setResults(Vector) - Method in class com.zentense.step2.view.VectorRowView
Sets results
setResults(VectorRowView) - Method in class com.zentense.step2.view.VectorRowView
Sets results
setRow(Hashtable) - Method in class com.zentense.step2.view.RowView
Sets the row (the Hashtable) of this view.
setRow(Vector) - Method in class com.zentense.step2.view.RowView
Sets the row of this view.
setRowColors(String, String) - Method in class com.zentense.step2.view.TableView
Set colors for background rows
setRowOp(Vector) - Method in class com.zentense.step2.view.RowView
This method is used internally by 2step.
setRuntime(StaticRuntime) - Method in class com.zentense.step2.RequestRuntime
 
setSMTPPwd(String) - Method in class com.zentense.step2.util.SendMail
Sets the smtp password
setSMTPUser(String) - Method in class com.zentense.step2.util.SendMail
Sets the SMTP user
setStep(int) - Method in class com.zentense.step2.util.Pager
Sets the number of items to be shown in each page.
setSubject(String) - Method in class com.zentense.step2.util.SendMail
Sets the subject of the message
setURI(String) - Static method in class com.zentense.step2.URLSchema
 
setUser(String, String) - Method in class com.zentense.step2.access.AccessMaster
Sets a user password
setValue(String) - Method in class com.zentense.step2.model.FilterSet.FilterSpec
Sets filter value.
setView(View) - Method in class com.zentense.step2.view.ColumnView
 
setView(View) - Method in class com.zentense.step2.view.DelegatedView
Sets original view this view delegates to
Shell - Class in com.zentense.step2.util
Executes shell commands
Shell() - Constructor for class com.zentense.step2.util.Shell
Empty constructor
showButtons() - Method in class com.zentense.step2.util.Pager
Render pager first, next, previous and last buttons.
showOnePage() - Method in class com.zentense.step2.util.Pager
Renders pager even when it has a unique page.
size - Variable in class com.zentense.step2.util.Form.TextField
 
sleep(Integer) - Method in class com.zentense.step2.RequestRuntime
Sleeps current thread some time.
startCheck() - Method in class com.zentense.step2.util.Check
Initializes multiple checking.
StringUtil - Class in com.zentense.step2.util
This class does basic operations on strings.
StringUtil() - Constructor for class com.zentense.step2.util.StringUtil
Default constructor

T

table - Variable in class com.zentense.step2.model.ResultSetModel
Table metadata
tableize(String) - Static method in class com.zentense.step2.access.AccessMaster
Converts a list on a String to a HashSet
TableView - Class in com.zentense.step2.view
This class implements a view that renders into a table.
TableView() - Constructor for class com.zentense.step2.view.TableView
Empty constructor
TableView(View) - Constructor for class com.zentense.step2.view.TableView
Constructor
textExists(int, String) - Method in class com.zentense.step2.model.AutoI18NModel
Exists a text in current language?
textExists(int, String) - Method in class com.zentense.step2.model.ResultSetI18NModel
Exists a text in current language?
toCSV() - Method in class com.zentense.step2.view.FormattedView
 
toCSV(boolean) - Method in class com.zentense.step2.view.FormattedView
 
toCSV(String, boolean) - Method in class com.zentense.step2.view.FormattedView
 
toCSVColumns(String[], String) - Method in class com.zentense.step2.view.FormattedView
 
toString() - Method in class com.zentense.step2.util.Location.URL
 
toString() - Method in class com.zentense.step2.view.DelegatedView
 
toString() - Method in class com.zentense.step2.view.ResultSetView
Returns an string representation of this object
toString() - Method in class com.zentense.step2.view.RowView
Returns an string representation of this object
toString() - Method in class com.zentense.step2.view.VectorRowView
Gives a string representation of this object
toVectorRow() - Method in class com.zentense.step2.view.VectorRowView
 
toXML() - Method in class com.zentense.step2.model.FilterSet.FilterSpec
 
toXML(String, int) - Method in class com.zentense.step2.model.FilterSet
Returns a XML repersentation of this filter set state
toXML(int) - Method in class com.zentense.step2.util.Form
Returns a XML representation of the state of this form
toXML(int) - Method in class com.zentense.step2.view.FormattedView
Return current row as XML code.
toXML(Hashtable) - Method in class com.zentense.step2.view.FormattedView
Returns Hashtable as XML representation without indentation.
toXML(Hashtable, int) - Method in class com.zentense.step2.view.FormattedView
Returns Hashtable as XML representation.
toXML(String) - Method in class com.zentense.step2.view.FormattedView
Returns an XML representation of this view.
toXML(String, int) - Method in class com.zentense.step2.view.FormattedView
Returns an XML representation of this view.
transpose() - Method in class com.zentense.step2.view.ColumnView
Transposes data
types - Variable in class com.zentense.step2.model.DBTableData.Table
Column types

U

UNKNOWN - Static variable in class com.zentense.step2.access.AccessMaster
 
unselCol - Variable in class com.zentense.step2.view.TableView
Color for the rest of columns
update(String, Object) - Method in class com.zentense.step2.model.ResultSetModel
Executes a update query (update table set ... where id = ...)
updateI18N(int, String, String) - Method in class com.zentense.step2.model.AutoI18NModel
Updates a internationalized text in i18n texts table
updateI18N(int, String, String) - Method in class com.zentense.step2.model.ResultSetI18NModel
Updates a internationalized text in i18n texts table
updateMode() - Method in class com.zentense.step2.model.ResultSetModel
Prepares this model for generating a scrollable, updatale resultset the next time a query will be executed.
updateRow() - Method in class com.zentense.step2.view.ResultSetView
Updates current row into database.
updateRow() - Method in class com.zentense.step2.view.View
Updates row.
URLSchema - Class in com.zentense.step2
When a request is received this class checks URL path info.
URLSchema() - Constructor for class com.zentense.step2.URLSchema
 
useCheck(Check, String) - Method in class com.zentense.step2.util.Form
 
userBelongsToGroup(String, String) - Method in class com.zentense.step2.access.AccessMaster
Returns true if user belongs to group
UserCols - Static variable in class com.zentense.step2.access.AccessMaster
 
userGroups - Variable in class com.zentense.step2.access.AccessMaster
keys=users values=Vector with groups

V

value - Variable in class com.zentense.step2.model.FilterSet.FilterSpec
Value of this filter
value - Variable in class com.zentense.step2.util.Form.Field
 
VectorRowView - Class in com.zentense.step2.view
This class implements a Vector of rows.
VectorRowView() - Constructor for class com.zentense.step2.view.VectorRowView
Creates an view with no rows
VectorRowView(VectorRowView) - Constructor for class com.zentense.step2.view.VectorRowView
Constructor from another vector row view
VectorRowView(Vector) - Constructor for class com.zentense.step2.view.VectorRowView
Constructor from a vector
VectorRowView.ComparableComparer - Class in com.zentense.step2.view
Performs comparisons over a vector of rows (used for sorting them)
VectorRowView.ComparableComparer(String) - Constructor for class com.zentense.step2.view.VectorRowView.ComparableComparer
Constructs a comparer of vector rows
view - Variable in class com.zentense.step2.view.DelegatedView
Original view this one delegates to
View - Class in com.zentense.step2.view
A view is a collection of rows, being a row a collection of columns, so views are a bidimentional table of data.
View() - Constructor for class com.zentense.step2.view.View
Default constructor
View.Empty - Class in com.zentense.step2.view
An empty ResultSetView implementation
View.Empty() - Constructor for class com.zentense.step2.view.View.Empty
 

W

wrap - Variable in class com.zentense.step2.util.Form.TextAreaField
 
write(String) - Method in class com.zentense.step2.RequestRuntime
Writes a string to the output
writeOrderLink(RequestRuntime, String, String) - Static method in class com.zentense.step2.view.TableView
Writes a link that will change the ordering scheme of this table
writeXMLInfo(RequestRuntime, String, String) - Method in class com.zentense.step2.view.TableView
 

X

XactionCols - Static variable in class com.zentense.step2.access.AccessMaster
 

_

_2step_URI_ - Static variable in class com.zentense.step2.RequestRuntime
 

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

© Zentense 2008