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

A

AbstractLazyList<E> - Class in org.javalite.activejdbc
 
AbstractLazyList() - Constructor for class org.javalite.activejdbc.AbstractLazyList
 
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
 
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.EHCacheManager
 
addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.OSCacheManager
 
addCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
 
addCallbacks(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
Deprecated. use Model.callbackWith(CallbackListener...) instead
addError(String, String) - Method in class org.javalite.activejdbc.Model
Adds a new error to the collection of errors.
addItem(String, String, Object[], Object) - Method in enum org.javalite.activejdbc.cache.QueryCache
Adds an item to cache.
addQueryTime(long) - Method in class org.javalite.activejdbc.statistics.QueryStats
Whenever this query was executed, add execution time with this method.
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
Alias to DB.findAll(String, Object...)
all(String) - Method in class org.javalite.activejdbc.DB
Alias to DB.findAll(String)
allowNull(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Will ignore validation if set to true.
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
 
Association - Class in org.javalite.activejdbc
Associations are synonymous with relationships.
Association(String, String) - 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.
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. use Model.attributeNames() instead
attributes(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
Deprecated. use ModelDelegate.attributeNames(Class) instead

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.
Base() - Constructor for class org.javalite.activejdbc.Base
 
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
Deprecated. use Model.beforeClosingBrace(StringBuilder, boolean, String, String...) instead
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
Deprecated. use Model.beforeClosingTag(StringBuilder, boolean, String, String...) instead
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(String, String, 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(String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
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.

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
 
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
 
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
 
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
 
checkAttributeOrAssociation(String) - Method in class org.javalite.activejdbc.MetaModel
Checks if this model has a named attribute or association whose target has the same name as argument.
clear() - Method in class org.javalite.activejdbc.AbstractLazyList
 
clear() - Method in class org.javalite.activejdbc.Errors
 
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.
closeAllConnections() - Static method in class org.javalite.activejdbc.DB
Closes all current connections.
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
 
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.
CompositePK - Annotation Type in org.javalite.activejdbc.annotations
 
Configuration - Class in org.javalite.activejdbc
 
Configuration() - Constructor for class org.javalite.activejdbc.Configuration
 
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.
ConnectionJdbcSpec - Class in org.javalite.activejdbc
 
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
 
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
 
ConnectionsAccess() - Constructor for class org.javalite.activejdbc.ConnectionsAccess
 
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
 
containsValue(Object) - Method in class org.javalite.activejdbc.Errors
 
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
 
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.  
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
Deprecated. use Model.blankToNull(java.lang.String...) instead
convertNullIfEmpty(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
Deprecated. use BlankToNullConverter instead
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
Deprecated. use Model.convertWith(org.javalite.activejdbc.conversion.Converter, String...) instead
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
Deprecated. use ModelDelegate.convertWith(Class, org.javalite.activejdbc.conversion.Converter, String...) instead
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
 
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
 

D

DateConverter - Class in org.javalite.activejdbc.validation
Deprecated. use DateToStringConverter and StringToSqlDateConverter instead
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.
DBException - Exception in org.javalite.activejdbc
Generic exception wrapper for all things DB.
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
 
DBException() - Constructor for exception org.javalite.activejdbc.DBException
 
DbName - Annotation Type in org.javalite.activejdbc.annotations
 
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
 
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.
Dialect - Interface in org.javalite.activejdbc.dialects
 
dirtyAttributeNames() - Method in class org.javalite.activejdbc.Model
 
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.EHCacheManager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.OSCacheManager
 
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.

E

EHCacheManager - Class in org.javalite.activejdbc.cache
 
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
 
enqueue(QueryExecutionEvent) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Enqueues a query execution event for processing.
entrySet() - Method in class org.javalite.activejdbc.Errors
 
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
 
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.
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.
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.
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
 

F

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
Synonym of Model.where(String, Object...)
find(String, ModelListener) - Static method in class org.javalite.activejdbc.Model
Deprecated. use Model.findWith(ModelListener, String, Object...).
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
Synonym of Model.first(String, Object...).
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) - Method in class org.javalite.activejdbc.cache.CacheManager
Flash 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.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.
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
 
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

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.
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.
getAssociationForTarget(String, Class<A>) - Method in class org.javalite.activejdbc.MetaModel
Returns association of this table with the target table.
getAssociationForTarget(String) - 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(String) - 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.EHCacheManager
 
getCache(String, String) - Method in class org.javalite.activejdbc.cache.OSCacheManager
 
getCacheManager() - Method in enum org.javalite.activejdbc.cache.QueryCache
 
getCacheManager() - Method in class org.javalite.activejdbc.Configuration
 
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.
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.
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
 
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.
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
 
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
 
getEdges(String) - Method in enum org.javalite.activejdbc.Registry
Returns edges for a join.
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.
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
 
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
 
getMetaModel() - Static method in class org.javalite.activejdbc.Model
 
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
 
getMetaModelLocal() - Method in class org.javalite.activejdbc.Model
This method should be called from all instance methods for performance.
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.
getModelsForDb(String) - Static method in class org.javalite.activejdbc.ModelFinder
 
getNext() - Method in class org.javalite.activejdbc.Paginator
Synonym for Paginator.hasNext().
getOneToManyAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
 
getPage(int) - Method in class org.javalite.activejdbc.Paginator
This method will return a list of records for a specific page.
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
getPolymorphicAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
 
getPrevious() - Method in class org.javalite.activejdbc.Paginator
Synonym for Paginator.hasPrevious().
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.
getShort(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Short.
getSource() - Method in class org.javalite.activejdbc.Association
Returns source table name of this association.
getSource() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
getSourceFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
getStatisticsQueue() - Method in enum org.javalite.activejdbc.Registry
 
getString(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as String.
getTableName() - Method in class org.javalite.activejdbc.MetaModel
 
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
 
getTarget() - Method in class org.javalite.activejdbc.Association
Returns target table name 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
 
getUser() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getUser() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
Deprecated. unused method, returns null
getValidators(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
 
getValueClass() - Method in interface org.javalite.activejdbc.Formatter
Deprecated.  
getValueClass() - Method in class org.javalite.activejdbc.SimpleFormatter
Deprecated.  
getVersionColumn() - Method in class org.javalite.activejdbc.MetaModel
 
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
 

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(String, 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
 
hasNext() - Method in class org.javalite.activejdbc.Paginator
 
hasPrevious() - Method in class org.javalite.activejdbc.Paginator
 
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
 
init(FilterConfig) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
 
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
 
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
 
isFrozen() - Method in class org.javalite.activejdbc.Model
Will return true if this instance is frozen, false otherwise.
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
iterator() - Method in class org.javalite.activejdbc.AbstractLazyList
 

K

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

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
 
lessThan(double) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Specify a upper bound for a value, not inclusive.
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
 
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
 
LogFilter - Class in org.javalite.activejdbc
 
LogFilter() - Constructor for class org.javalite.activejdbc.LogFilter
 

M

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(String, String, String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
Many2ManyAssociation(String, String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
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.
Messages() - Constructor for class org.javalite.activejdbc.Messages
 
MetaModel - Class in org.javalite.activejdbc
 
MetaModel(String, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.MetaModel
 
metaModelOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
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
 
ModelFinder - Class in org.javalite.activejdbc
 
ModelFinder() - Constructor for class org.javalite.activejdbc.ModelFinder
 
modelFound(String) - Static method in class org.javalite.activejdbc.ModelFinder
 
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
 
MySQLDialect - Class in org.javalite.activejdbc.dialects
 
MySQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MySQLDialect
 

N

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
 
NotAssociatedException - Exception in org.javalite.activejdbc.associations
 
NotAssociatedException(String, String) - 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

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
 
OneToManyAssociation - Class in org.javalite.activejdbc.associations
 
OneToManyAssociation(String, String, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
 
OneToManyPolymorphicAssociation - Class in org.javalite.activejdbc.associations
 
OneToManyPolymorphicAssociation(String, String, 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(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(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.
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.web - package org.javalite.activejdbc.web
 
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

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).
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
 
pause(boolean) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
 
PostgreSQLDialect - Class in org.javalite.activejdbc.dialects
 
PostgreSQLDialect() - Constructor for class org.javalite.activejdbc.dialects.PostgreSQLDialect
 
processRS(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
 
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(String) - 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.
put(String, String) - Method in class org.javalite.activejdbc.Errors
 
putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.activejdbc.Errors
 

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

RangeValidator - Class in org.javalite.activejdbc.validation
 
RangeValidator(String, Number, Number) - Constructor for class org.javalite.activejdbc.validation.RangeValidator
 
readExternal(ObjectInput) - Method in class org.javalite.activejdbc.Model
 
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.
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
 
removeValidator(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
 
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
 
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.
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
 
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.
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
 
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.
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
 
setMetamodelLocal(MetaModel) - Method in class org.javalite.activejdbc.Model
 
setMin(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setOnlyInteger(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
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.
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. use Model.setTimestamp(String, Object) instead.
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.  
size() - Method in class org.javalite.activejdbc.AbstractLazyList
 
size() - Method in class org.javalite.activejdbc.Errors
 
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
 
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
 

T

Table - Annotation Type in org.javalite.activejdbc.annotations
 
tableExists() - Method in class org.javalite.activejdbc.MetaModel
 
tableNameOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
thaw() - Method in class org.javalite.activejdbc.Model
Unfreezes this model.
TimestampConverter - Class in org.javalite.activejdbc.validation
Deprecated. use DateToStringConverter and StringToTimestampConverter instead
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
 
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. Use Model.toInsert(Dialect) instead.
toInsert(Formatter...) - Method in class org.javalite.activejdbc.Model
Deprecated. Use Model.toInsert(Dialect) instead.
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
 
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.
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.
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.
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
 
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
Deprecated. Use LazyList.toXml(boolean, boolean, String...) instead
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
Deprecated. use Model.toXml(boolean, boolean, String...) instead
toXmlP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
 

U

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
 

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.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.
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
 
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.
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.
VersionColumn - Annotation Type in org.javalite.activejdbc.annotations
This annotation is used to override name of a version column for optimistic locking

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
 
writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.Model
 

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 K L M N O P Q R S T U V W Z

Copyright © 2015 JavaLite. All rights reserved.