Skip navigation links
$ A B C D E F G H I J K L M N O P Q R S T U V W X Z 

$

$(Object) - Static method in class org.javalite.test.jspec.JSpec
Synonym of methods JSpec.the(Object) or JSpec.a(Object).

A

a(Object) - Static method in class org.javalite.test.jspec.JSpec
 
a(Object) - Method in class org.javalite.test.jspec.JSpecSupport
 
AbstractDbMigrationMojo - Class in org.javalite.db_migrator.maven
 
AbstractDbMigrationMojo() - Constructor for class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
AbstractLazyList<E> - Class in org.javalite.activejdbc
 
AbstractLazyList() - Constructor for class org.javalite.activejdbc.AbstractLazyList
 
AbstractMigrationMojo - Class in org.javalite.db_migrator.maven
 
AbstractMigrationMojo() - Constructor for class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
ActiveJdbcFilter - Class in org.javalite.activejdbc.web
This is a filter for opening a connection before and closing connection after servlet.
ActiveJdbcFilter() - Constructor for class org.javalite.activejdbc.web.ActiveJdbcFilter
 
ActiveJdbcInstrumentationPlugin - Class in org.javalite.instrumentation
 
ActiveJdbcInstrumentationPlugin() - Constructor for class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
 
add(E) - Method in class org.javalite.activejdbc.AbstractLazyList
 
