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

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
 
ActiveJdbcLogger - org.javalite.activejdbc.Configuration.PropertyName
 
ActiveJDBCLogger - Interface in org.javalite.activejdbc.logging
Implement this interface if you want to completely replace logging behavior with your own.
add(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
 
add(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(int, Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
addAll(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.RedisCacheManager
 
addCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
 
addConnectionConfig(ConnectionConfig) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
Adds a new connection config for an environment.
addConnectionConfig(ConnectionConfig, boolean) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
addError(String, String) - Method in class org.javalite.activejdbc.Model
Adds a new error to the collection of errors.
addFailedValidator(Validator, String) - Method in class org.javalite.activejdbc.Model
Binds a validator to an attribute if validation fails.
addItem(String, String, Object[], Object) - Method in enum org.javalite.activejdbc.cache.QueryCache
Adds an item to cache.
addModels(List<T>) - Method in class org.javalite.activejdbc.Model
Convenience method.
addQueryTime(long) - Method in class org.javalite.activejdbc.statistics.QueryStats
Whenever this query was executed, add execution time with this method.
addScope(String, String) - Static method in class org.javalite.activejdbc.Model
Use in a static block of a model definotion to add a scope.
addScope(String, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
 
addValidator(Validator) - Static method in class org.javalite.activejdbc.Model
Adds a validator to the model.
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() - Method in class org.javalite.activejdbc.ScopeBuilder
Use in case the scopes define all criteria you need.
all(String) - Method in class org.javalite.activejdbc.DB
all(String, Object...) - Method in class org.javalite.activejdbc.DB
ALL - org.javalite.activejdbc.cache.CacheEvent.CacheEventType
This type means that all caches need to be cleared.
ALL - Static variable in class org.javalite.activejdbc.cache.CacheEvent
 
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.DB2Dialect
 
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, 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, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
Association - Class in org.javalite.activejdbc.associations
Associations are synonymous with relationships.
Association(Class<? extends Model>, Class<? extends Model>) - Constructor for class org.javalite.activejdbc.associations.Association
 
Association(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.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
 

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.
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.
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.
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(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
 
BelongsTo - Annotation Type in org.javalite.activejdbc.annotations
Place on a child model of the One-to-many relationship if the tables do not follow the ActiveJDBC naming conventions.
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
 
BelongsToAssociation(Map<String, Object>) - 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
 
BelongsToPolymorphicAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
blankToNull(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
blankToNull(String...) - Static method in class org.javalite.activejdbc.Model
Registers BlankToNullConverter for specified attributes.

C

cached() - Method in class org.javalite.activejdbc.MetaModel
 
Cached - Annotation Type in org.javalite.activejdbc.annotations
 
CacheEvent - Class in org.javalite.activejdbc.cache
Event object.
CacheEvent(String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
Creates a new event type of CacheEvent.CacheEventType.ALL
CacheEvent(String, String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
Creates a new event type of CacheEvent.CacheEventType.GROUP.
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() - Static method in enum org.javalite.activejdbc.Registry
 
CacheManager - Class in org.javalite.activejdbc.cache
Abstract method to be sub-classed by various caching technologies.
CacheManager - org.javalite.activejdbc.Configuration.PropertyName
 
CacheManager() - Constructor for class org.javalite.activejdbc.cache.CacheManager
 
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(Class<? extends Model>, CallbackListener...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
callbackWith(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
Sets lifecycle listeners on current model.
checkAttribute(String) - Method in class org.javalite.activejdbc.MetaModel
Checks if this model has a named attribute that has the same name as argument.
child() - Method in annotation type org.javalite.activejdbc.annotations.HasMany
 
CLASS - Static variable in class org.javalite.activejdbc.associations.Association
 
clear() - Method in class org.javalite.activejdbc.AbstractLazyList
 
clearConnectionConfigs() - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
Clears connection configs for current environment
clearConnectionConfigs(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
 
clearShardTableName() - Method in class org.javalite.activejdbc.MetaModel
Clears sharding name of table attached to 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) - Static method in class org.javalite.activejdbc.Base
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.
closePreparedStatement(PreparedStatement) - Static method in class org.javalite.activejdbc.Base
Quietly closes the java.sql.PreparedStatement used in a batch execution.
closePreparedStatement(PreparedStatement) - Method in class org.javalite.activejdbc.DB
Quietly closes the java.sql.PreparedStatement used in a batch execution.
closeTestConnections() - Method in class org.javalite.activejdbc.test.DBSpec
 
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
 
CollectStatistics - org.javalite.activejdbc.Configuration.PropertyName
 
collectStatisticsOnHold() - Method in class org.javalite.activejdbc.Configuration
 
CollectStatisticsOnHold - org.javalite.activejdbc.Configuration.PropertyName
 
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
 
Configuration.PropertyName - Enum in org.javalite.activejdbc
All properties defined in framework.
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.
ConnectionConfig - Class in org.javalite.activejdbc.connection_config
Super class for all connection configuration instances
ConnectionConfig() - Constructor for class org.javalite.activejdbc.connection_config.ConnectionConfig
 
ConnectionDataSourceConfig - Class in org.javalite.activejdbc.connection_config
 
ConnectionDataSourceConfig(DataSource) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionDataSourceConfig
 
ConnectionJdbcConfig - Class in org.javalite.activejdbc.connection_config
Specification for a JDBC connection
ConnectionJdbcConfig(String, String, String, String) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
 
ConnectionJdbcConfig(String, String, Properties) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
 
ConnectionJndiConfig - Class in org.javalite.activejdbc.connection_config
Specification for a JNDI connection.
ConnectionJndiConfig(String) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJndiConfig
 
ConnectionJndiConfig(InitialContext) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJndiConfig
 
connections() - Static method in class org.javalite.activejdbc.DB
Provides connections available on current thread.
ConnectionsAccess - Class in org.javalite.activejdbc
 
contains(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
 
containsAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
convertWith(Class<? extends Model>, Converter, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
convertWith(Converter, String...) - Static method in class org.javalite.activejdbc.Model
Registers a custom converter for the specified attributes.
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() - Static method in class org.javalite.activejdbc.Model
Returns total count of records in table.
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) - Static method in class org.javalite.activejdbc.Base
Returns count of rows in table.
count(String) - Method in class org.javalite.activejdbc.DB
Returns count of rows in table.
count(String, Object...) - Static method in class org.javalite.activejdbc.Model
Returns count of records in table under a condition.
count(String, String, Object...) - Static method in class org.javalite.activejdbc.Base
Runs a count query, returns a number of matching records.
count(String, String, Object...) - Method in class org.javalite.activejdbc.DB
Runs a count query, returns a number of matching records.
countQuery(String) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
Part of the query that is responsible for count.
create() - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
Terminal method to create an instance of Paginator.
create(Class<T>, 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.
createIt(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...).
currentPageIndex(int, boolean) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
 

D

dateFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
dateFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
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.
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() - Constructor for class org.javalite.activejdbc.DB
Creates a new DB object representing a connection to a DB with default name.
DB(String) - Constructor for class org.javalite.activejdbc.DB
Creates a new DB object representing a connection to a DB.
DB2Dialect - Class in org.javalite.activejdbc.dialects
 
DB2Dialect() - Constructor for class org.javalite.activejdbc.dialects.DB2Dialect
 
DBConfiguration - Class in org.javalite.activejdbc.connection_config
 
DBConfiguration() - Constructor for class org.javalite.activejdbc.connection_config.DBConfiguration
 
DBException - Exception in org.javalite.activejdbc
Generic exception wrapper for all things DB.
DBException() - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(String) - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(String, Object[], Throwable) - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(String, Throwable) - Constructor for exception org.javalite.activejdbc.DBException
 
DBException(Throwable) - Constructor for exception org.javalite.activejdbc.DBException
 
DbName - Annotation Type in org.javalite.activejdbc.annotations
 
DBSpec - Class in org.javalite.activejdbc.test
Super class for tests that need to use a DB connection.
DBSpec() - Constructor for class org.javalite.activejdbc.test.DBSpec
 
DEBUG - org.javalite.activejdbc.logging.LogLevel
 
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(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
delete(String, Object...) - Static method in class org.javalite.activejdbc.Model
Deletes some records from associated table.
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.
deleteChildrenShallow(Class<T>) - Method in class org.javalite.activejdbc.Model
Deletes immediate children (does not walk the dependency tree).
deleteManyToManyAssociation(Many2ManyAssociation) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
deleteManyToManyAssociation(Many2ManyAssociation) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
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
 
Dialects - Class in org.javalite.activejdbc.dialects
 
Dialects() - Constructor for class org.javalite.activejdbc.dialects.Dialects
 
dirtyAttributeNames() - Method in class org.javalite.activejdbc.Model
 
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.RedisCacheManager
 
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

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
 
enqueue(QueryExecutionEvent) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Enqueues a query execution event for processing.
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
 
ERROR - org.javalite.activejdbc.logging.LogLevel
 
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.
exec(String) - Static method in class org.javalite.activejdbc.Base
Executes DML.
exec(String) - Method in class org.javalite.activejdbc.DB
Executes DML.
exec(String, Object...) - Static method in class org.javalite.activejdbc.Base
Executes parametrized DML - will contain question marks as placeholders.
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() - 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
 
exists(Object) - Static method in class org.javalite.activejdbc.Model
Returns true if record corresponding to the id passed exists in the DB.

F

find(String, Object...) - Static method in class org.javalite.activejdbc.Base
Executes a raw query and returns an instance of RowProcessor.
find(String, Object...) - Method in class org.javalite.activejdbc.DB
find(String, Object...) - Static method in class org.javalite.activejdbc.Model
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, RowListener) - Method in class org.javalite.activejdbc.DB
Executes a raw query and calls instance of RowListener with every row found.
find(RowProcessor.ResultSetType, RowProcessor.ResultSetConcur, int, String, Object...) - Static method in class org.javalite.activejdbc.Base
Executes a raw query and returns an instance of RowProcessor.
find(RowProcessor.ResultSetType, RowProcessor.ResultSetConcur, int, String, Object...) - Method in class org.javalite.activejdbc.DB
Executes a raw query and returns an instance of RowProcessor.
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
 
findAll(String) - Static method in class org.javalite.activejdbc.Base
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(String, Object...) - 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.
findByCompositeKeys(Class<T>, Object...) - 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.
findById(Class<T>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findById(Object) - Static method in class org.javalite.activejdbc.Model
 
findBySql(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findBySQL(String, Object...) - Static method in class org.javalite.activejdbc.Model
Free form query finder.
findFirst(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findFirst(String, Object...) - Static method in class org.javalite.activejdbc.Model
findOrCreateIt(Class<T>, boolean, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findOrCreateIt(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findOrCreateIt(Object...) - Static method in class org.javalite.activejdbc.Model
A convenience method to fetch existing model from db or to create and insert new record with attribute values.
findOrInit(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findOrInit(Object...) - Static method in class org.javalite.activejdbc.Model
A convenience method to fetch existing model from db or to create a new instance in memory initialized with some attribute values.
findWith(Class<M>, ModelListener<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
findWith(ModelListener, String, Object...) - Static method in class org.javalite.activejdbc.Model
This method is for processing really large result sets.
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.
FK - Static variable in class org.javalite.activejdbc.associations.BelongsToAssociation
 
FK - Static variable in class org.javalite.activejdbc.associations.OneToManyAssociation
 
flush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
Flashes cache.
flush(CacheEvent, boolean) - Method in class org.javalite.activejdbc.cache.CacheManager
Flashes cache.
foreignKeyName() - Method in annotation type org.javalite.activejdbc.annotations.BelongsTo
 
foreignKeyName() - Method in annotation type org.javalite.activejdbc.annotations.HasMany
Foreign key column name in child table.
formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.DB2Dialect
 
formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
formSelect(String, String[], String, List<String>, long, long) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
formSelect(String, 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[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.MySQLDialect
 
formSelect(String, 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[], 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[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
 
FORWARD_ONLY - org.javalite.activejdbc.RowProcessor.ResultSetType
 
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(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(String) - Method in class org.javalite.activejdbc.Model
Returns a value for attribute.
getActiveLogger() - Static method in class org.javalite.activejdbc.Configuration
 
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(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
Returns association of this table with the target table.
getAssociationForTarget(Class<? extends Model>, Class<A>) - 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.RedisCacheManager
 
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.
getConnectionConfigs(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
Provides a list of all connection configs corresponding to a given environment.
getConnectionConfigsExceptTesting(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
Returns all connections which correspond dbName and current environment
getConnectionConfigsForCurrentEnv() - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
Provides a list of all connection configs corresponding to a current environment.
getContext() - Method in class org.javalite.activejdbc.connection_config.ConnectionJndiConfig
 
getCount() - Method in class org.javalite.activejdbc.Paginator
Returns total count of records based on provided criteria.
getCount() - Method in class org.javalite.activejdbc.RawPaginator
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.
getCurrentPage() - Method in class org.javalite.activejdbc.RawPaginator
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.
getDataSource() - Method in class org.javalite.activejdbc.connection_config.ConnectionDataSourceConfig
 
getDataSourceJndiName() - Method in class org.javalite.activejdbc.connection_config.ConnectionJndiConfig
 
getDate(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as java.sql.Date.
getDbName() - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
 
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
 
getDialect(String) - Static method in class org.javalite.activejdbc.dialects.Dialects
 
getDouble(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as Double.
getDriver() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
 
getEdges(String) - Method in enum org.javalite.activejdbc.Registry
Returns edges for a join.
getEnvironment() - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
 
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.
getFrom() - Method in class org.javalite.activejdbc.Paginator
Returns index of the first item in a current page.
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.
getImplementation() - Method in class org.javalite.activejdbc.cache.CacheManager
Returns underlying instance of implementation for specific configuration.
getImplementation() - Method in class org.javalite.activejdbc.cache.EHCache3Manager
 
getImplementation() - Method in class org.javalite.activejdbc.cache.EHCacheManager
 
getImplementation() - Method in class org.javalite.activejdbc.cache.NopeCacheManager
 
getImplementation() - Method in class org.javalite.activejdbc.cache.RedisCacheManager
 
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.
getLevel() - Method in enum org.javalite.activejdbc.logging.LogLevel
 
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(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
 
getMetaModel() - Static method in class org.javalite.activejdbc.Model
Provides MetaModel object related to this model class.
getMetaModel(Class<? extends Model>) - Method in enum org.javalite.activejdbc.Registry
 
getMetaModel(String) - Method in enum org.javalite.activejdbc.Registry
Provides a MetaModel of a model representing a table.
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.
getModelFile() - Method in enum org.javalite.activejdbc.Registry
 
getModelsForDb(String) - Static method in class org.javalite.activejdbc.ModelFinder
 
getNext() - Method in class org.javalite.activejdbc.Paginator
Synonym for Paginator.hasNext().
getNext() - Method in class org.javalite.activejdbc.RawPaginator
getOneToManyAssociations(Association...) - Method in class org.javalite.activejdbc.MetaModel
 
getPage() - Method in class org.javalite.activejdbc.Paginator
 
getPage(int) - Method in class org.javalite.activejdbc.Paginator
This method will return a list of records for a specific page.
getPage(int) - Method in class org.javalite.activejdbc.RawPaginator
This method will return a list of records for a specific page.
getPageSize() - Method in class org.javalite.activejdbc.Paginator
 
getParentClassName() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
getPartitionIDs() - Method in class org.javalite.activejdbc.MetaModel
 
getPassword() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
 
getPolymorphicAssociations(Association...) - Method in class org.javalite.activejdbc.MetaModel
 
getPrevious() - Method in class org.javalite.activejdbc.Paginator
getPrevious() - Method in class org.javalite.activejdbc.RawPaginator
getProps() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
 
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.cache.CacheEvent
 
getSourceClass() - Method in class org.javalite.activejdbc.associations.Association
Returns source class of this association.
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
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.associations.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
 
getTestConnectionConfigs() - Method in class org.javalite.activejdbc.connection_config.DBConfiguration
 
getTime() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
 
getTime(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as java.sql.Time.
getTimestamp(String) - Method in class org.javalite.activejdbc.Model
Gets attribute value as java.sql.Timestamp.
getTo() - Method in class org.javalite.activejdbc.Paginator
Returns index of the last item in a current page.
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.connection_config.ConnectionJdbcConfig
 
getUser() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
 
getValidators(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
 
getValue() - Method in enum org.javalite.activejdbc.RowProcessor.ResultSetConcur
 
getValue() - Method in enum org.javalite.activejdbc.RowProcessor.ResultSetType
 
getVersionColumn() - Method in class org.javalite.activejdbc.MetaModel
 
GROUP - org.javalite.activejdbc.cache.CacheEvent.CacheEventType
This type means that only a cache for a specific group (table) needs to be cleared.
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
 
hasActiveLogger() - Static method in class org.javalite.activejdbc.Configuration
 
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.associations.Association
 
HasManies - Annotation Type in org.javalite.activejdbc.annotations
 
HasMany - Annotation Type in org.javalite.activejdbc.annotations
Place on a parent model of the One-to-many relationship if the tables do not follow the ActiveJDBC naming conventions.
hasNext() - Method in class org.javalite.activejdbc.Paginator
 
hasNext() - Method in class org.javalite.activejdbc.RawPaginator
 
hasPartitionIDs() - Method in class org.javalite.activejdbc.MetaModel
 
hasPrevious() - Method in class org.javalite.activejdbc.Paginator
 
hasPrevious() - Method in class org.javalite.activejdbc.RawPaginator
 
hydrate() - Method in class org.javalite.activejdbc.AbstractLazyList
 
hydrate() - Method in class org.javalite.activejdbc.LazyList
 
hydrate() - Method in class org.javalite.activejdbc.SuperLazyList
 
hydrate(Map<String, Object>, boolean) - Method in class org.javalite.activejdbc.Model
Hydrates a this instance of model from a map.

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
 
INFO - org.javalite.activejdbc.logging.LogLevel
 
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
 
insert() - Method in class org.javalite.activejdbc.Model
This method will save a model as new.
insert(MetaModel, Map<String, Object>, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
insert(MetaModel, Map<String, Object>, String...) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
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 class org.javalite.activejdbc.Paginator
Use to create a paginator instance, and provide arguments as needed.
instance() - Static method in enum org.javalite.activejdbc.Registry
 
INSTANCE - org.javalite.activejdbc.cache.QueryCache
 
INSTANCE - org.javalite.activejdbc.Registry
 
InternalException - Exception in org.javalite.activejdbc
This exception is for some severe unexplained things
InternalException(String) - Constructor for exception org.javalite.activejdbc.InternalException
 
InternalException(Throwable) - 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.,
isCached() - Static method in class org.javalite.activejdbc.Model
 
isEmpty() - Method in class org.javalite.activejdbc.AbstractLazyList
 
isEnabled() - Method in enum org.javalite.activejdbc.cache.QueryCache
 
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
 
isTesting() - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
 
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
 

J

join() - Method in annotation type org.javalite.activejdbc.annotations.Many2Many
Name of a table used for joining records from other tables.
JOIN - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
 

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() - Constructor for class org.javalite.activejdbc.LazyList
This is only used by SuperLazyList
LazyList(boolean, MetaModel, String, Object...) - Constructor for class org.javalite.activejdbc.LazyList
 
LazyList(String, MetaModel, Object...) - Constructor for class org.javalite.activejdbc.LazyList
 
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
 
loadConfiguration(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
Configures multiple database connections from a single property file.
log(Logger, LogLevel, String) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
 
log(Logger, LogLevel, String) - Static method in class org.javalite.activejdbc.logging.LogFilter
 
log(Logger, LogLevel, String, Object) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
 
log(Logger, LogLevel, String, Object) - Static method in class org.javalite.activejdbc.logging.LogFilter
 
log(Logger, LogLevel, String, Object...) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
 
log(Logger, LogLevel, String, Object...) - Static method in class org.javalite.activejdbc.logging.LogFilter
 
log(Logger, LogLevel, String, Object, Object) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
 
log(Logger, LogLevel, String, Object, Object) - Static method in class org.javalite.activejdbc.logging.LogFilter
 
log(Logger, LogLevel, Supplier<String>) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
Default implementation of lazy log message building for backward compatibility.
log(Logger, LogLevel, Supplier<String>) - Static method in class org.javalite.activejdbc.logging.LogFilter
 
LogFilter - Class in org.javalite.activejdbc.logging
 
LogLevel - Enum in org.javalite.activejdbc.logging
 
logQuery(Logger, String, Object[], long) - Static method in class org.javalite.activejdbc.logging.LogFilter
Logs a query information to the log system
logQuery(Logger, String, Object[], long, boolean) - Static method in class org.javalite.activejdbc.logging.LogFilter
Logs a query information to the log system without time

M

manageTime(boolean) - Method in class org.javalite.activejdbc.Model
Turns off automatic management of time-related attributes created_at and updated_at.
Many2Manies - Annotation Type in org.javalite.activejdbc.annotations
 
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) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
Many2ManyAssociation(Class<? extends Model>, Class<? extends Model>, String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
Many2ManyAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
metadataToJSON() - Method in enum org.javalite.activejdbc.Registry
 
metaModel() - Static method in class org.javalite.activejdbc.Model
MetaModel - Class in org.javalite.activejdbc
 
MetaModel(String, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.MetaModel
 
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.
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
 
Model(MetaModel, ModelRegistry) - Constructor for class org.javalite.activejdbc.Model
 
modelClass(Class<T>) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
Model class mapped to a table.>
ModelDelegate - Class in org.javalite.activejdbc
This class exists to offload some logic from Model class.
ModelFinder - Class in org.javalite.activejdbc
 
ModelFinder() - Constructor for class org.javalite.activejdbc.ModelFinder
 
ModelListener<T extends Model> - Interface in org.javalite.activejdbc
 
ModelRegistry - Class in org.javalite.activejdbc
Stores metadata for a Model: converters, etc.
ModelRegistry() - Constructor for class org.javalite.activejdbc.ModelRegistry
 
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

name() - Method in class org.javalite.activejdbc.DB
Return logical name for a database.
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
 

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(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
 
OneToManyAssociation(Map<String, Object>) - 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
 
OneToManyPolymorphicAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
onFlush(CacheEvent) - Method in interface org.javalite.activejdbc.cache.CacheEventListener
 
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' set by an initial previous call to DBConfiguration.loadConfiguration(String).
open() - Method in class org.javalite.activejdbc.DB
This method will open a connection defined in the file 'database.properties' set by an initial previous call to DBConfiguration.loadConfiguration(String).
open(String) - Static method in class org.javalite.activejdbc.Base
Opens a connection from JNDI based on a registered name.
open(String) - Method in class org.javalite.activejdbc.DB
Opens a connection from JNDI based on a registered name.
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, 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) - 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, 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, Properties) - Static method in class org.javalite.activejdbc.Base
Opens a new connection from JNDI data source by name using explicit JNDI properties.
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(DataSource) - Static method in class org.javalite.activejdbc.Base
Opens a connection from a datasource.
open(DataSource) - Method in class org.javalite.activejdbc.DB
Opens a connection from a datasource.
open(ConnectionConfig) - Method in class org.javalite.activejdbc.DB
This method is used internally by the framework.
openTestConnections() - Method in class org.javalite.activejdbc.test.DBSpec
 
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.Paginator.PaginatorBuilder
 
orderBy(String) - Method in class org.javalite.activejdbc.RawPaginator
Use to set order by(s).
orderBy(String) - Method in class org.javalite.activejdbc.SuperLazyList
 
org.javalite.activejdbc - package org.javalite.activejdbc
ActiveJDBC - the agile Java ORM.
org.javalite.activejdbc.annotations - package org.javalite.activejdbc.annotations
Contains annotations for overriding default behaviour.
org.javalite.activejdbc.associations - package org.javalite.activejdbc.associations
Contains classes describing various association types.
org.javalite.activejdbc.cache - package org.javalite.activejdbc.cache
Classes for operations with caches.
org.javalite.activejdbc.connection_config - package org.javalite.activejdbc.connection_config
Classes to manage connections to databases.
org.javalite.activejdbc.dialects - package org.javalite.activejdbc.dialects
Classes to manage database dialects, used internally.
org.javalite.activejdbc.logging - package org.javalite.activejdbc.logging
Log management, see Logging
org.javalite.activejdbc.statistics - package org.javalite.activejdbc.statistics
ActiveJDBC - collection of statistics on queries.
org.javalite.activejdbc.test - package org.javalite.activejdbc.test
org.javalite.activejdbc.web - package org.javalite.activejdbc.web
Primitive example of opening anc closing connection for servlets.
other() - Method in annotation type org.javalite.activejdbc.annotations.Many2Many
This is a type of a model that is the "other" end of the relationship.
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.OracleDialect
 
overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
 

P

pageCount() - Method in class org.javalite.activejdbc.Paginator
 
pageCount() - Method in class org.javalite.activejdbc.RawPaginator
 
pageSize(int) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
Page size - number of items in a page
Paginator<T extends Model> - Class in org.javalite.activejdbc
This class supports pagination of result sets in ActiveJDBC.
Paginator(Class<? extends T>, int, boolean, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
Convenience constructor.
Paginator(Class<? extends T>, int, boolean, String, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
Paginator is created with parameters to jump to chunks of result sets (pages).
Paginator(Class<? extends T>, int, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
Convenience constructor.
Paginator.PaginatorBuilder<T extends Model> - Class in org.javalite.activejdbc
Provides a builder pattern to create new instances of paginator.
PaginatorBuilder() - Constructor for class org.javalite.activejdbc.Paginator.PaginatorBuilder
 
params(Object...) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
Array of parameters in case a query is parametrized
parent() - Method in annotation type org.javalite.activejdbc.annotations.BelongsTo
 
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.
PARENT - Static variable in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
parents() - Method in annotation type org.javalite.activejdbc.annotations.BelongsToPolymorphic
List of parent classes.
PartitionIDs - Annotation Type in org.javalite.activejdbc.annotations
Specifies columns that must be used to form an UPDATE and DELETE statements in addition to a primary key.
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 class org.javalite.activejdbc.cache.CacheManager
purgeTableCache(String) - Method in enum org.javalite.activejdbc.cache.QueryCache
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(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.

Q

query(String) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
 
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

RawPaginator - Class in org.javalite.activejdbc
This paginator is for paging through free-form queries unrelated to models.
RawPaginator(String, String[], int, String, Object...) - Constructor for class org.javalite.activejdbc.RawPaginator
Convenience constructor.
RawPaginator(String, String, String[], int, boolean, String, Object...) - Constructor for class org.javalite.activejdbc.RawPaginator
Paginator is created with parameters to jump to chunks of result sets (pages).
READ_ONLY - org.javalite.activejdbc.RowProcessor.ResultSetConcur
 
readExternal(ObjectInput) - Method in class org.javalite.activejdbc.LazyList
 
readExternal(ObjectInput) - Method in class org.javalite.activejdbc.Model
 
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.
Registry - Enum in org.javalite.activejdbc
 
remove(int) - Method in class org.javalite.activejdbc.AbstractLazyList
 
remove(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
 
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
 
removeAssociationForTarget(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
 
removeCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
 
removeValidator(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
 
removeValidator(Validator) - Static method in class org.javalite.activejdbc.Model
Removes a validator from model.
replace(Object, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
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
 
resetConnectionConfigs() - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
 
retainAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
 
rollback() - Method in class org.javalite.activejdbc.test.DBSpec
Current state of 'rollback' flag.
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
 
RowProcessor.ResultSetConcur - Enum in org.javalite.activejdbc
 
RowProcessor.ResultSetType - Enum in org.javalite.activejdbc
 

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.
scope(String) - Static method in class org.javalite.activejdbc.Model
Allows to specify multiple scopes as filters such as:
scope(String) - Method in class org.javalite.activejdbc.ScopeBuilder
 
ScopeBuilder<T extends Model> - Class in org.javalite.activejdbc
 
ScopeBuilder(Class<T>, String[]) - Constructor for class org.javalite.activejdbc.ScopeBuilder
 
scopes(String...) - Static method in class org.javalite.activejdbc.Model
Allows to specify multiple scopes as filters such as:
SCROLL_INSENSITIVE - org.javalite.activejdbc.RowProcessor.ResultSetType
 
SCROLL_SENSITIVE - org.javalite.activejdbc.RowProcessor.ResultSetType
 
selectCount(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectCount(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectCount(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
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) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
selectStar(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
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(Object...) - Method in class org.javalite.activejdbc.Model
This is a convenience method to set multiple values to a model.
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.
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
 
setCurrentPageIndex(int, boolean) - Method in class org.javalite.activejdbc.Paginator
Sets an index of a current page.
setDate(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as java.sql.Date.
setDbName(String) - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
 
setDouble(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Double.
setEnvironment(String) - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
 
setFKName(String) - Method in class org.javalite.activejdbc.MetaModel
 
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.
setLogExpression(String) - Static method in class org.javalite.activejdbc.logging.LogFilter
 
setLong(String, Object) - Method in class org.javalite.activejdbc.Model
Sets attribute value as Long.
setModelFile(String) - Method in enum org.javalite.activejdbc.Registry
Used to override the default model file, activejdbc_models.properties.
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.
setRollback(boolean) - Method in class org.javalite.activejdbc.test.DBSpec
Set to true in order to rollback a transaction at the end of the test.
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.
setTesting(boolean) - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
 
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.
size() - Method in class org.javalite.activejdbc.AbstractLazyList
 
SOURCE - Static variable in class org.javalite.activejdbc.associations.Association
 
SOURCE_FK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
sourceFKName() - Method in annotation type org.javalite.activejdbc.annotations.Many2Many
Foreign key name of a source table in the join.
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
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
 
suppressCounts(boolean) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
Suppress calling "select count(*)...
suppressDb(boolean) - Method in class org.javalite.activejdbc.test.DBSpec
Call this method from a constructor of your spec in cases you do not need DB connections.
suppressedDb() - Method in class org.javalite.activejdbc.test.DBSpec
 

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
 
TARGET - Static variable in class org.javalite.activejdbc.associations.Association
 
TARGET_FK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
TARGET_PK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
targetFKName() - Method in annotation type org.javalite.activejdbc.annotations.Many2Many
Foreign key name of a target table in the join table.
thaw() - Method in class org.javalite.activejdbc.Model
Unfreezes this model.
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
 
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.
toArray() - Method in class org.javalite.activejdbc.AbstractLazyList
 
toArray(T[]) - Method in class org.javalite.activejdbc.AbstractLazyList
 
toInsert(String...) - Method in class org.javalite.activejdbc.Model
Generates INSERT SQL based on this model.
toInsert(Dialect, String...) - Method in class org.javalite.activejdbc.Model
Generates INSERT SQL based on this model with the provided dialect.
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.associations.Association
 
toMap() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
 
toMap() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
toMap() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
toMap() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
 
toMap() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
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.connection_config.ConnectionConfig
 
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(String...) - Method in class org.javalite.activejdbc.Model
Generates UPDATE SQL based on this model.
toUpdate(Dialect, String...) - 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(boolean, boolean, String...) - Method in class org.javalite.activejdbc.Model
Generates a XML document from content of this model.
toXmlP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
 
TYPE - Static variable in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
TYPE - Static variable in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
typeLabels() - Method in annotation type org.javalite.activejdbc.annotations.BelongsToPolymorphic
List of type labels corresponding to parent classes.

U

UnrelatedTo - Annotation Type in org.javalite.activejdbc.annotations
This annotation breaks a relationship that exists based on naming conventions.
UPDATABLE - org.javalite.activejdbc.RowProcessor.ResultSetConcur
 
update(Class<? extends Model>, String, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
update(String, String, Object...) - Static method in class org.javalite.activejdbc.Model
Updates records associated with this model.
update(MetaModel, Map<String, Object>, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
update(MetaModel, Map<String, Object>, String...) - Method in interface org.javalite.activejdbc.dialects.Dialect
 
updateAll(Class<? extends Model>, 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.

V

validate() - Method in class org.javalite.activejdbc.Model
Executes all validators attached to this model.
validate(boolean) - Method in class org.javalite.activejdbc.Model
Executes all validators attached to this model.
validateEmailOf(Class<? extends Model>, String) - Static method in class org.javalite.activejdbc.ModelDelegate
 
validateEmailOf(String) - Static method in class org.javalite.activejdbc.Model
Validates email format.
validateNumericalityOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
validateNumericalityOf(String...) - Static method in class org.javalite.activejdbc.Model
 
validatePresenceOf(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.
validateRange(Class<? extends Model>, String, Number, Number) - Static method in class org.javalite.activejdbc.ModelDelegate
 
validateRange(String, Number, Number) - Static method in class org.javalite.activejdbc.Model
Validates range.
validateRegexpOf(Class<? extends Model>, String, String) - 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.
validateWith(Class<? extends Model>, Validator) - 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.
validatorsOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
 
value() - Method in annotation type org.javalite.activejdbc.annotations.BelongsToParents
 
value() - Method in annotation type org.javalite.activejdbc.annotations.CompositePK
 
value() - Method in annotation type org.javalite.activejdbc.annotations.DbName
 
value() - Method in annotation type org.javalite.activejdbc.annotations.HasManies
 
value() - Method in annotation type org.javalite.activejdbc.annotations.IdGenerator
 
value() - Method in annotation type org.javalite.activejdbc.annotations.IdName
 
value() - Method in annotation type org.javalite.activejdbc.annotations.Many2Manies
 
value() - Method in annotation type org.javalite.activejdbc.annotations.PartitionIDs
 
value() - Method in annotation type org.javalite.activejdbc.annotations.Table
 
value() - Method in annotation type org.javalite.activejdbc.annotations.UnrelatedTo
 
value() - Method in annotation type org.javalite.activejdbc.annotations.VersionColumn
 
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.Configuration.PropertyName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.activejdbc.logging.LogLevel
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.activejdbc.RowProcessor.ResultSetConcur
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.activejdbc.RowProcessor.ResultSetType
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.Configuration.PropertyName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javalite.activejdbc.logging.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
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() - Static method in enum org.javalite.activejdbc.RowProcessor.ResultSetConcur
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javalite.activejdbc.RowProcessor.ResultSetType
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

WARNING - org.javalite.activejdbc.logging.LogLevel
 
where(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
where(String, Object...) - Static method in class org.javalite.activejdbc.Model
Finder method for DB queries based on table represented by this model.
where(String, Object...) - Method in class org.javalite.activejdbc.ScopeBuilder
Applies additional criteria to scopes defined in the model.
with(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
 
withDb(String, String, String, String, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
withDb(String, String, String, String, Supplier<T>) - Method in class org.javalite.activejdbc.DB
Convenience method to be used outside ActiveWeb.
withDb(String, String, Properties, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
withDb(String, String, Properties, Supplier<T>) - Method in class org.javalite.activejdbc.DB
Convenience method to be used outside ActiveWeb.
withDb(String, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
Same as DB.withDb(String, Supplier), but with db name DB.DEFAULT_NAME.
withDb(String, Supplier<T>) - Method in class org.javalite.activejdbc.DB
Convenience method to be used outside ActiveWeb.
withDb(String, Properties, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
withDb(String, Properties, Supplier<T>) - Method in class org.javalite.activejdbc.DB
Convenience method to be used outside ActiveWeb.
withDb(Supplier<T>) - Static method in class org.javalite.activejdbc.Base
Same as DB.withDb(Supplier), but with db name DB.DEFAULT_NAME.
withDb(Supplier<T>) - Method in class org.javalite.activejdbc.DB
Convenience method to be used outside ActiveWeb.
withDb(DataSource, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
withDb(DataSource, Supplier<T>) - Method in class org.javalite.activejdbc.DB
Convenience method to be used outside ActiveWeb.
writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.LazyList
 
writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.Model
 

Z

zeroToNull(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
 
zeroToNull(String...) - Static method in class org.javalite.activejdbc.Model
Registers ZeroToNullConverter for specified attributes.
A B C D E F G H I J L M N O P Q R S T U V W Z 
All Classes All Packages