add(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
 
add(Model) - Method in class org.javalite.activejdbc.Model
Adds a new child dependency.
add(T) - Method in class org.javalite.activejdbc.SuperLazyList
 
addAll(Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
addAll(int, Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
addAssociation(Association) - Method in class org.javalite.activejdbc.MetaModel
 
addBatch(PreparedStatement, Object...) - Static method in class org.javalite.activejdbc.Base
Adds a batch statement using given java.sql.PreparedStatement and parameters.
addBatch(PreparedStatement, Object...) - Method in class org.javalite.activejdbc.DB
Adds a batch statement using given java.sql.PreparedStatement and parameters.
addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.CacheManager
Adds item to cache.
addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.EHCache3Manager
 
addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.EHCacheManager
 
addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.NopeCacheManager
 
addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.OSCacheManager
 
addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.RedisCacheManager
 
addCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
 
addCallbacks(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
addEntities(String[][]) - Method in class org.javalite.common.XmlEntities
Deprecated.
Adds entities to this entity.
addEntity(String, int) - Method in class org.javalite.common.XmlEntities
Deprecated.
Add an entity to this entity.
addError(String, String) - Method in class org.javalite.activejdbc.Model
Adds a new error to the collection of errors.
addIrregular(String, String) - Static method in class org.javalite.common.Inflector
 
addItem(String, String, Object[], Object) - Method in enum org.javalite.activejdbc.cache.QueryCache
Adds an item to cache.
addPlural(String, String) - Static method in class org.javalite.common.Inflector
 
addQueryTime(long) - Method in class org.javalite.activejdbc.statistics.QueryStats
Whenever this query was executed, add execution time with this method.
addSingular(String, String) - Static method in class org.javalite.common.Inflector
 
addValidator(String, Validator) - Method in class org.javalite.activejdbc.Errors
Adds a validator whose validation failed.
addValidator(Validator) - Static method in class org.javalite.activejdbc.Model
Adds a validator to the model.
addValidator(Validator, String) - Method in class org.javalite.activejdbc.Model
Binds a validator to an attribute if validation fails.
afterCreate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
afterCreate(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
afterDelete(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
afterDelete(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
afterLoad(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
afterLoad(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
afterSave(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
afterSave(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
afterUpdate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
afterUpdate(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
afterValidation(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
afterValidation(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
ALL - Static variable in class org.javalite.activejdbc.cache.CacheEvent
 
all(String, Object...) - Method in class org.javalite.activejdbc.DB
all(String) - Method in class org.javalite.activejdbc.DB
allowNull(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Will ignore validation if set to true.
AppConfig - Class in org.javalite.app_config
Allows configuration of applications that is specific for different deployment environments.
AppConfig() - Constructor for class org.javalite.app_config.AppConfig
 
appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
 
appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
 
appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.MySQLDialect
 
appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.OracleDialect
 
appendOrderBy(StringBuilder, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendQuestions(StringBuilder, int) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendSelect(StringBuilder, String, String, String, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendSubQuery(StringBuilder, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
 
appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.OracleDialect
 
appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
 
appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
 
appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
 
appendValue(StringBuilder, Object) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
APPLIED_DATE_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
 
arr(T...) - Static method in class org.javalite.common.Collections
Create array from values.
array(T...) - Static method in class org.javalite.common.Collections
Create array from values.
Association - Class in org.javalite.activejdbc
Associations are synonymous with relationships.
Association(Class<? extends Model>, Class<? extends Model>) - Constructor for class org.javalite.activejdbc.Association
 
associations() - Static method in class org.javalite.activejdbc.Model
Returns all associations of this model.
associations(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
attach(Connection) - Static method in class org.javalite.activejdbc.Base
Attaches a database connection to current thread under a default name.
attach(Connection) - Method in class org.javalite.activejdbc.DB
Attaches a database connection to current thread under a name provided to constructor.
attach(Connection) - Static method in class org.javalite.db_migrator.DbUtils
 
AttributeLengthValidator - Class in org.javalite.activejdbc.validation.length
Attribute length validator.
attributeNames() - Static method in class org.javalite.activejdbc.Model
Returns names of all attributes from this model.
attributeNames(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
AttributePresenceValidator - Class in org.javalite.activejdbc.validation
 
AttributePresenceValidator(String) - Constructor for class org.javalite.activejdbc.validation.AttributePresenceValidator
 
attributes() - Static method in class org.javalite.activejdbc.Model
Deprecated.
attributes(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
Deprecated.
attributeValue(String) - Method in class org.javalite.test.XPathHelper
Returns a value of an attribute.
attributeValue(String, String) - Static method in class org.javalite.test.XPathHelper
Selects a value of attribute.

B

Base - Class in org.javalite.activejdbc
This class provides a number of convenience methods for opening/closing database connections, running various types of queries, and executing SQL statements.
Base64 - Class in org.javalite.common
This class is a direct copy of code from Java8 for backwards compatibility with older JDKs.
Base64.Decoder - Class in org.javalite.common
This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
Base64.Encoder - Class in org.javalite.common
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
basic(String, String) - Method in class org.javalite.http.Request
Sets a user and password for basic authentication.
beforeClosingBrace(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
Override in subclasses in order to inject custom content into Json just before the closing brace.
beforeClosingBrace(boolean, String, StringWriter) - Method in class org.javalite.activejdbc.Model
beforeClosingTag(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
Override in a subclass to inject custom content onto XML just before the closing tag.
beforeClosingTag(int, StringWriter, String...) - Method in class org.javalite.activejdbc.Model
beforeCreate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeCreate(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
beforeDelete(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeDelete(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
beforeSave(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeSave(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
beforeUpdate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeUpdate(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
beforeValidation(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeValidation(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
BelongsTo - Annotation Type in org.javalite.activejdbc.annotations
 
belongsTo(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
 
belongsTo(Class<? extends Model>, Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
BelongsToAssociation - Class in org.javalite.activejdbc.associations
This association indicates that a source table belongs to the target table.
BelongsToAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.BelongsToAssociation
 
BelongsToParents - Annotation Type in org.javalite.activejdbc.annotations
 
BelongsToPolymorphic - Annotation Type in org.javalite.activejdbc.annotations
 
BelongsToPolymorphicAssociation - Class in org.javalite.activejdbc.associations
 
BelongsToPolymorphicAssociation(Class<? extends Model>, Class<? extends Model>, String, String) - Constructor for class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
blank(Object) - Static method in class org.javalite.common.Util
Returns true if value is either null or it's String representation is blank.
blank(String) - Static method in class org.javalite.db_migrator.DbUtils
 
blankToNull(String...) - Static method in class org.javalite.activejdbc.Model
Registers BlankToNullConverter for specified attributes.
blankToNull(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
BlankToNullConverter - Enum in org.javalite.activejdbc.conversion
Converts instances of String that are empty or contain only whitespaces to null.
bytes(InputStream) - Static method in class org.javalite.common.Util
Reads contents of the input stream fully and returns it as byte array.
bytes() - Method in class org.javalite.http.Request
Fetches response content from server as bytes.

C

Cached - Annotation Type in org.javalite.activejdbc.annotations
 
cached() - Method in class org.javalite.activejdbc.MetaModel
 
cacheEnabled() - Method in class org.javalite.activejdbc.Configuration
 
CacheEvent - Class in org.javalite.activejdbc.cache
Event object.
CacheEvent(String, String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
Creates a new event type of CacheEvent.CacheEventType.GROUP.
CacheEvent(String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
Creates a new event type of CacheEvent.CacheEventType.ALL
CacheEvent.CacheEventType - Enum in org.javalite.activejdbc.cache
 
CacheEventListener - Interface in org.javalite.activejdbc.cache
 
CacheException - Exception in org.javalite.activejdbc.cache
 
CacheException(String, Throwable) - Constructor for exception org.javalite.activejdbc.cache.CacheException
 
CacheManager - Class in org.javalite.activejdbc.cache
Abstract method to be sub-classed by various caching technologies.
CacheManager() - Constructor for class org.javalite.activejdbc.cache.CacheManager
 
cacheManager() - Static method in enum org.javalite.activejdbc.Registry
 
CallbackAdapter<T extends Model> - Class in org.javalite.activejdbc
 
CallbackAdapter() - Constructor for class org.javalite.activejdbc.CallbackAdapter
 
CallbackListener<T extends Model> - Interface in org.javalite.activejdbc
 
callbackWith(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
 
callbackWith(Class<? extends Model>, CallbackListener...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
camelize(String) - Static method in class org.javalite.common.Inflector
Generates a camel case version of a phrase from underscore.
camelize(String, boolean) - Static method in class org.javalite.common.Inflector
Generates a camel case version of a phrase from underscore.
canConvert(Class, Class) - Method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
 
canConvert(Class, Class) - Method in interface org.javalite.activejdbc.conversion.Converter
Returns true if this converter can convert instances of sourceClass to destinationClass.
canConvert(Class, Class) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
 
canConvert(Class, Class) - Method in class org.javalite.activejdbc.conversion.DateToStringConverter
 
canConvert(Class, Class) - Method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
 
capitalize(String) - Static method in class org.javalite.common.Inflector
Capitalizes a word - only a first character is converted to upper case.
CaseInsensitiveMap<V> - Class in org.javalite.activejdbc
A case insensitive map for java.lang.String keys.
CaseInsensitiveMap() - Constructor for class org.javalite.activejdbc.CaseInsensitiveMap
 
CaseInsensitiveMap(Map<? extends String, V>) - Constructor for class org.javalite.activejdbc.CaseInsensitiveMap
 
CaseInsensitiveSet - Class in org.javalite.activejdbc
A case insensitive set for java.lang.String elements.
CaseInsensitiveSet() - Constructor for class org.javalite.activejdbc.CaseInsensitiveSet
 
CaseInsensitiveSet(Collection<? extends String>) - Constructor for class org.javalite.activejdbc.CaseInsensitiveSet
 
checkAttribute(String) - Method in class org.javalite.activejdbc.MetaModel
Checks if this model has a named attribute that has the same name as argument.
checkDuplicateVersions(List<File>) - Method in class org.javalite.db_migrator.MigrationResolver
 
CheckMojo - Class in org.javalite.db_migrator.maven
Check current schema against available migrations to see if database is up to date, causing the build to fail if the database is not up to date.
CheckMojo() - Constructor for class org.javalite.db_migrator.maven.CheckMojo
 
clear() - Method in class org.javalite.activejdbc.AbstractLazyList
 
clear() - Method in class org.javalite.activejdbc.Errors
 
clear() - Method in class org.javalite.app_config.AppConfig
 
clearShardTableName() - Method in class org.javalite.activejdbc.MetaModel
Clears sharding name of table attached to current thread.
close(boolean) - Static method in class org.javalite.activejdbc.Base
Closes connection and detaches it from current thread.
close() - Static method in class org.javalite.activejdbc.Base
Closes connection and detaches it from current thread.
close() - Method in class org.javalite.activejdbc.DB
Closes connection and detaches it from current thread.
close(boolean) - Method in class org.javalite.activejdbc.DB
Closes connection and detaches it from current thread.
close(Closeable) - Static method in class org.javalite.common.Util
Deprecated.
use Util.closeQuietly(AutoCloseable) instead. Two problems can arise if resources are not closed quietly in the finally block: (1) If there are multiple close() calls, and one of the first ones throws an Exception, then the following ones will never be called. (2) If an Exception is thrown inside the try { ... } catch block and another Exception is thrown by a close() call in the finally { ... } block, then the second Exception will hide the first one.
closeAllConnections() - Static method in class org.javalite.activejdbc.DB
Closes all current connections.
closeConnection() - Static method in class org.javalite.db_migrator.DbUtils
 
closeQuietly(AutoCloseable) - Static method in class org.javalite.common.Util
Closes a resource and swallows exception if thrown during a close.
closeQuietly(Object) - Static method in class org.javalite.db_migrator.DbUtils
 
collect(String) - Method in class org.javalite.activejdbc.LazyList
Collects values from a result set that correspond to a attribute name.
collect(String, String, Object) - Method in class org.javalite.activejdbc.LazyList
 
collectDistinct(String) - Method in class org.javalite.activejdbc.LazyList
 
collectDistinct(String, String, Object) - Method in class org.javalite.activejdbc.LazyList
 
Collections - Class in org.javalite.common
 
collectStatistics() - Method in class org.javalite.activejdbc.Configuration
 
collectStatisticsOnHold() - Method in class org.javalite.activejdbc.Configuration
 
ColumnMetadata - Class in org.javalite.activejdbc
 
ColumnMetadata(String, String, int) - Constructor for class org.javalite.activejdbc.ColumnMetadata
 
commitTransaction() - Static method in class org.javalite.activejdbc.Base
Commits local transaction.
commitTransaction() - Method in class org.javalite.activejdbc.DB
Commits local transaction.
compareTo(Object) - Method in class org.javalite.db_migrator.Migration
 
CompositePK - Annotation Type in org.javalite.activejdbc.annotations
 
ConfigInitException - Exception in org.javalite.app_config
 
ConfigInitException(Throwable) - Constructor for exception org.javalite.app_config.ConfigInitException
 
Configuration - Class in org.javalite.activejdbc
 
Configuration() - Constructor for class org.javalite.activejdbc.Configuration
 
connect() - Method in class org.javalite.http.Request
 
connection() - Static method in class org.javalite.activejdbc.Base
Returns connection attached to a current thread and named "default".
connection() - Method in class org.javalite.activejdbc.DB
Provides connection from current thread.
connection() - Static method in class org.javalite.db_migrator.DbUtils
 
connection - Variable in class org.javalite.http.Request
 
CONNECTION_TIMEOUT - Static variable in class org.javalite.http.Http
Connection timeout in milliseconds.
ConnectionJdbcSpec - Class in org.javalite.activejdbc
Specification for a JDBC connection
ConnectionJdbcSpec(String, String, String, String) - Constructor for class org.javalite.activejdbc.ConnectionJdbcSpec
 
ConnectionJdbcSpec(String, String, Properties) - Constructor for class org.javalite.activejdbc.ConnectionJdbcSpec
 
ConnectionJndiSpec - Class in org.javalite.activejdbc
Specification for a JNDI connection.
ConnectionJndiSpec(String) - Constructor for class org.javalite.activejdbc.ConnectionJndiSpec
 
ConnectionJndiSpec(InitialContext) - Constructor for class org.javalite.activejdbc.ConnectionJndiSpec
 
connections() - Static method in class org.javalite.activejdbc.DB
Provides connections available on current thread.
ConnectionsAccess - Class in org.javalite.activejdbc
 
ConnectionSpec - Interface in org.javalite.activejdbc
Tag interface.
contains(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
 
containsAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
containsKey(Object) - Method in class org.javalite.activejdbc.Errors
 
containsKey(Object) - Method in class org.javalite.app_config.AppConfig
 
containsValue(Object) - Method in class org.javalite.activejdbc.Errors
 
containsValue(Object) - Method in class org.javalite.app_config.AppConfig
 
ConversionException - Exception in org.javalite.activejdbc.conversion
Class for conversion exceptions.
ConversionException() - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
 
ConversionException(String) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
 
ConversionException(String, Throwable) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
 
ConversionException(Throwable) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
 
ConversionException - Exception in org.javalite.common
 
ConversionException() - Constructor for exception org.javalite.common.ConversionException
 
ConversionException(String) - Constructor for exception org.javalite.common.ConversionException
 
ConversionException(String, Throwable) - Constructor for exception org.javalite.common.ConversionException
 
ConversionException(Throwable) - Constructor for exception org.javalite.common.ConversionException
 
convert(String) - Method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
 
convert(S) - Method in interface org.javalite.activejdbc.conversion.Converter
Converts instance of S to T.
convert(S) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
 
convert(Date) - Method in class org.javalite.activejdbc.conversion.DateToStringConverter
 
convert(Number) - Method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
 
convert(Model) - Method in class org.javalite.activejdbc.validation.Converter
Deprecated.
 
convert(Model) - Method in class org.javalite.activejdbc.validation.DateConverter
Deprecated.
 
convert(Model) - Method in class org.javalite.activejdbc.validation.TimestampConverter
Deprecated.
 
Convert - Class in org.javalite.common
Convenience class for type conversions.
convertDate(String, String) - Static method in class org.javalite.activejdbc.Model
Deprecated.
use {@link #dateFormat(String, String...) instead
convertDate(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
Deprecated.
use {@link #dateFormat(Class, String, String...) instead
Converter<S,T> - Interface in org.javalite.activejdbc.conversion
Converts instances of S to T.
Converter - Class in org.javalite.activejdbc.validation
Deprecated.
use Converter instead
Converter() - Constructor for class org.javalite.activejdbc.validation.Converter
Deprecated.
 
ConverterAdapter<S,T> - Class in org.javalite.activejdbc.conversion
Converts instances of S to T.
ConverterAdapter() - Constructor for class org.javalite.activejdbc.conversion.ConverterAdapter
 
convertNullIfEmpty() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
convertNullIfEmpty(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
Deprecated.
convertTimestamp(String, String) - Static method in class org.javalite.activejdbc.Model
Deprecated.
use {@link #timestampFormat(String, String...) instead
convertTimestamp(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
Deprecated.
use {@link #timestampFormat(Class, String, String...) instead
convertWith(Converter) - Static method in class org.javalite.activejdbc.Model
convertWith(Converter, String...) - Static method in class org.javalite.activejdbc.Model
Registers a custom converter for the specified attributes.
convertWith(Class<? extends Model>, Converter) - Static method in class org.javalite.activejdbc.ModelDelegate
convertWith(Class<? extends Model>, Converter, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
copyFrom(Model) - Method in class org.javalite.activejdbc.Model
Copies all attribute values (except for ID, created_at and updated_at) from other instance to this one.
copyTo(Model) - Method in class org.javalite.activejdbc.Model
Copies all attribute values (except for ID, created_at and updated_at) from this instance to the other.
count(String) - Static method in class org.javalite.activejdbc.Base
Returns count of rows in table.
count(String, String, Object...) - Static method in class org.javalite.activejdbc.Base
Runs a count query, returns a number of matching records.
count(String) - Method in class org.javalite.activejdbc.DB
Returns count of rows in table.
count(String, String, Object...) - Method in class org.javalite.activejdbc.DB
Runs a count query, returns a number of matching records.
count() - Static method in class org.javalite.activejdbc.Model
Returns total count of records in table.
count(String, Object...) - Static method in class org.javalite.activejdbc.Model
Returns count of records in table under a condition.
count(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
count(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
count(String) - Method in class org.javalite.test.XPathHelper
Counts a collection selected by XPath expression.
count(String, String) - Static method in class org.javalite.test.XPathHelper
Counts a collection selected by XPath expression.
countMigrations() - Static method in class org.javalite.db_migrator.DbUtils
 
countRows(String) - Static method in class org.javalite.db_migrator.DbUtils
 
create(Object...) - Static method in class org.javalite.activejdbc.Model
This is a convenience method to create a model instance already initialized with values.
create(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
createIt(Object...) - Static method in class org.javalite.activejdbc.Model
This is a convenience method to Model.create(Object...).
createIt(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
CreateMojo - Class in org.javalite.db_migrator.maven
 
CreateMojo() - Constructor for class org.javalite.db_migrator.maven.CreateMojo
 
createSchemaVersionTable() - Method in class org.javalite.db_migrator.MigrationManager
 
createSchemaVersionTable(DatabaseType) - Method in class org.javalite.db_migrator.VersionStrategy
 

D

DatabaseType - Enum in org.javalite.db_migrator
 
databaseType(String) - Static method in class org.javalite.db_migrator.DbUtils
 
DateConverter - Class in org.javalite.activejdbc.validation
Deprecated.
DateConverter(String, String) - Constructor for class org.javalite.activejdbc.validation.DateConverter
Deprecated.
 
dateFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
Registers date format for specified attributes.
dateFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
Registers date format for specified attributes.
dateFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
dateFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
DateToStringConverter - Class in org.javalite.activejdbc.conversion
Converts instances of Date to String.
DateToStringConverter(String) - Constructor for class org.javalite.activejdbc.conversion.DateToStringConverter
 
DateToStringConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.DateToStringConverter
 
DB - Class in org.javalite.activejdbc
This class provides a number of convenience methods for opening/closing database connections, running various types of queries, and executing SQL statements.
DB(String) - Constructor for class org.javalite.activejdbc.DB
Creates a new DB object representing a connection to a DB.
DB() - Constructor for class org.javalite.activejdbc.DB
Creates a new DB object representing a connection to a DB with default name.
DBException - Exception in org.javalite.activejdbc
Generic exception wrapper for all things DB.
DBException() - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(Throwable) - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(String) - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(String, Throwable) - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(String, Object[], Throwable) - Constructor for exception org.javalite.activejdbc.DBException
 
DbName - Annotation Type in org.javalite.activejdbc.annotations
 
DbUtils - Class in org.javalite.db_migrator
 
decode(byte[]) - Method in class org.javalite.common.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into a newly-allocated output byte array.
decode(String) - Method in class org.javalite.common.Base64.Decoder
Decodes a Base64 encoded String into a newly-allocated byte array using the Base64 encoding scheme.
decode(byte[], byte[]) - Method in class org.javalite.common.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into the given output byte array, starting at offset 0.
decode(ByteBuffer) - Method in class org.javalite.common.Base64.Decoder
Decodes all bytes from the input byte buffer using the Base64 encoding scheme, writing the results into a newly-allocated ByteBuffer.
DEFAULT_NAME - Static variable in class org.javalite.activejdbc.DB
 
DefaultDialect - Class in org.javalite.activejdbc.dialects
 
DefaultDialect() - Constructor for class org.javalite.activejdbc.dialects.DefaultDialect
 
defrost() - Method in class org.javalite.activejdbc.Model
Synonym for Model.thaw().
delegate - Variable in class org.javalite.activejdbc.AbstractLazyList
 
delete() - Method in class org.javalite.activejdbc.Model
Deletes a single table record represented by this instance.
delete(boolean) - Method in class org.javalite.activejdbc.Model
Convenience method, will call Model.delete() or Model.deleteCascade().
delete(String, Object...) - Static method in class org.javalite.activejdbc.Model
Deletes some records from associated table.
delete(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
Delete - Class in org.javalite.http
Executes a DELETE request.
Delete(String, int, int) - Constructor for class org.javalite.http.Delete
Constructor for making DELETE requests.
delete(String) - Static method in class org.javalite.http.Http
Executes a DELETE request.
delete(String, int, int) - Static method in class org.javalite.http.Http
Executes a DELETE request.
deleteAll() - Static method in class org.javalite.activejdbc.Model
Deletes all records from associated table.
deleteAll(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
deleteCascade() - Method in class org.javalite.activejdbc.Model
Deletes this record from associated table, as well as children.
deleteCascadeExcept(Association...) - Method in class org.javalite.activejdbc.Model
This method does everything Model.deleteCascade() does, but in addition allows to exclude some associations from this action.
deleteCascadeShallow() - Method in class org.javalite.activejdbc.Model
Deletes this record from associated table, as well as its immediate children.
deleteManyToManyAssociation(Many2ManyAssociation) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
deleteManyToManyAssociation(Many2ManyAssociation) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
destinationClass() - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
 
destinationClass() - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
 
destinationClass() - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
 
destroy() - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
 
detach() - Static method in class org.javalite.activejdbc.Base
Detaches a default connection from current thread and returns an instance of it.
detach() - Method in class org.javalite.activejdbc.DB
Detaches a connection from current thread and returns an instance of it.
detach() - Static method in class org.javalite.db_migrator.DbUtils
 
determineDatabaseType() - Method in class org.javalite.db_migrator.MigrationManager
 
Dialect - Interface in org.javalite.activejdbc.dialects
 
DifferenceExpectation<T> - Class in org.javalite.test.jspec
 
DifferenceExpectation(T) - Constructor for class org.javalite.test.jspec.DifferenceExpectation
 
dirtyAttributeNames() - Method in class org.javalite.activejdbc.Model
 
dispose() - Method in class org.javalite.http.Request
This method is already called from Request.text() and Request.bytes(), you do not have to call it if you use those methods.
doConnect() - Method in class org.javalite.http.Delete
 
doConnect() - Method in class org.javalite.http.Get
 
doConnect() - Method in class org.javalite.http.Multipart
 
doConnect() - Method in class org.javalite.http.Patch
 
doConnect() - Method in class org.javalite.http.Post
 
doConnect() - Method in class org.javalite.http.Put
 
doConnect() - Method in class org.javalite.http.Request
Makes a connection to the remote resource.
doConvert(S) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
Converts instance of S to T.
doConvert(String) - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
 
doConvert(String) - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.EHCache3Manager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.EHCacheManager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.NopeCacheManager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.OSCacheManager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.RedisCacheManager
 
driverClass(String) - Static method in class org.javalite.db_migrator.DbUtils
Given a jdbc url, this tries to determine the target database and returns the driver class name as a string.
DropMojo - Class in org.javalite.db_migrator.maven
 
DropMojo() - Constructor for class org.javalite.db_migrator.maven.DropMojo
 
dummy - package dummy
 
Dummy - Class in dummy
 
Dummy() - Constructor for class dummy.Dummy
 
Dummy - Class in org.javalite.activejdbc
This class exists only to satisfy Sonatype requirement for JavaDoc from every package.
Dummy() - Constructor for class org.javalite.activejdbc.Dummy
 
dump() - Method in class org.javalite.activejdbc.LazyList
Dumps contents of this list to System.out.
dump(OutputStream) - Method in class org.javalite.activejdbc.LazyList
Dumps content of list to a stream.
DURATION_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
 

E

EHCache3Manager - Class in org.javalite.activejdbc.cache
Cache implementation based on EHCache 3.
EHCache3Manager() - Constructor for class org.javalite.activejdbc.cache.EHCache3Manager
 
EHCacheManager - Class in org.javalite.activejdbc.cache
Cache implementation based on EHCache 2.
EHCacheManager() - Constructor for class org.javalite.activejdbc.cache.EHCacheManager
 
EmailValidator - Class in org.javalite.activejdbc.validation
 
EmailValidator(String) - Constructor for class org.javalite.activejdbc.validation.EmailValidator
 
empty(Object[]) - Static method in class org.javalite.common.Util
Returns true if array is either null or empty.
empty(Collection<?>) - Static method in class org.javalite.common.Util
Returns true if collection is either null or empty.
encode(byte[]) - Method in class org.javalite.common.Base64.Encoder
Encodes all bytes from the specified byte array into a newly-allocated byte array using the Base64 encoding scheme.
encode(byte[], byte[]) - Method in class org.javalite.common.Base64.Encoder
Encodes all bytes from the specified byte array using the Base64 encoding scheme, writing the resulting bytes to the given output byte array, starting at offset 0.
encode(ByteBuffer) - Method in class org.javalite.common.Base64.Encoder
Encodes all remaining bytes from the specified byte buffer into a newly-allocated ByteBuffer using the Base64 encoding scheme.
encodeToString(byte[]) - Method in class org.javalite.common.Base64.Encoder
Encodes the specified byte array into a String using the Base64 encoding scheme.
enqueue(QueryExecutionEvent) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Enqueues a query execution event for processing.
entityName(int) - Method in class org.javalite.common.XmlEntities
Deprecated.
Returns the name of the entity identified by the specified value.
entityValue(String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Returns the value of the entity identified by the specified name.
entrySet() - Method in class org.javalite.activejdbc.Errors
 
entrySet() - Method in class org.javalite.app_config.AppConfig
 
equals(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
 
equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
 
equals(Object) - Method in class org.javalite.app_config.Property
 
Errors - Class in org.javalite.activejdbc
Collection of error messages generated by validation process.
Errors() - Constructor for class org.javalite.activejdbc.Errors
 
errors() - Method in class org.javalite.activejdbc.Model
Provides an instance of Errors object, filled with error messages after validation.
errors(Locale) - Method in class org.javalite.activejdbc.Model
Provides an instance of localized Errors object, filled with error messages after validation.
errors() - Method in exception org.javalite.activejdbc.validation.ValidationException
Convenience method, returns the same object with errors that is attached to a model generated this exception.
errors(Locale) - Method in exception org.javalite.activejdbc.validation.ValidationException
Convenience method, returns the same object with errors that is attached to a model generated this exception.
Escape - Class in org.javalite.common
 
escape(String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Escapes the characters in a String.
escape(StringBuilder, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Escapes the characters in the String passed and writes the result to the StringBuilder passed.
escape(Writer, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Exact - Class in org.javalite.activejdbc.validation.length
The attribute length must be equal to a given value.
ExceptionExpectation<T> - Class in org.javalite.test.jspec
 
ExceptionExpectation(Class<T>) - Constructor for class org.javalite.test.jspec.ExceptionExpectation
 
exec(String) - Static method in class org.javalite.activejdbc.Base
Executes DML.
exec(String, Object...) - Static method in class org.javalite.activejdbc.Base
Executes parametrized DML - will contain question marks as placeholders.
exec(String) - Method in class org.javalite.activejdbc.DB
Executes DML.
exec(String, Object...) - Method in class org.javalite.activejdbc.DB
Executes parametrized DML - will contain question marks as placeholders.
exec(String) - Static method in class org.javalite.db_migrator.DbUtils
 
exec() - Method in class org.javalite.test.jspec.DifferenceExpectation
 
exec() - Method in class org.javalite.test.jspec.ExceptionExpectation
 
ExecException - Exception in org.javalite.maven
 
ExecException() - Constructor for exception org.javalite.maven.ExecException
 
ExecException(String) - Constructor for exception org.javalite.maven.ExecException
 
ExecException(String, Throwable) - Constructor for exception org.javalite.maven.ExecException
 
ExecException(Throwable) - Constructor for exception org.javalite.maven.ExecException
 
execute() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
execute() - Method in class org.javalite.db_migrator.maven.HelpMojo
 
execute() - Method in class org.javalite.db_migrator.maven.NewMojo
 
execute() - Method in class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
 
execute() - Method in class org.javalite.maven.GitInfoPlugin
 
executeBatch(PreparedStatement) - Static method in class org.javalite.activejdbc.Base
Executes a batch on java.sql.PreparedStatement.
executeBatch(PreparedStatement) - Method in class org.javalite.activejdbc.DB
Executes a batch on java.sql.PreparedStatement.
executeMojo() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
executeMojo() - Method in class org.javalite.db_migrator.maven.CheckMojo
 
executeMojo() - Method in class org.javalite.db_migrator.maven.CreateMojo
 
executeMojo() - Method in class org.javalite.db_migrator.maven.DropMojo
 
executeMojo() - Method in class org.javalite.db_migrator.maven.MigrateMojo
 
executeMojo() - Method in class org.javalite.db_migrator.maven.ResetMojo
 
executeMojo() - Method in class org.javalite.db_migrator.maven.ValidateMojo
 
exists(Object) - Static method in class org.javalite.activejdbc.Model
Returns true if record corresponding to the id passed exists in the DB.
exists() - Method in class org.javalite.activejdbc.Model
Returns true if record corresponding to the id of this instance exists in the DB.
exists(Class<? extends Model>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
 
expect(ExceptionExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
 
expect(DifferenceExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
Expect that the results are different, throw TestException if same.
expect(ExceptionExpectation<T>) - Method in class org.javalite.test.jspec.JSpecSupport
 
expect(DifferenceExpectation<T>) - Method in class org.javalite.test.jspec.JSpecSupport
 
Expectation<T> - Class in org.javalite.test.jspec
 
Expectation(T) - Constructor for class org.javalite.test.jspec.Expectation
 
extractDatabaseName(String) - Static method in class org.javalite.db_migrator.DbUtils
Given a JDBC connection URL, extract only the database name.
extractServerUrl(String) - Static method in class org.javalite.db_migrator.DbUtils
Given a JDBC connection URL, generate a new connection URL to connect directly to the database server itself (ie: no database specified).
extractVersion(String) - Method in class org.javalite.db_migrator.MigrationResolver
 

F

field(FormField) - Method in class org.javalite.http.Multipart
Adds a form field to the request
field(String, String) - Method in class org.javalite.http.Multipart
Convenience method to add a form field to the request.
fields(String...) - Method in class org.javalite.http.Multipart
Convenience method to add multiple fields to the request.
file(String, String) - Method in class org.javalite.http.Multipart
Convenience method to add a file fields to the request.
FileField - Class in org.javalite.http
 
FileField(String, File) - Constructor for class org.javalite.http.FileField
 
find(String, Object...) - Static method in class org.javalite.activejdbc.Base
Executes a raw query and returns an instance of RowProcessor.
find(String, RowListener) - Static method in class org.javalite.activejdbc.Base
Executes a raw query and calls instance of RowListener with every row found.
find(String, Object...) - Method in class org.javalite.activejdbc.DB
Executes a raw query and returns an instance of RowProcessor.
find(String, RowListener) - Method in class org.javalite.activejdbc.DB
Executes a raw query and calls instance of RowListener with every row found.
find(String, Object...) - Static method in class org.javalite.activejdbc.Model
find(String, ModelListener) - Static method in class org.javalite.activejdbc.Model
findAll(String, Object...) - Static method in class org.javalite.activejdbc.Base
This method returns entire resultset as one list.
findAll(String) - Static method in class org.javalite.activejdbc.Base
This method returns entire resultset as one list.
findAll(String, Object...) - Method in class org.javalite.activejdbc.DB
This method returns entire resultset as one list.
findAll(String) - Method in class org.javalite.activejdbc.DB
This method returns entire resultset as one list.
findAll() - Static method in class org.javalite.activejdbc.Model
This method returns all records from this table.
findAll(Class<T>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findByCompositeKeys(Object...) - Static method in class org.javalite.activejdbc.Model
Composite PK values in exactly the same order as specified in CompositePK.
findByCompositeKeys(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findById(Object) - Static method in class org.javalite.activejdbc.Model
 
findById(Class<T>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findBySQL(String, Object...) - Static method in class org.javalite.activejdbc.Model
Free form query finder.
findBySql(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findFirst(String, Object...) - Static method in class org.javalite.activejdbc.Model
findFirst(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findModels(String) - Static method in class org.javalite.activejdbc.ModelFinder
 
findWith(ModelListener, String, Object...) - Static method in class org.javalite.activejdbc.Model
This method is for processing really large result sets.
findWith(Class<M>, ModelListener<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
first(String, Object...) - Static method in class org.javalite.activejdbc.Model
Returns a first result for this condition.
firstCell(String, Object...) - Static method in class org.javalite.activejdbc.Base
Returns a value of the first column of the first row.
firstCell(String, Object...) - Method in class org.javalite.activejdbc.DB
This method returns the value of the first column of the first row.
firstColumn(String, Object...) - Static method in class org.javalite.activejdbc.Base
This method returns entire resultset as one list.
firstColumn(String, Object...) - Method in class org.javalite.activejdbc.DB
This method returns entire resultset with one column as a list.
flush(CacheEvent, boolean) - Method in class org.javalite.activejdbc.cache.CacheManager
Flashes cache.
flush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
Flashes cache.
format(Object) - Method in interface org.javalite.activejdbc.Formatter
Deprecated.
 
format(Object) - Method in class org.javalite.activejdbc.SimpleFormatter
Deprecated.
 
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.DateConverter
Deprecated.
 
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
 
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.RangeValidator
 
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.TimestampConverter
Deprecated.
 
formatMessage(Locale, Object...) - Method in interface org.javalite.activejdbc.validation.Validator
Formats a message with locale.
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
Provides default implementation, will look for a property in resource bundle, using set message as key.
Formatter - Interface in org.javalite.activejdbc
Deprecated.
Use Dialect to format query values.
FormField - Class in org.javalite.http
 
FormField(String, String) - Constructor for class org.javalite.http.FormField
 
FormField() - Constructor for class org.javalite.http.FormField
 
formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
formSelect(String, String, List<String>, long, long) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
Generates adds limit, offset and order bys to a sub-query
formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.MySQLDialect
 
formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.OracleDialect
Example of a query we are building here:
formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.PostgreSQLDialect
Generates adds limit, offset and order bys to a sub-query
formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
 
fromBase64(String) - Static method in class org.javalite.common.Util
Will decode Base64-encoded string back into byte array.
fromMap(Map) - Method in class org.javalite.activejdbc.Model
Overrides attribute values from input map.
fromXml(String) - Method in class org.javalite.activejdbc.Model
Parses XML into a model.
frozen() - Method in class org.javalite.activejdbc.Model
Synonym for Model.isFrozen().
FrozenException - Exception in org.javalite.activejdbc
 
FrozenException(Model) - Constructor for exception org.javalite.activejdbc.FrozenException
 

G

genHtml() - Static method in class org.javalite.maven.GitInfo
 
get(int) - Method in class org.javalite.activejdbc.AbstractLazyList
 
get(Object) - Method in class org.javalite.activejdbc.Errors
Provides a message from a resource bundle activejdbc_messages.
get(String, Object...) - Method in class org.javalite.activejdbc.Errors
Provides a message from the resource bundle activejdbc_messages which is merged with parameters.
get(String) - Method in class org.javalite.activejdbc.Model
Returns a value for attribute.
get(Class<C>, String, Object...) - Method in class org.javalite.activejdbc.Model
Provides a list of child models in one to many, many to many and polymorphic associations, but in addition also allows to filter this list by criteria.
get(Object) - Method in class org.javalite.app_config.AppConfig
 
Get - Class in org.javalite.http
Executes a GET request.
Get(String, int, int) - Constructor for class org.javalite.http.Get
Constructor for making GET requests.
get(String) - Static method in class org.javalite.http.Http
Executes a GET request.
get(String, int, int) - Static method in class org.javalite.http.Http
Executes a GET request
getAll(Class<C>) - Method in class org.javalite.activejdbc.Model
This methods supports one to many, many to many relationships as well as polymorphic associations.
getAllProperties() - Static method in class org.javalite.app_config.AppConfig
 
getAppliedMigrations() - Method in class org.javalite.db_migrator.VersionStrategy
 
getAppliedMigrationVersions() - Method in class org.javalite.db_migrator.MigrationManager
 
getAsProperty(String) - Static method in class org.javalite.app_config.AppConfig
Returns property instance corresponding to key.
getAssociationForTarget(Class<? extends Model>, Class<A>) - Method in class org.javalite.activejdbc.MetaModel
Returns association of this table with the target table.
getAssociationForTarget(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
Returns association of this table with the target table.
getAssociations() - Method in class org.javalite.activejdbc.MetaModel
 
getAssociationsForTarget(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
Returns associations of this table with the target table.
getAttributeNames() - Method in class org.javalite.activejdbc.MetaModel
Retrieves all attribute names.
getAttributeNamesSkip(String...) - Method in class org.javalite.activejdbc.MetaModel
Finds all attribute names except those provided as arguments.
getAttributeNamesSkipGenerated() - Method in class org.javalite.activejdbc.MetaModel
Convenience method.
getAttributeNamesSkipGenerated(boolean) - Method in class org.javalite.activejdbc.MetaModel
Finds all attribute names except managed like id, created_at, updated_at and record_version, depending on argument.
getAttributeNamesSkipId() - Method in class org.javalite.activejdbc.MetaModel
Finds all attribute names except for id.
getAttributes() - Method in class org.javalite.activejdbc.Model
 
getAvg() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getBigDecimal(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as java.math.BigDecimal.
getBoolean(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Boolean.
getBytes(String) - Method in class org.javalite.activejdbc.Model
Gets a value as bytes.
getCache(String, String) - Method in class org.javalite.activejdbc.cache.CacheManager
Returns a cached item.
getCache(String, String) - Method in class org.javalite.activejdbc.cache.EHCache3Manager
 
getCache(String, String) - Method in class org.javalite.activejdbc.cache.EHCacheManager
 
getCache(String, String) - Method in class org.javalite.activejdbc.cache.NopeCacheManager
 
getCache(String, String) - Method in class org.javalite.activejdbc.cache.OSCacheManager
 
getCache(String, String) - Method in class org.javalite.activejdbc.cache.RedisCacheManager
 
getCacheManager() - Method in enum org.javalite.activejdbc.cache.QueryCache
 
getCacheManager() - Method in class org.javalite.activejdbc.Configuration
 
getClazz(String) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
 
getClazz() - Method in class org.javalite.test.jspec.ExceptionExpectation
 
getColumnMetadata() - Method in class org.javalite.activejdbc.MetaModel
Provides column metadata map, keyed by attribute names.
getColumnName() - Method in class org.javalite.activejdbc.ColumnMetadata
Column name as reported by DBMS driver.
getColumnSize() - Method in class org.javalite.activejdbc.ColumnMetadata
Column size as reported by DBMS driver.
getCompositeKeys() - Method in class org.javalite.activejdbc.MetaModel
Returns optional composite primary key class
getCompositeKeys() - Method in class org.javalite.activejdbc.Model
Provides a list of composite keys as specified in CompositePK.
getConfigFile() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
getConfiguration() - Method in enum org.javalite.activejdbc.Registry
 
getConnection() - Method in class org.javalite.activejdbc.DB
Synonym of DB.connection() for people who like getters.
getConnectionSpec(String) - Method in class org.javalite.activejdbc.Configuration
 
getContext() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
 
getCount() - Method in class org.javalite.activejdbc.Paginator
Returns total count of records based on provided criteria.
getCount() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getCreateSql() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
getCurrentConnectionSpec() - Method in class org.javalite.activejdbc.Configuration
Finds a connection ConnectionSpec that corresponds to system properties, environment variables of database.properties configuration, whichever is found first.
getCurrentPage() - Method in class org.javalite.activejdbc.Paginator
Returns index of current page, or 0 if this instance has not produced a page yet.
getCurrrentConnectionNames() - Static method in class org.javalite.activejdbc.DB
Provides a names' list of current connections.
getDatabaseName(CtClass) - Static method in class org.javalite.instrumentation.Instrumentation
 
getDataSourceJndiName() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
 
getDate(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as java.sql.Date.
getDbName() - Method in class org.javalite.activejdbc.MetaModel
 
getDbName(Class<? extends Model>) - Static method in class org.javalite.activejdbc.MetaModel
 
getDbType() - Method in class org.javalite.activejdbc.MetaModel
 
getDecoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Decoder that decodes using the Basic type base64 encoding scheme.
getDialect() - Method in class org.javalite.activejdbc.MetaModel
 
getDouble(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Double.
getDriver() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getDriver() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
getDropSql() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
getEdges(String) - Method in enum org.javalite.activejdbc.Registry
Returns edges for a join.
getEncoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the Basic type base64 encoding scheme.
getEncoding() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
getEnvironment() - Method in class org.javalite.activejdbc.Configuration
 
getEnvironments() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
getExpected() - Method in class org.javalite.test.jspec.DifferenceExpectation
 
getFile() - Method in class org.javalite.http.FileField
 
getFkName() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
 
getFkName() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
 
getFKName() - Method in class org.javalite.activejdbc.MetaModel
FK name is a foreign key name used in relationships as a foreign key column in a child table (table represented by this instance is a parent table).
getFloat(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Float.
getGroup() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
getId() - Method in class org.javalite.activejdbc.Model
Value of ID.
getIdGeneratorCode() - Method in class org.javalite.activejdbc.MetaModel
 
getIdName() - Method in class org.javalite.activejdbc.MetaModel
 
getIdName() - Method in class org.javalite.activejdbc.Model
Name of ID column.
getIdName(String) - Static method in class org.javalite.common.Inflector
 
getInputStream() - Method in class org.javalite.http.Request
Returns input stream to read server response from.
getInteger(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Integer.
getItem(String, String, Object[]) - Method in enum org.javalite.activejdbc.cache.QueryCache
Returns an item from cache, or null if nothing found.
getJoin() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
getKey(String, String, Object[]) - Method in class org.javalite.activejdbc.cache.CacheManager
Generates a cache key.
getLong(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Long.
getLongId() - Method in class org.javalite.activejdbc.Model
Convenience method: converts ID value to Long and returns it.
getManyToManyAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
 
getMax() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getMessage() - Method in exception org.javalite.activejdbc.associations.NotAssociatedException
 
getMessage() - Method in exception org.javalite.activejdbc.DBException
 
getMessage() - Method in exception org.javalite.activejdbc.validation.ValidationException
 
getMessage() - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
 
getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Exact
 
getMessageParameters() - Method in interface org.javalite.activejdbc.validation.length.LengthOption
 
getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Max
 
getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Min
 
getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Range
 
getMetaModel() - Static method in class org.javalite.activejdbc.Model
Provides MetaModel object related to this model class.
getMetaModel(String) - Method in enum org.javalite.activejdbc.Registry
Provides a MetaModel of a model representing a table.
getMetaModel(Class<? extends Model>) - Method in enum org.javalite.activejdbc.Registry
 
getMigrationsPath() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
getMimeDecoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Decoder that decodes using the MIME type base64 decoding scheme.
getMimeEncoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme.
getMimeEncoder(int, byte[]) - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme with specified line length and line separators.
getMin() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getModelClass() - Method in class org.javalite.activejdbc.MetaModel
 
getModelClass(String, boolean) - Method in enum org.javalite.activejdbc.Registry
Returns model class for a table name, null if not found.
getModels() - Method in class org.javalite.instrumentation.InstrumentationModelFinder
 
getModelsForDb(String) - Static method in class org.javalite.activejdbc.ModelFinder
 
getName() - Method in class org.javalite.app_config.Property
 
getName() - Method in class org.javalite.db_migrator.Migration
 
getName() - Method in class org.javalite.http.FormField
 
getNext() - Method in class org.javalite.activejdbc.Paginator
Synonym for Paginator.hasNext().
getOneToManyAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
 
getOtherName(String, String) - Static method in class org.javalite.common.Inflector
If a table name is made of two other table names (as is typical for many to many relationships), this method retrieves a name of "another" table from a join table name.
getPage(int) - Method in class org.javalite.activejdbc.Paginator
This method will return a list of records for a specific page.
getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Exact
 
getParametrizedMessage() - Method in interface org.javalite.activejdbc.validation.length.LengthOption
 
getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Max
 
getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Min
 
getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Range
 
getParentClassName() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
getPassword() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getPassword() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
Deprecated.
unused method, returns null
getPassword() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
getPendingMigrations() - Method in class org.javalite.db_migrator.MigrationManager
Returns pending migrations.
getPolymorphicAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
 
getPrevious() - Method in class org.javalite.activejdbc.Paginator
getProperty(String) - Static method in class org.javalite.app_config.AppConfig
Returns property value for a key.
getPropertyFile() - Method in class org.javalite.app_config.Property
 
getProps() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getQuery() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
 
getQuery() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getReportSortedBy(String) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Produces a report sorted by one of the accepted value.
getResourceLines(String) - Static method in class org.javalite.common.Util
Returns lines of text of a resource as list.
getShort(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Short.
getSource() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
getSourceClass() - Method in class org.javalite.activejdbc.Association
Returns source class of this association.
getSourceFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
getStackTraceString(Throwable) - Static method in class org.javalite.common.Util
Converts stack trace to string.
getStatisticsQueue() - Method in enum org.javalite.activejdbc.Registry
 
getString(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as String.
getSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
Returns buffer accumulated with data as string.
getSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
Returns buffer accumulated with data as string.
getTableName() - Method in class org.javalite.activejdbc.MetaModel
Returns table name currently associated with this model.
getTableName() - Static method in class org.javalite.activejdbc.Model
Returns name of corresponding table.
getTableName(Class<? extends Model>) - Method in enum org.javalite.activejdbc.Registry
 
getTargetClass() - Method in class org.javalite.activejdbc.Association
Returns target class of this association.
getTargetFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
getTargetPk() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
getTime(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as java.sql.Time.
getTime() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
 
getTimestamp(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as java.sql.Timestamp.
getTotal() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getType() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
getTypeLabel() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
getTypeLabel() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
getTypeName() - Method in class org.javalite.activejdbc.ColumnMetadata
Column type name as reported by DBMS driver.
getUrl() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getUrl() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
getUrlDecoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Decoder that decodes using the URL and Filename safe type base64 encoding scheme.
getUrlEncoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the URL and Filename safe type base64 encoding scheme.
getUser() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getUser() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
Deprecated.
unused method, returns null
getUsername() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
getValidators(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
 
getValue() - Method in class org.javalite.app_config.Property
 
getValue() - Method in class org.javalite.http.FormField
 
getValueClass() - Method in interface org.javalite.activejdbc.Formatter
Deprecated.
 
getValueClass() - Method in class org.javalite.activejdbc.SimpleFormatter
Deprecated.
 
getVersion() - Method in class org.javalite.db_migrator.Migration
 
getVersionColumn() - Method in class org.javalite.activejdbc.MetaModel
 
GitInfo - Class in org.javalite.maven
 
GitInfo() - Constructor for class org.javalite.maven.GitInfo
 
GitInfoPlugin - Class in org.javalite.maven
 
GitInfoPlugin() - Constructor for class org.javalite.maven.GitInfoPlugin
 
greaterThan(double) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Specify a lower bound for a value, not inclusive.
GROUP_BY_PATTERN - Static variable in class org.javalite.activejdbc.dialects.DefaultDialect
 
gsub(String, String, String) - Static method in class org.javalite.common.Inflector
Replaces a found pattern in a word and returns a transformed word.

H

H2Dialect - Class in org.javalite.activejdbc.dialects
Supports features of the h2 sql dialect.
H2Dialect() - Constructor for class org.javalite.activejdbc.dialects.H2Dialect
 
hasAssociation(Class<? extends Model>, Class<? extends Association>) - Method in class org.javalite.activejdbc.MetaModel
 
hasConnection() - Static method in class org.javalite.activejdbc.Base
Use to check if there is a default connection present on current thread.
hasConnection() - Method in class org.javalite.activejdbc.DB
Use to check if there is a connection present on current thread.
hasErrors() - Method in class org.javalite.activejdbc.Model
 
hashCode() - Method in class org.javalite.activejdbc.AbstractLazyList
 
hashCode() - Method in class org.javalite.activejdbc.Association
 
hashCode() - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
 
hashCode() - Method in class org.javalite.app_config.Property
 
hasNext() - Method in class org.javalite.activejdbc.Paginator
 
hasPrevious() - Method in class org.javalite.activejdbc.Paginator
 
header(String, String) - Method in class org.javalite.http.Request
Sets an HTTP header - call before making a request.
headers() - Method in class org.javalite.http.Request
Returns HTTP headers as sent by server.
HelpMojo - Class in org.javalite.db_migrator.maven
 
HelpMojo() - Constructor for class org.javalite.db_migrator.maven.HelpMojo
 
html(StringBuilder, String) - Static method in class org.javalite.common.Escape
Escapes HTML appending to StringBuilder.
html(String) - Static method in class org.javalite.common.Escape
Escapes HTML.
Http - Class in org.javalite.http
This is a convenience class to allow creation of request objects on one line with some pre-defined values.
HttpException - Exception in org.javalite.http
 
HttpException(String, Throwable) - Constructor for exception org.javalite.http.HttpException
 
HttpException(Throwable) - Constructor for exception org.javalite.http.HttpException
 
HumanDate - Class in org.javalite.common
This is a helper class for converting distance bewteen two dates to a human format, like: "two days", "three months", etc.
hydrate() - Method in class org.javalite.activejdbc.AbstractLazyList
 
hydrate() - Method in class org.javalite.activejdbc.LazyList
 
hydrate(Map<String, Object>, boolean) - Method in class org.javalite.activejdbc.Model
Hydrates a this instance of model from a map.
hydrate() - Method in class org.javalite.activejdbc.SuperLazyList
 

I

IdGenerator - Annotation Type in org.javalite.activejdbc.annotations
 
IdName - Annotation Type in org.javalite.activejdbc.annotations
 
include(Class<? extends Model>...) - Method in class org.javalite.activejdbc.LazyList
This method includes associated objects.
include(Class<? extends Model>...) - Method in class org.javalite.activejdbc.SuperLazyList
 
indexOf(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
 
Inflector - Class in org.javalite.common
 
init(FilterConfig) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
 
init() - Static method in class org.javalite.app_config.AppConfig
 
InitException - Exception in org.javalite.activejdbc
 
InitException() - Constructor for exception org.javalite.activejdbc.InitException
 
InitException(String) - Constructor for exception org.javalite.activejdbc.InitException
 
InitException(String, Throwable) - Constructor for exception org.javalite.activejdbc.InitException
 
InitException(Throwable) - Constructor for exception org.javalite.activejdbc.InitException
 
initialized() - Method in enum org.javalite.activejdbc.Registry
Deprecated.
Not used anymore.
insert(MetaModel, Map<String, Object>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
insert(MetaModel, Map<String, Object>) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
insert() - Method in class org.javalite.activejdbc.Model
This method will save a model as new.
insertManyToManyAssociation(Many2ManyAssociation) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
insertManyToManyAssociation(Many2ManyAssociation) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
insertParametrized(MetaModel, List<String>, boolean) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
insertParametrized(MetaModel, List<String>, boolean) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
instance() - Static method in enum org.javalite.activejdbc.cache.QueryCache
This class is a singleton, get an instance with this method.
instance() - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
 
instance() - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
 
instance() - Static method in enum org.javalite.activejdbc.Registry
 
instrument() - Method in class org.javalite.instrumentation.Instrumentation
 
instrument(CtClass) - Method in class org.javalite.instrumentation.ModelInstrumentation
 
Instrumentation - Class in org.javalite.instrumentation
This class is for static instrumentation
Instrumentation() - Constructor for class org.javalite.instrumentation.Instrumentation
 
InstrumentationException - Exception in org.javalite.instrumentation
 
InstrumentationException() - Constructor for exception org.javalite.instrumentation.InstrumentationException
 
InstrumentationException(String) - Constructor for exception org.javalite.instrumentation.InstrumentationException
 
InstrumentationException(String, Throwable) - Constructor for exception org.javalite.instrumentation.InstrumentationException
 
InstrumentationException(Throwable) - Constructor for exception org.javalite.instrumentation.InstrumentationException
 
InstrumentationModelFinder - Class in org.javalite.instrumentation
 
InstrumentationModelFinder() - Constructor for class org.javalite.instrumentation.InstrumentationModelFinder
 
InternalException - Exception in org.javalite.activejdbc
This exception is for some severe unexplained things
InternalException(Throwable) - Constructor for exception org.javalite.activejdbc.InternalException
 
InternalException(String) - Constructor for exception org.javalite.activejdbc.InternalException
 
isAssociatedTo(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
Checks if there is association to the target model class.,
isEmpty() - Method in class org.javalite.activejdbc.AbstractLazyList
 
isEmpty() - Method in class org.javalite.activejdbc.Errors
 
isEmpty() - Method in class org.javalite.app_config.AppConfig
 
isFile() - Method in class org.javalite.http.FileField
 
isFile() - Method in class org.javalite.http.FormField
 
isFrozen() - Method in class org.javalite.activejdbc.Model
Will return true if this instance is frozen, false otherwise.
isModel(CtClass) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
 
isModified() - Method in class org.javalite.activejdbc.Model
Will return true if any attribute of this instance was changed after latest load/save.
isNew() - Method in class org.javalite.activejdbc.Model
returns true if this is a new instance, not saved yet to DB, false otherwise.
isPaused() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
 
isValid() - Method in class org.javalite.activejdbc.Model
This method performs validations and then returns true if no errors were generated, otherwise returns false.
isVersioned() - Method in class org.javalite.activejdbc.MetaModel
Returns true if this model supports optimistic locking, false if not
it(T) - Static method in class org.javalite.test.jspec.JSpec
Works the same way as methods JSpec.the(Object) or JSpec.a(Object), but takes generalized instance as parameter.
it(T) - Method in class org.javalite.test.jspec.JSpecSupport
Wrapper for JSpec.it(T)
iterator() - Method in class org.javalite.activejdbc.AbstractLazyList
 

J

JavaAgent - Class in org.javalite.instrumentation
 
join(String[], String) - Static method in class org.javalite.common.Util
Joins the items in array with a delimiter.
join(Collection<?>, String) - Static method in class org.javalite.common.Util
Joins the items in collection with a delimiter.
join(StringBuilder, Collection<?>, String) - Static method in class org.javalite.common.Util
Joins the items in collection with a delimiter, and appends the result to StringBuilder.
join(StringBuilder, Object[], String) - Static method in class org.javalite.common.Util
Joins the items in array with a delimiter, and appends the result to StringBuilder.
joinAndRepeat(StringBuilder, String, String, int) - Static method in class org.javalite.common.Util
Repeats string of characters a defined number of times with a delimiter, and appends result to StringBuilder.
json(StringBuilder, String) - Static method in class org.javalite.common.Escape
Escapes JSON appending to StringBuilder.
json(String) - Static method in class org.javalite.common.Escape
Escapes JSON.
JsonHelper - Class in org.javalite.common
Convenience class to convert JSON strings to and from objects.
JSpec - Class in org.javalite.test.jspec
 
JSpecSupport - Class in org.javalite.test.jspec
This is a class to be extended to gain easy access to JSpec methods.
JSpecSupport() - Constructor for class org.javalite.test.jspec.JSpecSupport
 

K

keySet() - Method in class org.javalite.activejdbc.Errors
 
keySet() - Method in class org.javalite.app_config.AppConfig
 

L

lastIndexOf(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
 
LazyList<T extends Model> - Class in org.javalite.activejdbc
While this class is public, it is never instantiated directly.
LazyList(String, MetaModel, Object...) - Constructor for class org.javalite.activejdbc.LazyList
 
LazyList(boolean, MetaModel, String, Object...) - Constructor for class org.javalite.activejdbc.LazyList
 
LazyList() - Constructor for class org.javalite.activejdbc.LazyList
 
LengthOption - Interface in org.javalite.activejdbc.validation.length
Attribute Length validation option.
lessThan(double) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Specify a upper bound for a value, not inclusive.
li(T...) - Static method in class org.javalite.common.Collections
Create a list from values.
limit(long) - Method in class org.javalite.activejdbc.LazyList
This method limits the number of results in the resultset.
limit(long) - Method in class org.javalite.activejdbc.SuperLazyList
 
list(T...) - Static method in class org.javalite.common.Collections
Create a list from values.
listIterator() - Method in class org.javalite.activejdbc.AbstractLazyList
 
listIterator(int) - Method in class org.javalite.activejdbc.AbstractLazyList
 
load() - Method in class org.javalite.activejdbc.LazyList
This method exists to force immediate load from DB.
load() - Method in class org.javalite.activejdbc.SuperLazyList
 
log(Logger, String) - Static method in class org.javalite.activejdbc.LogFilter
 
log(Logger, String, Object) - Static method in class org.javalite.activejdbc.LogFilter
 
log(Logger, String, Object, Object) - Static method in class org.javalite.activejdbc.LogFilter
 
log(Logger, String, Object...) - Static method in class org.javalite.activejdbc.LogFilter
 
log(String) - Static method in class org.javalite.instrumentation.Instrumentation
 
LogFilter - Class in org.javalite.activejdbc
 

M

main(String[]) - Static method in class org.javalite.http.Delete
 
main(String[]) - Static method in class org.javalite.http.Get
 
main(String[]) - Static method in class org.javalite.http.Multipart
 
main(String[]) - Static method in class org.javalite.http.Post
 
main(String[]) - Static method in class org.javalite.http.Put
 
Main - Class in org.javalite.instrumentation
 
Main() - Constructor for class org.javalite.instrumentation.Main
 
main(String[]) - Static method in class org.javalite.instrumentation.Main
 
manageTime(boolean) - Method in class org.javalite.activejdbc.Model
Turns off automatic management of time-related attributes created_at and updated_at.
Many2Many - Annotation Type in org.javalite.activejdbc.annotations
Use this annotation to override conventions in cases where they are impossible to follow.
Many2ManyAssociation - Class in org.javalite.activejdbc.associations
 
Many2ManyAssociation(Class<? extends Model>, Class<? extends Model>, String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
Many2ManyAssociation(Class<? extends Model>, Class<? extends Model>, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
map(Object...) - Static method in class org.javalite.common.Collections
Create a map from keys and values.
map2Content(Map) - Static method in class org.javalite.http.Http
Converts a map to URL- encoded content.
Max - Class in org.javalite.activejdbc.validation.length
The attribute length must be less than or equal to the given value.
merge(Map<String, ?>) - Method in class org.javalite.common.Templator
This method is used in repeated operations, since it will load a resource once.
mergeFromPath(String, Map<String, ?>) - Static method in class org.javalite.common.Templator
This method is used in one-off operations, where it is OK to load a template every time.
mergeFromTemplate(String, Map<String, ?>) - Static method in class org.javalite.common.Templator
Merges from string as template.
message(String, Locale, Object...) - Static method in class org.javalite.activejdbc.Messages
Looks for a localized property/message in activejdbc_messages bundle.
message(String, Object...) - Static method in class org.javalite.activejdbc.Messages
Looks for a property/message in activejdbc_messages bundle.
message(String) - Method in class org.javalite.activejdbc.validation.ValidationBuilder
 
Messages - Class in org.javalite.activejdbc
This class is used to pull messages from a resource bundle called activejdbc_messages.
MetaModel - Class in org.javalite.activejdbc
 
MetaModel(String, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.MetaModel
 
metaModel() - Static method in class org.javalite.activejdbc.Model
metaModelFor(String) - Static method in class org.javalite.activejdbc.ModelDelegate
Returns MetaModel associated with table name.
metaModelOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
Returns MetaModel associated with model class.
migrate(String) - Method in class org.javalite.db_migrator.Migration
 
migrate(Log, String) - Method in class org.javalite.db_migrator.MigrationManager
Migrates the database to the latest version, enabling migrations if necessary.
MigrateMojo - Class in org.javalite.db_migrator.maven
Migrate to latest schema version.
MigrateMojo() - Constructor for class org.javalite.db_migrator.maven.MigrateMojo
 
Migration - Class in org.javalite.db_migrator
 
Migration(String, File) - Constructor for class org.javalite.db_migrator.Migration
 
MigrationException - Exception in org.javalite.db_migrator
 
MigrationException(String) - Constructor for exception org.javalite.db_migrator.MigrationException
 
MigrationException(String, Throwable) - Constructor for exception org.javalite.db_migrator.MigrationException
 
MigrationException(Throwable) - Constructor for exception org.javalite.db_migrator.MigrationException
 
MigrationManager - Class in org.javalite.db_migrator
 
MigrationManager(String) - Constructor for class org.javalite.db_migrator.MigrationManager
 
MigrationResolver - Class in org.javalite.db_migrator
 
MigrationResolver(String) - Constructor for class org.javalite.db_migrator.MigrationResolver
 
Min - Class in org.javalite.activejdbc.validation.length
The attribute length must be more than or equal to the given value.
Model - Class in org.javalite.activejdbc
This class is a super class of all "models" and provides most functionality necessary for implementation of Active Record pattern.
Model() - Constructor for class org.javalite.activejdbc.Model
 
ModelDelegate - Class in org.javalite.activejdbc
This class exists to offload some logic from Model class.
ModelFinder - Class in org.javalite.activejdbc
 
modelFound(String) - Static method in class org.javalite.activejdbc.ModelFinder
 
ModelInstrumentation - Class in org.javalite.instrumentation
 
ModelInstrumentation() - Constructor for class org.javalite.instrumentation.ModelInstrumentation
 
ModelListener<T extends Model> - Interface in org.javalite.activejdbc
 
modified() - Method in class org.javalite.activejdbc.Model
Synonym for Model.isModified().
MSSQLDialect - Class in org.javalite.activejdbc.dialects
 
MSSQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MSSQLDialect
 
multipart(String) - Static method in class org.javalite.http.Http
Create multipart request
multipart(String, int, int) - Static method in class org.javalite.http.Http
Create multipart request
Multipart - Class in org.javalite.http
Sets up a Multipart request to send multiple text fields as well as upload files.
Multipart(String, int, int) - Constructor for class org.javalite.http.Multipart
Contructor to make multipart requests
MySQLDialect - Class in org.javalite.activejdbc.dialects
 
MySQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MySQLDialect
 

N

NewMojo - Class in org.javalite.db_migrator.maven
 
NewMojo() - Constructor for class org.javalite.db_migrator.maven.NewMojo
 
next(Map<String, Object>) - Method in interface org.javalite.activejdbc.RowListener
Implementations of this interface can return "false" from the next() method in order to stop fetching more results from DB.
next(Map<String, Object>) - Method in class org.javalite.activejdbc.RowListenerAdapter
 
NopeCacheManager - Class in org.javalite.activejdbc.cache
Blank class, does nothing.
NopeCacheManager() - Constructor for class org.javalite.activejdbc.cache.NopeCacheManager
 
NotAssociatedException - Exception in org.javalite.activejdbc.associations
 
NotAssociatedException(Class<? extends Model>, Class<? extends Model>) - Constructor for exception org.javalite.activejdbc.associations.NotAssociatedException
 
NumericValidationBuilder - Class in org.javalite.activejdbc.validation
 
NumericValidationBuilder(List<NumericValidator>) - Constructor for class org.javalite.activejdbc.validation.NumericValidationBuilder
 
NumericValidator - Class in org.javalite.activejdbc.validation
 
NumericValidator(String) - Constructor for class org.javalite.activejdbc.validation.NumericValidator
 

O

of(int) - Static method in class org.javalite.activejdbc.validation.length.Exact
 
of(int) - Static method in class org.javalite.activejdbc.validation.length.Max
 
of(int) - Static method in class org.javalite.activejdbc.validation.length.Min
 
of(int, int) - Static method in class org.javalite.activejdbc.validation.length.Range
 
offset(long) - Method in class org.javalite.activejdbc.LazyList
This method sets an offset of a resultset.
offset(long) - Method in class org.javalite.activejdbc.SuperLazyList
 
on(String) - Static method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
 
OneToManyAssociation - Class in org.javalite.activejdbc.associations
 
OneToManyAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
 
OneToManyPolymorphicAssociation - Class in org.javalite.activejdbc.associations
 
OneToManyPolymorphicAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
onFlush(CacheEvent) - Method in interface org.javalite.activejdbc.cache.CacheEventListener
 
onlyInteger() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Will invalidate the value if it is not integer.
onModel(T) - Method in interface org.javalite.activejdbc.ModelListener
 
onNext(Map<String, Object>) - Method in class org.javalite.activejdbc.RowListenerAdapter
Called when a new row is encountered.
open() - Static method in class org.javalite.activejdbc.Base
This method will open a connection defined in the file 'database.properties' located at root of classpath.
open(String, String, String, String) - Static method in class org.javalite.activejdbc.Base
Opens a new connection based on JDBC properties and attaches it to a current thread.
open(String, String, Properties) - Static method in class org.javalite.activejdbc.Base
Opens a new connection in case additional driver-specific parameters need to be passed in.
open(String) - Static method in class org.javalite.activejdbc.Base
Opens a connection from JNDI based on a registered name.
open(String, Properties) - Static method in class org.javalite.activejdbc.Base
Opens a new connection from JNDI data source by name using explicit JNDI properties.
open(DataSource) - Static method in class org.javalite.activejdbc.Base
Opens a connection from a datasource.
open(String, String, String, String) - Method in class org.javalite.activejdbc.DB
Opens a new connection based on JDBC properties and attaches it to a current thread.
open(String, String, Properties) - Method in class org.javalite.activejdbc.DB
Opens a new connection in case additional driver-specific parameters need to be passed in.
open(String) - Method in class org.javalite.activejdbc.DB
Opens a connection from JNDI based on a registered name.
open() - Method in class org.javalite.activejdbc.DB
This method will open a connection defined in the file 'database.properties' located at root of classpath.
open(DataSource) - Method in class org.javalite.activejdbc.DB
Opens a connection from a datasource.
open(String, Properties) - Method in class org.javalite.activejdbc.DB
Opens a new connection from JNDI data source by name using explicit JNDI properties.
open(ConnectionSpec) - Method in class org.javalite.activejdbc.DB
This method is used internally by framework.
openConnection(String, String, String, String) - Static method in class org.javalite.db_migrator.DbUtils
 
openConnection() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
openConnection(boolean) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
openTransaction() - Static method in class org.javalite.activejdbc.Base
Opens local transaction.
openTransaction() - Method in class org.javalite.activejdbc.DB
Opens local transaction.
OracleDialect - Class in org.javalite.activejdbc.dialects
 
OracleDialect() - Constructor for class org.javalite.activejdbc.dialects.OracleDialect
 
ORDER_BY_PATTERN - Static variable in class org.javalite.activejdbc.dialects.DefaultDialect
 
orderBy(String) - Method in class org.javalite.activejdbc.LazyList
Use this method to order results by a column.
orderBy(String) - Method in class org.javalite.activejdbc.Paginator
Use to set order by(s).
orderBy(String) - Method in class org.javalite.activejdbc.SuperLazyList
 
org.javalite.activejdbc - package org.javalite.activejdbc
 
org.javalite.activejdbc.annotations - package org.javalite.activejdbc.annotations
 
org.javalite.activejdbc.associations - package org.javalite.activejdbc.associations
 
org.javalite.activejdbc.cache - package org.javalite.activejdbc.cache
 
org.javalite.activejdbc.conversion - package org.javalite.activejdbc.conversion
 
org.javalite.activejdbc.dialects - package org.javalite.activejdbc.dialects
 
org.javalite.activejdbc.statistics - package org.javalite.activejdbc.statistics
 
org.javalite.activejdbc.validation - package org.javalite.activejdbc.validation
 
org.javalite.activejdbc.validation.length - package org.javalite.activejdbc.validation.length
 
org.javalite.activejdbc.web - package org.javalite.activejdbc.web
 
org.javalite.app_config - package org.javalite.app_config
 
org.javalite.common - package org.javalite.common
 
org.javalite.db_migrator - package org.javalite.db_migrator
 
org.javalite.db_migrator.maven - package org.javalite.db_migrator.maven
 
org.javalite.http - package org.javalite.http
This package contains convenience classes for working with REST services.
org.javalite.instrumentation - package org.javalite.instrumentation
 
org.javalite.maven - package org.javalite.maven
 
org.javalite.test - package org.javalite.test
 
org.javalite.test.jspec - package org.javalite.test.jspec
 
OSCacheManager - Class in org.javalite.activejdbc.cache
 
OSCacheManager() - Constructor for class org.javalite.activejdbc.cache.OSCacheManager
 
overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
overrideDriverTypeConversion(MetaModel, String, Object) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
TDS converts a number of important data types to String.
overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
 

P

p(String) - Static method in class org.javalite.app_config.AppConfig
Gets property, synonym for AppConfig.getProperty(String).
pageCount() - Method in class org.javalite.activejdbc.Paginator
 
Paginator<T extends Model> - Class in org.javalite.activejdbc
This class supports pagination of result sets in ActiveJDBC.
Paginator(Class<? extends T>, int, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
Convenience constructor.
Paginator(Class<? extends T>, int, boolean, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
Paginator is created with parameters to jump to chunks of result sets (pages).
param(String, String) - Method in class org.javalite.http.Post
Adds a parameter to the request as in a HTML form.
params(String...) - Method in class org.javalite.http.Post
Convenience method to add multiple parameters to the request.
parent(Class<P>) - Method in class org.javalite.activejdbc.Model
Returns parent of this model, assuming that this table represents a child.
parent(Class<P>, boolean) - Method in class org.javalite.activejdbc.Model
Same as Model.parent(Class), with additional argument.
patch(String, String) - Static method in class org.javalite.http.Http
Executes a PATCH request.
patch(String, byte[]) - Static method in class org.javalite.http.Http
Executes a PATCH request.
patch(String, byte[], int, int) - Static method in class org.javalite.http.Http
Executes a PATCH request.
Patch - Class in org.javalite.http
Executes a PATCH request.
Patch(String, byte[], int, int) - Constructor for class org.javalite.http.Patch
Constructor for making PATCH requests.
pause(boolean) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
 
pluralize(String) - Static method in class org.javalite.common.Inflector
 
post(String, String) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String, byte[]) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String, byte[], int, int) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String, int, int) - Static method in class org.javalite.http.Http
Executes a POST request.
Post - Class in org.javalite.http
Executes a POST request.
Post(String, byte[], int, int) - Constructor for class org.javalite.http.Post
Constructor for making POST requests.
PostgreSQLDialect - Class in org.javalite.activejdbc.dialects
 
PostgreSQLDialect() - Constructor for class org.javalite.activejdbc.dialects.PostgreSQLDialect
 
premain(String, Instrumentation) - Static method in class org.javalite.instrumentation.JavaAgent
 
processDirectoryPath(File) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
 
processRS(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
 
processURL(URL) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
 
project - Variable in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
project - Variable in class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
The enclosing project.
project - Variable in class org.javalite.maven.GitInfoPlugin
The enclosing project.
Property - Class in org.javalite.app_config
Identifies a configuration property.
Property(String, String, String) - Constructor for class org.javalite.app_config.Property
 
purgeCache() - Static method in class org.javalite.activejdbc.Model
Use to force-purge cache associated with this table.
purgeCache(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
purgeTableCache(MetaModel) - Method in class org.javalite.activejdbc.cache.CacheManager
This method purges (removes) all caches associated with a table, if caching is enabled and a corresponding model is marked cached.
purgeTableCache(String) - Method in class org.javalite.activejdbc.cache.CacheManager
purgeTableCache(MetaModel) - Method in enum org.javalite.activejdbc.cache.QueryCache
This method purges (removes) all caches associated with a table, if caching is enabled and a corresponding model is marked cached.
purgeTableCache(String) - Method in enum org.javalite.activejdbc.cache.QueryCache
put(String, String) - Method in class org.javalite.activejdbc.Errors
 
put(String, String) - Method in class org.javalite.app_config.AppConfig
 
put(String, String) - Static method in class org.javalite.http.Http
Executes a PUT request.
put(String, byte[]) - Static method in class org.javalite.http.Http
Executes a PUT request.
put(String, byte[], int, int) - Static method in class org.javalite.http.Http
Executes a PUT request.
Put - Class in org.javalite.http
Executes a PUT request.
Put(String, byte[], int, int) - Constructor for class org.javalite.http.Put
Constructor for making PUT requests.
putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.activejdbc.Errors
 
putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.app_config.AppConfig
 

Q

QueryCache - Enum in org.javalite.activejdbc.cache
This is a main cache facade.
QueryExecutionEvent - Class in org.javalite.activejdbc.statistics
 
QueryExecutionEvent(String, long) - Constructor for class org.javalite.activejdbc.statistics.QueryExecutionEvent
 
QueryStats - Class in org.javalite.activejdbc.statistics
This class represents statistical information for one query.
QueryStats(String) - Constructor for class org.javalite.activejdbc.statistics.QueryStats
 

R

Range - Class in org.javalite.activejdbc.validation.length
The attribute length must be between the given minimum and maximum length (inclusive).
RangeValidator - Class in org.javalite.activejdbc.validation
 
RangeValidator(String, Number, Number) - Constructor for class org.javalite.activejdbc.validation.RangeValidator
 
read(InputStream) - Static method in class org.javalite.common.Util
Reads contents of the input stream fully and returns it as String.
read(InputStream, String) - Static method in class org.javalite.common.Util
Reads contents of the input stream fully and returns it as String.
read(File) - Static method in class org.javalite.common.Util
Reads file into a byte array.
READ_TIMEOUT - Static variable in class org.javalite.http.Http
Read timeout in milliseconds.
readExternal(ObjectInput) - Method in class org.javalite.activejdbc.LazyList
 
readExternal(ObjectInput) - Method in class org.javalite.activejdbc.Model
 
readFile(String) - Static method in class org.javalite.common.Util
Reads contents of file fully and returns as string.
readFile(String, String) - Static method in class org.javalite.common.Util
Reads contents of file fully and returns as string.
readResource(String) - Static method in class org.javalite.common.Util
Reads contents of resource fully into a string.
readResource(String, String) - Static method in class org.javalite.common.Util
Reads contents of resource fully into a string.
readResourceBytes(String) - Static method in class org.javalite.common.Util
Reads contents of resource fully into a byte array.
recordMigration(String, Date, long) - Method in class org.javalite.db_migrator.VersionStrategy
 
redirect - Variable in class org.javalite.http.Request
 
redirect(boolean) - Method in class org.javalite.http.Request
Configures this request to follow redirects.
RedisCacheManager - Class in org.javalite.activejdbc.cache
Redis cache manager.
RedisCacheManager() - Constructor for class org.javalite.activejdbc.cache.RedisCacheManager
 
refresh() - Method in class org.javalite.activejdbc.Model
Re-reads all attribute values from DB.
RegexpValidator - Class in org.javalite.activejdbc.validation
 
RegexpValidator(String, String) - Constructor for class org.javalite.activejdbc.validation.RegexpValidator
 
registerModelClass(String) - Static method in class org.javalite.activejdbc.ModelFinder
 
Registry - Enum in org.javalite.activejdbc
 
remove(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
 
remove(int) - Method in class org.javalite.activejdbc.AbstractLazyList
 
remove(Object) - Method in class org.javalite.activejdbc.Errors
 
remove(Model) - Method in class org.javalite.activejdbc.Model
Removes associated child from this instance.
remove(Object) - Method in class org.javalite.app_config.AppConfig
 
removeAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
removeAllCacheEventListeners() - Method in class org.javalite.activejdbc.cache.CacheManager
 
removeCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
 
removeValidator(Validator) - Static method in class org.javalite.activejdbc.Model
Removes a validator from model.
removeValidator(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
 
repeat(StringBuilder, String, int) - Static method in class org.javalite.common.Util
Repeats string of characters a defined number of times, and appends result to StringBuilder.
replaceError() - Static method in class org.javalite.test.SystemStreamUtil
Replaces System.err with internal buffer.
replaceOut() - Static method in class org.javalite.test.SystemStreamUtil
Replaces System.out with internal buffer.
Request<T extends Request> - Class in org.javalite.http
This class provides static convenience methods for simple HTTP requests.
Request(String, int, int) - Constructor for class org.javalite.http.Request
 
reset() - Method in class org.javalite.activejdbc.Model
Resets all data in this model, including the ID.
reset() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
 
ResetMojo - Class in org.javalite.db_migrator.maven
 
ResetMojo() - Constructor for class org.javalite.db_migrator.maven.ResetMojo
 
resolve() - Method in class org.javalite.db_migrator.MigrationResolver
 
responseCode() - Method in class org.javalite.http.Request
Returns HTTP response code.
responseMessage() - Method in class org.javalite.http.Request
Returns response message from server, such as "OK", or "Created", etc.
restoreSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
Restores System.err to former glory.
restoreSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
Restores System.out to former glory.
retainAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
rollbackTransaction() - Static method in class org.javalite.activejdbc.Base
Rolls back local transaction.
rollbackTransaction() - Method in class org.javalite.activejdbc.DB
Rolls back local transaction.
RowListener - Interface in org.javalite.activejdbc
 
RowListenerAdapter - Class in org.javalite.activejdbc
Use this class in cases where you need to process an entire result set.
RowListenerAdapter() - Constructor for class org.javalite.activejdbc.RowListenerAdapter
 
RowProcessor - Class in org.javalite.activejdbc
 
RowProcessor(ResultSet, Statement) - Constructor for class org.javalite.activejdbc.RowProcessor
 
run() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Deprecated.
this method is deprecated and blank - does nothing. It will be removed in future versions

S

save() - Method in class org.javalite.activejdbc.Model
This method will save data from this instance to a corresponding table in the DB.
saveIt() - Method in class org.javalite.activejdbc.Model
This method will not exit silently like Model.save(), it instead will throw ValidationException if validations did not pass.
saveTo(String, InputStream) - Static method in class org.javalite.common.Util
Saves content read from input stream into a file.
saveTo(String, byte[]) - Static method in class org.javalite.common.Util
Saves content of byte array to file.
selectCount(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectCount(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectCount(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectCount(String, String) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectExists(MetaModel) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectExists(MetaModel) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectManyToManyAssociation(Many2ManyAssociation, String, int) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectManyToManyAssociation(Many2ManyAssociation, String, int) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectPattern - Variable in class org.javalite.activejdbc.dialects.MSSQLDialect
 
selectStar(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectStar(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectStar(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectStar(String, String) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectStarParametrized(String, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
Produces a parametrized AND query.
selectStarParametrized(String, String...) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectStrings(String, String) - Static method in class org.javalite.test.XPathHelper
Selects text nodes as list of strings
selectText(String) - Method in class org.javalite.test.XPathHelper
Retrieves text of a single node.
selectText(String, String) - Static method in class org.javalite.test.XPathHelper
Selects text from a single node.
set(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
 
set(String[], Object[]) - Method in class org.javalite.activejdbc.Model
Sets values for this model instance.
set(String, Object) - Method in class org.javalite.activejdbc.Model
Sets a value of an attribute.
set(Object...) - Method in class org.javalite.activejdbc.Model
This is a convenience method to set multiple values to a model.
set(T...) - Static method in class org.javalite.common.Collections
Creates a set from values.
setAllowNull(Boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setBigDecimal(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as java.math.BigDecimal.
setBoolean(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Boolean.
setCachedParent(Model) - Method in class org.javalite.activejdbc.Model
 
setChildren(Class, List<Model>) - Method in class org.javalite.activejdbc.Model
 
setConfigFile(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
setCreateSql(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
setDate(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as java.sql.Date.
setDouble(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Double.
setDriver(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
setDropSql(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
setEnvironments(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
setFloat(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Float.
setId(Object) - Method in class org.javalite.activejdbc.Model
Convenience method, sets ID value on this model, equivalent to set(getIdName(), id).
setInteger(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Integer.
setLocale(Locale) - Method in class org.javalite.activejdbc.Errors
Sets a locale on this instance.
setLogExpression(String) - Static method in class org.javalite.activejdbc.LogFilter
 
setLong(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Long.
setMax(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setMessage(String) - Method in interface org.javalite.activejdbc.validation.Validator
Sets an message on this validator.
setMessage(String) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
 
setMigrationsPath(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
 
setMin(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setName(String) - Method in class org.javalite.http.FormField
 
setOnlyInteger(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setOutputDirectory(String) - Method in class org.javalite.instrumentation.Instrumentation
 
setParent(Model) - Method in class org.javalite.activejdbc.Model
Sets a parent on this instance.
setParents(Model...) - Method in class org.javalite.activejdbc.Model
Sets multiple parents on this instance.
setPassword(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
setShardTableName(String) - Method in class org.javalite.activejdbc.MetaModel
This feature is for sharding!
Do not use it to set table names willy-nilly!
setShort(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Short.
setString(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as String.
setTime(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as java.sql.Time.
setTimestamp(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as java.sql.Timestamp.
setTS(String, Date) - Method in class org.javalite.activejdbc.Model
Deprecated.
setUrl(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
setUsername(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
 
shortName(String) - Static method in class org.javalite.common.Inflector
Deprecated.
Use clazz.getSimpleName() instead of Inflector.shortName(clazz.getName()).
shouldBe(String) - Method in class org.javalite.test.jspec.Expectation
Invokes a boolean method and uses return value in comparison.
shouldBeA(Class) - Method in class org.javalite.test.jspec.Expectation
Tests that the Tested value is a specific type.
shouldBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
Tested value is equal expected.
shouldBeFalse() - Method in class org.javalite.test.jspec.Expectation
Tested value should be false.
shouldBeNull() - Method in class org.javalite.test.jspec.Expectation
Tested value should be null.
shouldBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
Tested value is the same reference value as expected.
shouldBeTrue() - Method in class org.javalite.test.jspec.Expectation
Tested value should be true.
shouldBeType(Class) - Method in class org.javalite.test.jspec.Expectation
Tests that the Tested value is a specific type.
shouldContain(Object) - Method in class org.javalite.test.jspec.Expectation
Tests that an expected value is contained in the tested object.
shouldEqual(T) - Method in class org.javalite.test.jspec.Expectation
shouldHave(String) - Method in class org.javalite.test.jspec.Expectation
This is for cases suh as: "hasErrors()": a(p).shouldHave("errors").
shouldNotBe(String) - Method in class org.javalite.test.jspec.Expectation
Invokes a boolean method and uses return value in comparison.
shouldNotBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
Tested and expected values are not equal.
shouldNotBeNull() - Method in class org.javalite.test.jspec.Expectation
Tested reference should not be null.
shouldNotBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
Tested value is not the same reference value as expected.
shouldNotContain(Object) - Method in class org.javalite.test.jspec.Expectation
This method is exactly opposite (negated) of Expectation.shouldContain(Object).
shouldNotHave(String) - Method in class org.javalite.test.jspec.Expectation
This is for cases suh as: "hasErrors()": a(p).shouldNotHave("errors").
SimpleFormatter - Class in org.javalite.activejdbc
Deprecated.
Use Dialect to format query values
SimpleFormatter(Class, String, String) - Constructor for class org.javalite.activejdbc.SimpleFormatter
Deprecated.
 
singularize(String) - Static method in class org.javalite.common.Inflector
 
size() - Method in class org.javalite.activejdbc.AbstractLazyList
 
size() - Method in class org.javalite.activejdbc.Errors
 
size() - Method in class org.javalite.app_config.AppConfig
 
sourceClass() - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
 
sourceClass() - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
 
sourceClass() - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
 
split(String, String) - Static method in class org.javalite.common.Util
Splits a string into an array using provided delimiters.
split(String, char) - Static method in class org.javalite.common.Util
Splits a string into an array using provided delimiter.
SQLiteDialect - Class in org.javalite.activejdbc.dialects
 
SQLiteDialect() - Constructor for class org.javalite.activejdbc.dialects.SQLiteDialect
 
StaleModelException - Exception in org.javalite.activejdbc
 
StaleModelException(String) - Constructor for exception org.javalite.activejdbc.StaleModelException
 
startBatch(String) - Static method in class org.javalite.activejdbc.Base
Creates a java.sql.PreparedStatement to be used in batch executions later.
startBatch(String) - Method in class org.javalite.activejdbc.DB
Creates a java.sql.PreparedStatement to be used in batch executions later.
StatisticsQueue - Class in org.javalite.activejdbc.statistics
This class will collect statistics on executed queries and then can produce reports sorted by various parameters.
StatisticsQueue(boolean) - Constructor for class org.javalite.activejdbc.statistics.StatisticsQueue
 
stop() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Shutdowns StatisticsQueue completely, new StatisticsQueue should be created to start gathering statistics again
StringToSqlDateConverter - Class in org.javalite.activejdbc.conversion
Converts instances of String to Date.
StringToSqlDateConverter(String) - Constructor for class org.javalite.activejdbc.conversion.StringToSqlDateConverter
 
StringToSqlDateConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.StringToSqlDateConverter
 
StringToTimestampConverter - Class in org.javalite.activejdbc.conversion
Converts instances of String to Timestamp.
StringToTimestampConverter(String) - Constructor for class org.javalite.activejdbc.conversion.StringToTimestampConverter
 
StringToTimestampConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.StringToTimestampConverter
 
subList(int, int) - Method in class org.javalite.activejdbc.AbstractLazyList
 
SuperLazyList<T extends Model> - Class in org.javalite.activejdbc
The purpose of this class is to provide toMaps() method in cases of eager loading of dependencies.
SuperLazyList() - Constructor for class org.javalite.activejdbc.SuperLazyList
 
SystemStreamUtil - Class in org.javalite.test
This class can be used to catch standard and error outputs in tests so as not to pollute test printout with "good" exceptions stack traces.

T

Table - Annotation Type in org.javalite.activejdbc.annotations
 
tableExists() - Method in class org.javalite.activejdbc.MetaModel
 
tableize(String) - Static method in class org.javalite.common.Inflector
Converts a camel case to underscore and then pluralizes.
tableNameOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
Templator - Class in org.javalite.common
Simple implementation of small quick templates filled with dynamic data. An example of a template:
Templator(String) - Constructor for class org.javalite.common.Templator
 
TestException - Exception in org.javalite.test.jspec
 
TestException() - Constructor for exception org.javalite.test.jspec.TestException
 
TestException(String) - Constructor for exception org.javalite.test.jspec.TestException
 
TestException(String, Throwable) - Constructor for exception org.javalite.test.jspec.TestException
 
TestException(Throwable) - Constructor for exception org.javalite.test.jspec.TestException
 
text() - Method in class org.javalite.http.Request
Fetches response content from server as String.
text(String) - Method in class org.javalite.http.Request
Fetches response content from server as String.
thaw() - Method in class org.javalite.activejdbc.Model
Unfreezes this model.
the(Object) - Static method in class org.javalite.test.jspec.JSpec
 
the(Object) - Method in class org.javalite.test.jspec.JSpecSupport
 
TimestampConverter - Class in org.javalite.activejdbc.validation
TimestampConverter(String, String) - Constructor for class org.javalite.activejdbc.validation.TimestampConverter
Deprecated.
 
timestampFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
Registers date format for specified attributes.
timestampFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
Registers date format for specified attributes.
timestampFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
timestampFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
toArray() - Method in class org.javalite.activejdbc.AbstractLazyList
 
toArray(T[]) - Method in class org.javalite.activejdbc.AbstractLazyList
 
toBase64(byte[]) - Static method in class org.javalite.common.Util
Will encode byte array using Base64 encoding.
toBigDecimal(Object) - Static method in class org.javalite.common.Convert
Converts value to BigDecimal if it can.
toBoolean(Object) - Static method in class org.javalite.common.Convert
Returns true if the value is any numeric type and has a value of 1, or if string type has a value of '1', 't', 'y', 'true' or 'yes'.
toBytes(Object) - Static method in class org.javalite.common.Convert
Converts value to bytes array if it can.
toBytes(Blob) - Static method in class org.javalite.common.Convert
Converts java.sql.Blob to bytes array.
toDouble(Object) - Static method in class org.javalite.common.Convert
Converts any value to Double.
toFloat(Object) - Static method in class org.javalite.common.Convert
Converts value to Float if it can.
toHumanFormat(long, long) - Static method in class org.javalite.common.HumanDate
Generates a human representation of distance in time between two time stamps.
toHumanFormat(long) - Static method in class org.javalite.common.HumanDate
This is a convenience method in addition to HumanDate.toHumanFormat(long, long), except the second parameter is always now.
toInsert() - Method in class org.javalite.activejdbc.Model
Generates INSERT SQL based on this model.
toInsert(Dialect) - Method in class org.javalite.activejdbc.Model
Generates INSERT SQL based on this model with the provided dialect.
toInsert(String, String) - Method in class org.javalite.activejdbc.Model
Deprecated.
toInsert(Formatter...) - Method in class org.javalite.activejdbc.Model
Deprecated.
toInteger(Object) - Static method in class org.javalite.common.Convert
Converts value to Integer if it can.
toIsoString(Date) - Static method in class org.javalite.common.Convert
Converts a java.util.Date to a String in ISO 8601 format: "yyyy-MM-dd'T'HH:mm:ss'Z'" in UTC timezone for timestamps, and "yyyy-MM-dd" for instances of java.sql.Date.
toJson(boolean, String...) - Method in class org.javalite.activejdbc.LazyList
Generates JSON from content of this list
toJson(boolean, String...) - Method in class org.javalite.activejdbc.Model
Generates a JSON document from content of this model.
toJsonP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
 
toJsonString(Object) - Static method in class org.javalite.common.JsonHelper
Convert Java object to a JSON string.
toList(String) - Static method in class org.javalite.common.JsonHelper
Convert JSON array tp Java List
toLong(Object) - Static method in class org.javalite.common.Convert
Converts value to Long if it can.
toMap() - Method in class org.javalite.activejdbc.Model
Returns all values of the model with all attribute names converted to lower case, regardless how these names came from DB.
toMap(String) - Static method in class org.javalite.common.JsonHelper
Convert a JSON map to a Java Map
toMaps() - Method in class org.javalite.activejdbc.LazyList
Converts the resultset to list of maps, where each map represents a row in the resultset keyed off column names.
toMaps(String) - Static method in class org.javalite.common.JsonHelper
Convert JSON Array to Java array of maps.
toShort(Object) - Static method in class org.javalite.common.Convert
Converts value to Short if it can.
toSql() - Method in class org.javalite.activejdbc.LazyList
Same as toSql(true), see LazyList.toSql(boolean);
toSql(boolean) - Method in class org.javalite.activejdbc.LazyList
Use to see what SQL will be sent to the database.
toSqlDate(Object) - Static method in class org.javalite.common.Convert
Expects a java.sql.Date, java.sql.Timestamp, java.sql.Time, java.util.Date, Long or any object whose toString method has this format: yyyy-mm-dd.
toString() - Method in class org.javalite.activejdbc.AbstractLazyList
 
toString() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
 
toString() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
toString() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
toString() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
 
toString() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
toString() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
toString() - Method in class org.javalite.activejdbc.ColumnMetadata
 
toString() - Method in class org.javalite.activejdbc.Errors
 
toString() - Method in class org.javalite.activejdbc.MetaModel
 
toString() - Method in class org.javalite.activejdbc.Model
 
toString() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
toString() - Method in class org.javalite.app_config.Property
 
toString(Object) - Static method in class org.javalite.common.Convert
Returns string representation of an object, including Clob.
toTime(Object) - Static method in class org.javalite.common.Convert
If the value is instance of java.sql.Time, returns it, else tries to convert java.util.Date or Long to Time, else tries to convert using Time.valueOf(String).
toTimestamp(Object) - Static method in class org.javalite.common.Convert
If the value is instance of java.sql.Timestamp, returns it, else tries to convert java.util.Date or Long to Timestamp, else tries to convert using Timestamp.valueOf(String).
toUpdate() - Method in class org.javalite.activejdbc.Model
Generates UPDATE SQL based on this model.
toUpdate(Dialect) - Method in class org.javalite.activejdbc.Model
Generates UPDATE SQL based on this model with the provided dialect.
toXml(boolean, boolean, String...) - Method in class org.javalite.activejdbc.LazyList
Generates a XML document from content of this list.
toXml(int, boolean, String...) - Method in class org.javalite.activejdbc.LazyList
toXml(boolean, boolean, String...) - Method in class org.javalite.activejdbc.Model
Generates a XML document from content of this model.
toXml(int, boolean, String...) - Method in class org.javalite.activejdbc.Model
toXmlP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
 
truncateToSqlDate(Object) - Static method in class org.javalite.common.Convert
Expects a java.sql.Date, java.sql.Timestamp, java.sql.Time, java.util.Date, Long or string with format "yyyy-MM-dd".
truncateToSqlDate(long) - Static method in class org.javalite.common.Convert
This method will truncate hours, minutes, seconds and milliseconds to zeros, to conform with JDBC spec: http://download.oracle.com/javase/6/docs/api/java/sql/Date.html.
tryClass(String) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
 

U

underscore(String) - Static method in class org.javalite.common.Inflector
Converts a CamelCase string to underscores: "AliceInWonderLand" becomes: "alice_in_wonderland"
unescape(String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Unescapes the entities in a String.
unescape(StringBuilder, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Unescapes the escaped entities in the String passed and writes the result to the StringBuilder passed.
unescape(Writer, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
UniquenessValidator - Class in org.javalite.activejdbc.validation
 
UniquenessValidator(String) - Constructor for class org.javalite.activejdbc.validation.UniquenessValidator
 
update(MetaModel, Map<String, Object>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
update(MetaModel, Map<String, Object>) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
update(String, String, Object...) - Static method in class org.javalite.activejdbc.Model
Updates records associated with this model.
update(Class<? extends Model>, String, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
updateAll(String, Object...) - Static method in class org.javalite.activejdbc.Model
Updates all records associated with this model.
updateAll(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
url - Variable in class org.javalite.http.Request
 
Util - Class in org.javalite.common
 

V

validate() - Method in class org.javalite.activejdbc.Model
Executes all validators attached to this model.
validate(Model) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
 
validate(Model) - Method in class org.javalite.activejdbc.validation.Converter
Deprecated.
 
validate(Model) - Method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
 
validate(String) - Method in class org.javalite.activejdbc.validation.length.Exact
 
validate(String) - Method in interface org.javalite.activejdbc.validation.length.LengthOption
 
validate(String) - Method in class org.javalite.activejdbc.validation.length.Max
 
validate(String) - Method in class org.javalite.activejdbc.validation.length.Min
 
validate(String) - Method in class org.javalite.activejdbc.validation.length.Range
 
validate(Model) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
validate(Model) - Method in class org.javalite.activejdbc.validation.RangeValidator
 
validate(Model) - Method in class org.javalite.activejdbc.validation.RegexpValidator
 
validate(Model) - Method in class org.javalite.activejdbc.validation.UniquenessValidator
 
validate(Model) - Method in interface org.javalite.activejdbc.validation.Validator
Called by framework when a Model.validate() method called.
validate() - Method in class org.javalite.db_migrator.MigrationManager
Validates whether the database is currently up-to-date.
validateEmailOf(String) - Static method in class org.javalite.activejdbc.Model
Validates email format.
validateEmailOf(Class<? extends Model>, String) - Static method in class org.javalite.activejdbc.ModelDelegate
 
ValidateMojo - Class in org.javalite.db_migrator.maven
Validate current schema against available migrations.
ValidateMojo() - Constructor for class org.javalite.db_migrator.maven.ValidateMojo
 
validateNumericalityOf(String...) - Static method in class org.javalite.activejdbc.Model
 
validateNumericalityOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
validatePresenceOf(String...) - Static method in class org.javalite.activejdbc.Model
The validation will not pass if the value is either an empty string "", or null.
validatePresenceOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
validateRange(String, Number, Number) - Static method in class org.javalite.activejdbc.Model
Validates range.
validateRange(Class<? extends Model>, String, Number, Number) - Static method in class org.javalite.activejdbc.ModelDelegate
 
validateRegexpOf(String, String) - Static method in class org.javalite.activejdbc.Model
Validates an attribite format with a ree hand regular expression.
validateRegexpOf(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
 
validateWith(Validator) - Static method in class org.javalite.activejdbc.Model
Add a custom validator to the model.
validateWith(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
 
ValidationBuilder<T extends Validator> - Class in org.javalite.activejdbc.validation
 
ValidationBuilder(List<T>) - Constructor for class org.javalite.activejdbc.validation.ValidationBuilder
 
ValidationBuilder(T) - Constructor for class org.javalite.activejdbc.validation.ValidationBuilder
 
ValidationException - Exception in org.javalite.activejdbc.validation
 
ValidationException(Model) - Constructor for exception org.javalite.activejdbc.validation.ValidationException
 
ValidationException(String) - Constructor for exception org.javalite.activejdbc.validation.ValidationException
 
Validator - Interface in org.javalite.activejdbc.validation
 
ValidatorAdapter - Class in org.javalite.activejdbc.validation
Subclass this class to create custom validators.
ValidatorAdapter() - Constructor for class org.javalite.activejdbc.validation.ValidatorAdapter
 
validators - Variable in class org.javalite.activejdbc.validation.ValidationBuilder
 
validatorsOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
valueOf(String) - Static method in enum org.javalite.activejdbc.cache.CacheEvent.CacheEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.activejdbc.cache.QueryCache
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.activejdbc.Registry
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.db_migrator.DatabaseType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.javalite.activejdbc.cache.CacheEvent.CacheEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javalite.activejdbc.cache.QueryCache
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.javalite.activejdbc.Errors
 
values() - Static method in enum org.javalite.activejdbc.Registry
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.javalite.app_config.AppConfig
 
values() - Static method in enum org.javalite.db_migrator.DatabaseType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
 
VERSION_TABLE - Static variable in class org.javalite.db_migrator.VersionStrategy
 
VersionColumn - Annotation Type in org.javalite.activejdbc.annotations
This annotation is used to override name of a version column for optimistic locking
VersionStrategy - Class in org.javalite.db_migrator
A trivial VersionStrategy which tracks only the minimal information required to note the current state of the database: the current version.
VersionStrategy() - Constructor for class org.javalite.db_migrator.VersionStrategy
 
versionTableExists() - Method in class org.javalite.db_migrator.MigrationManager
 
versionTableExists() - Method in class org.javalite.db_migrator.VersionStrategy
 

W

where(String, Object...) - Static method in class org.javalite.activejdbc.Model
Finder method for DB queries based on table represented by this model.
where(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
with(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
 
with(LengthOption) - Method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
 
withoutPadding() - Method in class org.javalite.common.Base64.Encoder
Returns an encoder instance that encodes equivalently to this one, but without adding any padding character at the end of the encoded byte data.
wrap(InputStream) - Method in class org.javalite.common.Base64.Decoder
Returns an input stream for decoding Base64 encoded byte stream.
wrap(OutputStream) - Method in class org.javalite.common.Base64.Encoder
Wraps an output stream for encoding byte data using the Base64 encoding scheme.
writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.LazyList
 
writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.Model
 

X

xml(StringBuilder, String) - Static method in class org.javalite.common.Escape
Escapes XML appending to StringBuilder.
xml(String) - Static method in class org.javalite.common.Escape
Escapes XML.
XML - Static variable in class org.javalite.common.XmlEntities
Deprecated.
The set of entities supported by standard XML.
XmlEntities - Class in org.javalite.common
Deprecated.
use Apache Commons or Escape instead
XmlEntities() - Constructor for class org.javalite.common.XmlEntities
Deprecated.
Default constructor.
XPathHelper - Class in org.javalite.test
Convenience class for pulling information from XML documents.
XPathHelper(String) - Constructor for class org.javalite.test.XPathHelper
Use constructor and instance methods to only parse once and reuse a parsed tree.

Z

zeroToNull(String...) - Static method in class org.javalite.activejdbc.Model
Registers ZeroToNullConverter for specified attributes.
zeroToNull(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
ZeroToNullConverter - Enum in org.javalite.activejdbc.conversion
Converts instances of Number that are zero to null.
$ A B C D E F G H I J K L M N O P Q R S T U V W X Z 
Skip navigation links

Copyright © 2016 JavaLite. All rights reserved.