- a(Object) - Static method in class org.javalite.test.jspec.JSpec
-
- a(Object) - Method in class org.javalite.test.jspec.JSpecSupport
-
- AbstractDbMigrationMojo - Class in org.javalite.db_migrator.maven
-
- AbstractDbMigrationMojo() - Constructor for class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- AbstractLazyList<E> - Class in org.javalite.activejdbc
-
- AbstractLazyList() - Constructor for class org.javalite.activejdbc.AbstractLazyList
-
- AbstractMigrationMojo - Class in org.javalite.db_migrator.maven
-
- AbstractMigrationMojo() - Constructor for class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- ActiveJdbcFilter - Class in org.javalite.activejdbc.web
-
This is a filter for opening a connection before and closing connection after servlet.
- ActiveJdbcFilter() - Constructor for class org.javalite.activejdbc.web.ActiveJdbcFilter
-
- ActiveJdbcInstrumentationPlugin - Class in org.javalite.instrumentation
-
- ActiveJdbcInstrumentationPlugin() - Constructor for class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
-
- add(E) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- add(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- add(Model) - Method in class org.javalite.activejdbc.Model
-
Adds a new child dependency.
- add(T) - Method in class org.javalite.activejdbc.SuperLazyList
-
- addAll(Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- addAll(int, Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- addAssociation(Association) - Method in class org.javalite.activejdbc.MetaModel
-
- addBatch(PreparedStatement, Object...) - Static method in class org.javalite.activejdbc.Base
-
Adds a batch statement using given java.sql.PreparedStatement
and parameters.
- addBatch(PreparedStatement, Object...) - Method in class org.javalite.activejdbc.DB
-
Adds a batch statement using given java.sql.PreparedStatement
and parameters.
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Adds item to cache.
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.EHCacheManager
-
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.OSCacheManager
-
- addCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
-
- addCallbacks(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
-
- addEntities(String[][]) - Method in class org.javalite.common.XmlEntities
-
Deprecated.
Adds entities to this entity.
- addEntity(String, int) - Method in class org.javalite.common.XmlEntities
-
Deprecated.
Add an entity to this entity.
- addError(String, String) - Method in class org.javalite.activejdbc.Model
-
Adds a new error to the collection of errors.
- addIrregular(String, String) - Static method in class org.javalite.common.Inflector
-
- addItem(String, String, Object[], Object) - Method in enum org.javalite.activejdbc.cache.QueryCache
-
Adds an item to cache.
- addPlural(String, String) - Static method in class org.javalite.common.Inflector
-
- addQueryTime(long) - Method in class org.javalite.activejdbc.statistics.QueryStats
-
Whenever this query was executed, add execution time with this method.
- addSingular(String, String) - Static method in class org.javalite.common.Inflector
-
- addValidator(String, Validator) - Method in class org.javalite.activejdbc.Errors
-
Adds a validator whose validation failed.
- addValidator(Validator) - Static method in class org.javalite.activejdbc.Model
-
Adds a validator to the model.
- addValidator(Validator, String) - Method in class org.javalite.activejdbc.Model
-
Binds a validator to an attribute if validation fails.
- afterCreate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterCreate(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterDelete(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterDelete(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterLoad(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterLoad(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterSave(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterSave(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterUpdate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterUpdate(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterValidation(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterValidation(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- ALL - Static variable in class org.javalite.activejdbc.cache.CacheEvent
-
- all(String, Object...) - Method in class org.javalite.activejdbc.DB
-
- all(String) - Method in class org.javalite.activejdbc.DB
-
- allowNull(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
Will ignore validation if set to true
.
- AppConfig - Class in org.javalite.app_config
-
Allows configuration of applications that is specific for different deployment environments.
- AppConfig() - Constructor for class org.javalite.app_config.AppConfig
-
- appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.MySQLDialect
-
- appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.OracleDialect
-
- appendOrderBy(StringBuilder, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendQuestions(StringBuilder, int) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendSelect(StringBuilder, String, String, String, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendSubQuery(StringBuilder, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.OracleDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- appendValue(StringBuilder, Object) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- APPLIED_DATE_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- arr(T...) - Static method in class org.javalite.common.Collections
-
Create array from values.
- array(T...) - Static method in class org.javalite.common.Collections
-
Create array from values.
- Association - Class in org.javalite.activejdbc
-
Associations are synonymous with relationships.
- Association(String, String) - Constructor for class org.javalite.activejdbc.Association
-
- associations() - Static method in class org.javalite.activejdbc.Model
-
Returns all associations of this model.
- associations(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- attach(Connection) - Static method in class org.javalite.activejdbc.Base
-
Attaches a database connection to current thread under a default name.
- attach(Connection) - Method in class org.javalite.activejdbc.DB
-
Attaches a database connection to current thread under a name provided to constructor.
- attach(Connection) - Static method in class org.javalite.db_migrator.DbUtils
-
- attributeNames() - Static method in class org.javalite.activejdbc.Model
-
Returns names of all attributes from this model.
- attributeNames(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- AttributePresenceValidator - Class in org.javalite.activejdbc.validation
-
- AttributePresenceValidator(String) - Constructor for class org.javalite.activejdbc.validation.AttributePresenceValidator
-
- attributes() - Static method in class org.javalite.activejdbc.Model
-
- attributes(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- attributeValue(String) - Method in class org.javalite.test.XPathHelper
-
Returns a value of an attribute.
- attributeValue(String, String) - Static method in class org.javalite.test.XPathHelper
-
Selects a value of attribute.
- Cached - Annotation Type in org.javalite.activejdbc.annotations
-
- cached() - Method in class org.javalite.activejdbc.MetaModel
-
- cacheEnabled() - Method in class org.javalite.activejdbc.Configuration
-
- CacheEvent - Class in org.javalite.activejdbc.cache
-
Event object.
- CacheEvent(String, String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
-
- CacheEvent(String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
-
- CacheEvent.CacheEventType - Enum in org.javalite.activejdbc.cache
-
- CacheEventListener - Interface in org.javalite.activejdbc.cache
-
- CacheManager - Class in org.javalite.activejdbc.cache
-
Abstract method to be sub-classed by various caching technologies.
- CacheManager() - Constructor for class org.javalite.activejdbc.cache.CacheManager
-
- cacheManager() - Static method in enum org.javalite.activejdbc.Registry
-
- CallbackAdapter<T extends Model> - Class in org.javalite.activejdbc
-
- CallbackAdapter() - Constructor for class org.javalite.activejdbc.CallbackAdapter
-
- CallbackListener<T extends Model> - Interface in org.javalite.activejdbc
-
- callbackWith(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
-
- callbackWith(Class<? extends Model>, CallbackListener...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- camelize(String) - Static method in class org.javalite.common.Inflector
-
Generates a camel case version of a phrase from underscore.
- camelize(String, boolean) - Static method in class org.javalite.common.Inflector
-
Generates a camel case version of a phrase from underscore.
- canConvert(Class, Class) - Method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
- canConvert(Class, Class) - Method in interface org.javalite.activejdbc.conversion.Converter
-
Returns true if this converter can convert instances of sourceClass to
destinationClass.
- canConvert(Class, Class) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- canConvert(Class, Class) - Method in class org.javalite.activejdbc.conversion.DateToStringConverter
-
- canConvert(Class, Class) - Method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
- capitalize(String) - Static method in class org.javalite.common.Inflector
-
Capitalizes a word - only a first character is converted to upper case.
- CaseInsensitiveMap<V> - Class in org.javalite.activejdbc
-
A case insensitive map for java.lang.String
keys.
- CaseInsensitiveMap() - Constructor for class org.javalite.activejdbc.CaseInsensitiveMap
-
- CaseInsensitiveMap(Map<? extends String, V>) - Constructor for class org.javalite.activejdbc.CaseInsensitiveMap
-
- CaseInsensitiveSet - Class in org.javalite.activejdbc
-
A case insensitive set for java.lang.String
elements.
- CaseInsensitiveSet() - Constructor for class org.javalite.activejdbc.CaseInsensitiveSet
-
- CaseInsensitiveSet(Collection<? extends String>) - Constructor for class org.javalite.activejdbc.CaseInsensitiveSet
-
- checkAttributeOrAssociation(String) - Method in class org.javalite.activejdbc.MetaModel
-
Checks if this model has a named attribute or association whose target has the same name as argument.
- checkDuplicateVersions(List<File>) - Method in class org.javalite.db_migrator.MigrationResolver
-
- CheckMojo - Class in org.javalite.db_migrator.maven
-
Check current schema against available migrations to see if database is up to date,
causing the build to fail if the database is not up to date.
- CheckMojo() - Constructor for class org.javalite.db_migrator.maven.CheckMojo
-
- clear() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- clear() - Method in class org.javalite.activejdbc.Errors
-
- clear() - Method in class org.javalite.app_config.AppConfig
-
- close(boolean) - Static method in class org.javalite.activejdbc.Base
-
Closes connection and detaches it from current thread.
- close() - Static method in class org.javalite.activejdbc.Base
-
Closes connection and detaches it from current thread.
- close() - Method in class org.javalite.activejdbc.DB
-
Closes connection and detaches it from current thread.
- close(boolean) - Method in class org.javalite.activejdbc.DB
-
Closes connection and detaches it from current thread.
- close(Closeable) - Static method in class org.javalite.common.Util
-
- closeAllConnections() - Static method in class org.javalite.activejdbc.DB
-
Closes all current connections.
- closeConnection() - Static method in class org.javalite.db_migrator.DbUtils
-
- closeQuietly(Closeable) - Static method in class org.javalite.common.Util
-
- closeQuietly(ResultSet) - Static method in class org.javalite.common.Util
-
- closeQuietly(Statement) - Static method in class org.javalite.common.Util
-
- closeQuietly(Object) - Static method in class org.javalite.db_migrator.DbUtils
-
- collect(String) - Method in class org.javalite.activejdbc.LazyList
-
Collects values from a result set that correspond to a attribute name.
- collect(String, String, Object) - Method in class org.javalite.activejdbc.LazyList
-
- collectDistinct(String) - Method in class org.javalite.activejdbc.LazyList
-
- collectDistinct(String, String, Object) - Method in class org.javalite.activejdbc.LazyList
-
- Collections - Class in org.javalite.common
-
- collectStatistics() - Method in class org.javalite.activejdbc.Configuration
-
- collectStatisticsOnHold() - Method in class org.javalite.activejdbc.Configuration
-
- ColumnMetadata - Class in org.javalite.activejdbc
-
- ColumnMetadata(String, String, int) - Constructor for class org.javalite.activejdbc.ColumnMetadata
-
- commitTransaction() - Static method in class org.javalite.activejdbc.Base
-
Commits local transaction.
- commitTransaction() - Method in class org.javalite.activejdbc.DB
-
Commits local transaction.
- compareTo(Migration) - Method in class org.javalite.db_migrator.Migration
-
- CompositePK - Annotation Type in org.javalite.activejdbc.annotations
-
- ConfigInitException - Exception in org.javalite.app_config
-
- ConfigInitException(Throwable) - Constructor for exception org.javalite.app_config.ConfigInitException
-
- Configuration - Class in org.javalite.activejdbc
-
- Configuration() - Constructor for class org.javalite.activejdbc.Configuration
-
- connect() - Method in class org.javalite.http.Request
-
- connection() - Static method in class org.javalite.activejdbc.Base
-
Returns connection attached to a current thread and named "default".
- connection() - Method in class org.javalite.activejdbc.DB
-
Provides connection from current thread.
- connection() - Static method in class org.javalite.db_migrator.DbUtils
-
- connection - Variable in class org.javalite.http.Request
-
- CONNECTION_TIMEOUT - Static variable in class org.javalite.http.Http
-
Connection timeout in milliseconds.
- ConnectionJdbcSpec - Class in org.javalite.activejdbc
-
- ConnectionJdbcSpec(String, String, String, String) - Constructor for class org.javalite.activejdbc.ConnectionJdbcSpec
-
- ConnectionJdbcSpec(String, String, Properties) - Constructor for class org.javalite.activejdbc.ConnectionJdbcSpec
-
- ConnectionJndiSpec - Class in org.javalite.activejdbc
-
- ConnectionJndiSpec(String) - Constructor for class org.javalite.activejdbc.ConnectionJndiSpec
-
- ConnectionJndiSpec(InitialContext) - Constructor for class org.javalite.activejdbc.ConnectionJndiSpec
-
- connections() - Static method in class org.javalite.activejdbc.DB
-
Provides connections available on current thread.
- ConnectionsAccess - Class in org.javalite.activejdbc
-
- ConnectionsAccess() - Constructor for class org.javalite.activejdbc.ConnectionsAccess
-
- ConnectionSpec - Interface in org.javalite.activejdbc
-
Tag interface.
- contains(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- containsAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- containsKey(Object) - Method in class org.javalite.activejdbc.Errors
-
- containsKey(Object) - Method in class org.javalite.app_config.AppConfig
-
- containsValue(Object) - Method in class org.javalite.activejdbc.Errors
-
- containsValue(Object) - Method in class org.javalite.app_config.AppConfig
-
- ConversionException - Exception in org.javalite.activejdbc.conversion
-
Class for conversion exceptions.
- ConversionException() - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException(String) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException(String, Throwable) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException(Throwable) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException - Exception in org.javalite.common
-
- ConversionException() - Constructor for exception org.javalite.common.ConversionException
-
- ConversionException(String) - Constructor for exception org.javalite.common.ConversionException
-
- ConversionException(String, Throwable) - Constructor for exception org.javalite.common.ConversionException
-
- ConversionException(Throwable) - Constructor for exception org.javalite.common.ConversionException
-
- convert(String) - Method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
- convert(S) - Method in interface org.javalite.activejdbc.conversion.Converter
-
Converts instance of S to T.
- convert(S) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- convert(Date) - Method in class org.javalite.activejdbc.conversion.DateToStringConverter
-
- convert(Number) - Method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
- convert(Model) - Method in class org.javalite.activejdbc.validation.Converter
-
Deprecated.
- convert(Model) - Method in class org.javalite.activejdbc.validation.DateConverter
-
Deprecated.
- convert(Model) - Method in class org.javalite.activejdbc.validation.TimestampConverter
-
Deprecated.
- Convert - Class in org.javalite.common
-
Convenience class for type conversions.
- convertDate(String, String) - Static method in class org.javalite.activejdbc.Model
-
- convertDate(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- Converter<S,T> - Interface in org.javalite.activejdbc.conversion
-
Converts instances of S to T.
- Converter - Class in org.javalite.activejdbc.validation
-
- Converter() - Constructor for class org.javalite.activejdbc.validation.Converter
-
Deprecated.
- ConverterAdapter<S,T> - Class in org.javalite.activejdbc.conversion
-
Converts instances of S to T.
- ConverterAdapter() - Constructor for class org.javalite.activejdbc.conversion.ConverterAdapter
-
- convertNullIfEmpty() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
- convertNullIfEmpty(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- convertTimestamp(String, String) - Static method in class org.javalite.activejdbc.Model
-
- convertTimestamp(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- convertWith(Converter) - Static method in class org.javalite.activejdbc.Model
-
- convertWith(Converter, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers a custom converter for the specified attributes.
- convertWith(Class<? extends Model>, Converter) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- convertWith(Class<? extends Model>, Converter, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- copyFrom(Model) - Method in class org.javalite.activejdbc.Model
-
Copies all attribute values (except for ID, created_at and updated_at) from other instance to this one.
- copyTo(Model) - Method in class org.javalite.activejdbc.Model
-
Copies all attribute values (except for ID, created_at and updated_at) from this instance to the other.
- count(String) - Static method in class org.javalite.activejdbc.Base
-
Returns count of rows in table.
- count(String, String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Runs a count query, returns a number of matching records.
- count(String) - Method in class org.javalite.activejdbc.DB
-
Returns count of rows in table.
- count(String, String, Object...) - Method in class org.javalite.activejdbc.DB
-
Runs a count query, returns a number of matching records.
- count() - Static method in class org.javalite.activejdbc.Model
-
Returns total count of records in table.
- count(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Returns count of records in table under a condition.
- count(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- count(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- count(String) - Method in class org.javalite.test.XPathHelper
-
Counts a collection selected by XPath expression.
- count(String, String) - Static method in class org.javalite.test.XPathHelper
-
Counts a collection selected by XPath expression.
- countMigrations() - Static method in class org.javalite.db_migrator.DbUtils
-
- countRows(String) - Static method in class org.javalite.db_migrator.DbUtils
-
- create(Object...) - Static method in class org.javalite.activejdbc.Model
-
This is a convenience method to create a model instance already initialized with values.
- create(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- createIt(Object...) - Static method in class org.javalite.activejdbc.Model
-
- createIt(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- CreateMojo - Class in org.javalite.db_migrator.maven
-
- CreateMojo() - Constructor for class org.javalite.db_migrator.maven.CreateMojo
-
- createSchemaVersionTable() - Method in class org.javalite.db_migrator.MigrationManager
-
- createSchemaVersionTable(DatabaseType) - Method in class org.javalite.db_migrator.VersionStrategy
-
- DatabaseType - Enum in org.javalite.db_migrator
-
- databaseType(String) - Static method in class org.javalite.db_migrator.DbUtils
-
- DateConverter - Class in org.javalite.activejdbc.validation
-
- DateConverter(String, String) - Constructor for class org.javalite.activejdbc.validation.DateConverter
-
Deprecated.
- dateFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- dateFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- dateFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- dateFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- DateToStringConverter - Class in org.javalite.activejdbc.conversion
-
- DateToStringConverter(String) - Constructor for class org.javalite.activejdbc.conversion.DateToStringConverter
-
- DateToStringConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.DateToStringConverter
-
- DB - Class in org.javalite.activejdbc
-
This class provides a number of convenience methods for opening/closing database connections, running various
types of queries, and executing SQL statements.
- DB(String) - Constructor for class org.javalite.activejdbc.DB
-
Creates a new DB object representing a connection to a DB.
- DBException - Exception in org.javalite.activejdbc
-
Generic exception wrapper for all things DB.
- DBException(Throwable) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException(String) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException(String, Throwable) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException(String, Object[], Throwable) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException() - Constructor for exception org.javalite.activejdbc.DBException
-
- DbName - Annotation Type in org.javalite.activejdbc.annotations
-
- DbUtils - Class in org.javalite.db_migrator
-
- DbUtils() - Constructor for class org.javalite.db_migrator.DbUtils
-
- decode(byte[]) - Method in class org.javalite.common.Base64.Decoder
-
Decodes all bytes from the input byte array using the
Base64
encoding scheme, writing the results into a newly-allocated output
byte array.
- decode(String) - Method in class org.javalite.common.Base64.Decoder
-
Decodes a Base64 encoded String into a newly-allocated byte array
using the
Base64
encoding scheme.
- decode(byte[], byte[]) - Method in class org.javalite.common.Base64.Decoder
-
Decodes all bytes from the input byte array using the
Base64
encoding scheme, writing the results into the given output byte array,
starting at offset 0.
- decode(ByteBuffer) - Method in class org.javalite.common.Base64.Decoder
-
Decodes all bytes from the input byte buffer using the
Base64
encoding scheme, writing the results into a newly-allocated ByteBuffer.
- DEFAULT_NAME - Static variable in class org.javalite.activejdbc.DB
-
- DefaultDialect - Class in org.javalite.activejdbc.dialects
-
- DefaultDialect() - Constructor for class org.javalite.activejdbc.dialects.DefaultDialect
-
- defrost() - Method in class org.javalite.activejdbc.Model
-
- 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
-
- delete(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Deletes some records from associated table.
- delete(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- Delete - Class in org.javalite.http
-
Executes a DELETE request.
- Delete(String, int, int) - Constructor for class org.javalite.http.Delete
-
Constructor for making DELETE requests.
- delete(String) - Static method in class org.javalite.http.Http
-
Executes a DELETE request.
- delete(String, int, int) - Static method in class org.javalite.http.Http
-
Executes a DELETE request.
- deleteAll() - Static method in class org.javalite.activejdbc.Model
-
Deletes all records from associated table.
- deleteAll(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- deleteCascade() - Method in class org.javalite.activejdbc.Model
-
Deletes this record from associated table, as well as children.
- deleteCascadeExcept(Association...) - Method in class org.javalite.activejdbc.Model
-
This method does everything
Model.deleteCascade()
does, but in addition allows to exclude some associations
from this action.
- deleteCascadeShallow() - Method in class org.javalite.activejdbc.Model
-
Deletes this record from associated table, as well as its immediate children.
- deleteManyToManyAssociation(Many2ManyAssociation) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- deleteManyToManyAssociation(Many2ManyAssociation) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- destinationClass() - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- destinationClass() - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- destinationClass() - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- destroy() - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
-
- detach() - Static method in class org.javalite.activejdbc.Base
-
Detaches a default connection from current thread and returns an instance of it.
- detach() - Method in class org.javalite.activejdbc.DB
-
Detaches a connection from current thread and returns an instance of it.
- detach() - Static method in class org.javalite.db_migrator.DbUtils
-
- determineDatabaseType() - Method in class org.javalite.db_migrator.MigrationManager
-
- Dialect - Interface in org.javalite.activejdbc.dialects
-
- DifferenceExpectation<T> - Class in org.javalite.test.jspec
-
- DifferenceExpectation(T) - Constructor for class org.javalite.test.jspec.DifferenceExpectation
-
- dirtyAttributeNames() - Method in class org.javalite.activejdbc.Model
-
- dispose() - Method in class org.javalite.http.Request
-
- doConnect() - Method in class org.javalite.http.Delete
-
- doConnect() - Method in class org.javalite.http.Get
-
- doConnect() - Method in class org.javalite.http.Post
-
- doConnect() - Method in class org.javalite.http.Put
-
- doConnect() - Method in class org.javalite.http.Request
-
Makes a connection to the remote resource.
- doConvert(S) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
Converts instance of S to T.
- doConvert(String) - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- doConvert(String) - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.EHCacheManager
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.OSCacheManager
-
- driverClass(String) - Static method in class org.javalite.db_migrator.DbUtils
-
Given a jdbc url, this tries to determine the target database and returns the driver class name as a string.
- DropMojo - Class in org.javalite.db_migrator.maven
-
- DropMojo() - Constructor for class org.javalite.db_migrator.maven.DropMojo
-
- dummy - package dummy
-
- Dummy - Class in dummy
-
- Dummy() - Constructor for class dummy.Dummy
-
- dump() - Method in class org.javalite.activejdbc.LazyList
-
Dumps contents of this list to System.out
.
- dump(OutputStream) - Method in class org.javalite.activejdbc.LazyList
-
Dumps content of list to a stream.
- DURATION_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- EHCacheManager - Class in org.javalite.activejdbc.cache
-
- EHCacheManager() - Constructor for class org.javalite.activejdbc.cache.EHCacheManager
-
- EmailValidator - Class in org.javalite.activejdbc.validation
-
- EmailValidator(String) - Constructor for class org.javalite.activejdbc.validation.EmailValidator
-
- empty(Object[]) - Static method in class org.javalite.common.Util
-
Returns true if array is either null or empty.
- empty(Collection<?>) - Static method in class org.javalite.common.Util
-
Returns true if collection is either null or empty.
- encode(byte[]) - Method in class org.javalite.common.Base64.Encoder
-
Encodes all bytes from the specified byte array into a newly-allocated
byte array using the
Base64
encoding scheme.
- encode(byte[], byte[]) - Method in class org.javalite.common.Base64.Encoder
-
Encodes all bytes from the specified byte array using the
Base64
encoding scheme, writing the resulting bytes to the
given output byte array, starting at offset 0.
- encode(ByteBuffer) - Method in class org.javalite.common.Base64.Encoder
-
Encodes all remaining bytes from the specified byte buffer into
a newly-allocated ByteBuffer using the
Base64
encoding
scheme.
- encodeToString(byte[]) - Method in class org.javalite.common.Base64.Encoder
-
Encodes the specified byte array into a String using the
Base64
encoding scheme.
- enqueue(QueryExecutionEvent) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
Enqueues a query execution event for processing.
- entityName(int) - Method in class org.javalite.common.XmlEntities
-
Deprecated.
Returns the name of the entity identified by the specified value.
- entityValue(String) - Method in class org.javalite.common.XmlEntities
-
Deprecated.
Returns the value of the entity identified by the specified name.
- entrySet() - Method in class org.javalite.activejdbc.Errors
-
- entrySet() - Method in class org.javalite.app_config.AppConfig
-
- equals(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
-
- equals(Object) - Method in class org.javalite.app_config.Property
-
- Errors - Class in org.javalite.activejdbc
-
Collection of error messages generated by validation process.
- Errors() - Constructor for class org.javalite.activejdbc.Errors
-
- errors() - Method in class org.javalite.activejdbc.Model
-
Provides an instance of Errors
object, filled with error messages after validation.
- errors(Locale) - Method in class org.javalite.activejdbc.Model
-
Provides an instance of localized Errors
object, filled with error messages after validation.
- errors() - Method in exception org.javalite.activejdbc.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- errors(Locale) - Method in exception org.javalite.activejdbc.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- Escape - Class in org.javalite.common
-
- escape(String) - Method in class org.javalite.common.XmlEntities
-
Deprecated.
Escapes the characters in a String
.
- escape(StringBuilder, String) - Method in class org.javalite.common.XmlEntities
-
Deprecated.
Escapes the characters in the String
passed and writes the result to the StringBuilder
passed.
- escape(Writer, String) - Method in class org.javalite.common.XmlEntities
-
Deprecated.
- ExceptionExpectation<T> - Class in org.javalite.test.jspec
-
- ExceptionExpectation(Class<T>) - Constructor for class org.javalite.test.jspec.ExceptionExpectation
-
- exec(String) - Static method in class org.javalite.activejdbc.Base
-
Executes DML.
- exec(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Executes parametrized DML - will contain question marks as placeholders.
- exec(String) - Method in class org.javalite.activejdbc.DB
-
Executes DML.
- exec(String, Object...) - Method in class org.javalite.activejdbc.DB
-
Executes parametrized DML - will contain question marks as placeholders.
- exec(String) - Static method in class org.javalite.db_migrator.DbUtils
-
- exec() - Method in class org.javalite.test.jspec.DifferenceExpectation
-
- exec() - Method in class org.javalite.test.jspec.ExceptionExpectation
-
- ExecException - Exception in org.javalite.maven
-
- ExecException() - Constructor for exception org.javalite.maven.ExecException
-
- ExecException(String) - Constructor for exception org.javalite.maven.ExecException
-
- ExecException(String, Throwable) - Constructor for exception org.javalite.maven.ExecException
-
- ExecException(Throwable) - Constructor for exception org.javalite.maven.ExecException
-
- execute() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- execute() - Method in class org.javalite.db_migrator.maven.HelpMojo
-
- execute() - Method in class org.javalite.db_migrator.maven.NewMojo
-
- execute() - Method in class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
-
- execute() - Method in class org.javalite.maven.GitInfoPlugin
-
- executeBatch(PreparedStatement) - Static method in class org.javalite.activejdbc.Base
-
Executes a batch on java.sql.PreparedStatement
.
- executeBatch(PreparedStatement) - Method in class org.javalite.activejdbc.DB
-
Executes a batch on java.sql.PreparedStatement
.
- executeMojo() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.CheckMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.CreateMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.DropMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.MigrateMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.ResetMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.ValidateMojo
-
- exists(Object) - Static method in class org.javalite.activejdbc.Model
-
Returns true if record corresponding to the id passed exists in the DB.
- exists() - Method in class org.javalite.activejdbc.Model
-
Returns true if record corresponding to the id of this instance exists in the DB.
- exists(Class<? extends Model>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- expect(ExceptionExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
-
- expect(DifferenceExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
-
Expect that the results are different, throw TestException if same.
- expect(ExceptionExpectation<T>) - Method in class org.javalite.test.jspec.JSpecSupport
-
- expect(DifferenceExpectation<T>) - Method in class org.javalite.test.jspec.JSpecSupport
-
- Expectation<T> - Class in org.javalite.test.jspec
-
- Expectation(T) - Constructor for class org.javalite.test.jspec.Expectation
-
- extractDatabaseName(String) - Static method in class org.javalite.db_migrator.DbUtils
-
Given a JDBC connection URL, extract only the database name.
- extractServerUrl(String) - Static method in class org.javalite.db_migrator.DbUtils
-
Given a JDBC connection URL, generate a new connection URL to connect directly to the database server itself (ie: no database specified).
- extractVersion(String) - Method in class org.javalite.db_migrator.MigrationResolver
-
- find(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Executes a raw query and returns an instance of
RowProcessor
.
- find(String, RowListener) - Static method in class org.javalite.activejdbc.Base
-
Executes a raw query and calls instance of RowListener
with every row found.
- find(String, Object...) - Method in class org.javalite.activejdbc.DB
-
Executes a raw query and returns an instance of
RowProcessor
.
- find(String, RowListener) - Method in class org.javalite.activejdbc.DB
-
Executes a raw query and calls instance of RowListener
with every row found.
- find(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
- find(String, ModelListener) - Static method in class org.javalite.activejdbc.Model
-
- findAll(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
This method returns entire resultset as one list.
- findAll(String) - Static method in class org.javalite.activejdbc.Base
-
This method returns entire resultset as one list.
- findAll(String, Object...) - Method in class org.javalite.activejdbc.DB
-
This method returns entire resultset as one list.
- findAll(String) - Method in class org.javalite.activejdbc.DB
-
This method returns entire resultset as one list.
- findAll() - Static method in class org.javalite.activejdbc.Model
-
This method returns all records from this table.
- findAll(Class<T>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findByCompositeKeys(Object...) - Static method in class org.javalite.activejdbc.Model
-
Composite PK values in exactly the same order as specified in
CompositePK
.
- findByCompositeKeys(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findById(Object) - Static method in class org.javalite.activejdbc.Model
-
- findById(Class<T>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findBySQL(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Free form query finder.
- findBySql(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findFirst(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
- findFirst(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findModels(String) - Static method in class org.javalite.activejdbc.ModelFinder
-
- findWith(ModelListener, String, Object...) - Static method in class org.javalite.activejdbc.Model
-
This method is for processing really large result sets.
- findWith(Class<M>, ModelListener<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- first(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Returns a first result for this condition.
- firstCell(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Returns a value of the first column of the first row.
- firstCell(String, Object...) - Method in class org.javalite.activejdbc.DB
-
This method returns the value of the first column of the first row.
- firstColumn(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
This method returns entire resultset as one list.
- firstColumn(String, Object...) - Method in class org.javalite.activejdbc.DB
-
This method returns entire resultset with one column as a list.
- flush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Flash cache.
- format(Object) - Method in interface org.javalite.activejdbc.Formatter
-
Deprecated.
- format(Object) - Method in class org.javalite.activejdbc.SimpleFormatter
-
Deprecated.
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.DateConverter
-
Deprecated.
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.RangeValidator
-
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.TimestampConverter
-
Deprecated.
- formatMessage(Locale, Object...) - Method in interface org.javalite.activejdbc.validation.Validator
-
Formats a message with locale.
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
-
Provides default implementation, will look for a property in resource bundle, using set message as key.
- Formatter - Interface in org.javalite.activejdbc
-
- formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- formSelect(String, String, List<String>, long, long) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
Generates adds limit, offset and order bys to a sub-query
- formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.MySQLDialect
-
- formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.OracleDialect
-
Example of a query we are building here:
- formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.PostgreSQLDialect
-
Generates adds limit, offset and order bys to a sub-query
- formSelect(String, String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- fromBase64(String) - Static method in class org.javalite.common.Util
-
Will decode Base64-encoded string back into byte array.
- fromMap(Map) - Method in class org.javalite.activejdbc.Model
-
Overrides attribute values from input map.
- fromXml(String) - Method in class org.javalite.activejdbc.Model
-
Parses XML into a model.
- frozen() - Method in class org.javalite.activejdbc.Model
-
- FrozenException - Exception in org.javalite.activejdbc
-
- FrozenException(Model) - Constructor for exception org.javalite.activejdbc.FrozenException
-
- genHtml() - Static method in class org.javalite.maven.GitInfo
-
- get(int) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- get(Object) - Method in class org.javalite.activejdbc.Errors
-
Provides a message from a resource bundle activejdbc_messages
.
- get(String, Object...) - Method in class org.javalite.activejdbc.Errors
-
Provides a message from the resource bundle activejdbc_messages
which is merged
with parameters.
- get(String) - Method in class org.javalite.activejdbc.Model
-
Returns a value for attribute.
- get(Class<C>, String, Object...) - Method in class org.javalite.activejdbc.Model
-
Provides a list of child models in one to many, many to many and polymorphic associations, but in addition also allows to filter this list
by criteria.
- get(Object) - Method in class org.javalite.app_config.AppConfig
-
- Get - Class in org.javalite.http
-
Executes a GET request.
- Get(String, int, int) - Constructor for class org.javalite.http.Get
-
Constructor for making GET requests.
- get(String) - Static method in class org.javalite.http.Http
-
Executes a GET request.
- get(String, int, int) - Static method in class org.javalite.http.Http
-
Executes a GET request
- getAll(Class<C>) - Method in class org.javalite.activejdbc.Model
-
This methods supports one to many, many to many relationships as well as polymorphic associations.
- getAllProperties() - Static method in class org.javalite.app_config.AppConfig
-
- getAppliedMigrations() - Method in class org.javalite.db_migrator.VersionStrategy
-
- getAppliedMigrationVersions() - Method in class org.javalite.db_migrator.MigrationManager
-
- getAsProperty(String) - Static method in class org.javalite.app_config.AppConfig
-
Returns property instance corresponding to key.
- getAssociationForTarget(String, Class<A>) - Method in class org.javalite.activejdbc.MetaModel
-
Returns association of this table with the target table.
- getAssociationForTarget(String) - Method in class org.javalite.activejdbc.MetaModel
-
Returns association of this table with the target table.
- getAssociations() - Method in class org.javalite.activejdbc.MetaModel
-
- getAssociationsForTarget(String) - Method in class org.javalite.activejdbc.MetaModel
-
Returns associations of this table with the target table.
- getAttributeNames() - Method in class org.javalite.activejdbc.MetaModel
-
Retrieves all attribute names.
- getAttributeNamesSkip(String...) - Method in class org.javalite.activejdbc.MetaModel
-
Finds all attribute names except those provided as arguments.
- getAttributeNamesSkipGenerated() - Method in class org.javalite.activejdbc.MetaModel
-
Convenience method.
- getAttributeNamesSkipGenerated(boolean) - Method in class org.javalite.activejdbc.MetaModel
-
Finds all attribute names except managed like id
,
created_at
, updated_at
and record_version
, depending on argument.
- getAttributeNamesSkipId() - Method in class org.javalite.activejdbc.MetaModel
-
Finds all attribute names except for id.
- getAttributes() - Method in class org.javalite.activejdbc.Model
-
- getAvg() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getBigDecimal(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.math.BigDecimal
.
- getBoolean(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Boolean
.
- getBytes(String) - Method in class org.javalite.activejdbc.Model
-
Gets a value as bytes.
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Returns a cached item.
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.EHCacheManager
-
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.OSCacheManager
-
- getCacheManager() - Method in enum org.javalite.activejdbc.cache.QueryCache
-
- getCacheManager() - Method in class org.javalite.activejdbc.Configuration
-
- getClazz(String) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- getClazz() - Method in class org.javalite.test.jspec.ExceptionExpectation
-
- getColumnMetadata() - Method in class org.javalite.activejdbc.MetaModel
-
Provides column metadata map, keyed by attribute names.
- getColumnName() - Method in class org.javalite.activejdbc.ColumnMetadata
-
Column name as reported by DBMS driver.
- getColumnSize() - Method in class org.javalite.activejdbc.ColumnMetadata
-
Column size as reported by DBMS driver.
- getCompositeKeys() - Method in class org.javalite.activejdbc.MetaModel
-
Returns optional composite primary key class
- getCompositeKeys() - Method in class org.javalite.activejdbc.Model
-
Provides a list of composite keys as specified in
CompositePK
.
- getConfigFile() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getConfiguration() - Method in enum org.javalite.activejdbc.Registry
-
- getConnection() - Method in class org.javalite.activejdbc.DB
-
- getContext() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
-
- getCount() - Method in class org.javalite.activejdbc.Paginator
-
Returns total count of records based on provided criteria.
- getCount() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getCreateSql() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getCurrentPage() - Method in class org.javalite.activejdbc.Paginator
-
Returns index of current page, or 0 if this instance has not produced a page yet.
- getCurrrentConnectionNames() - Static method in class org.javalite.activejdbc.DB
-
Provides a names' list of current connections.
- getDatabaseName(CtClass) - Static method in class org.javalite.instrumentation.Instrumentation
-
- getDataSourceJndiName() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
-
- getDate(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.sql.Date
.
- getDbName() - Method in class org.javalite.activejdbc.MetaModel
-
- getDbName(Class<? extends Model>) - Static method in class org.javalite.activejdbc.MetaModel
-
- getDbType() - Method in class org.javalite.activejdbc.MetaModel
-
- getDecoder() - Static method in class org.javalite.common.Base64
-
- getDialect() - Method in class org.javalite.activejdbc.MetaModel
-
- getDouble(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Double
.
- getDriver() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
-
- getDriver() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getDropSql() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getEdges(String) - Method in enum org.javalite.activejdbc.Registry
-
Returns edges for a join.
- getEncoder() - Static method in class org.javalite.common.Base64
-
- getEncoding() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getEnvironments() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getExpected() - Method in class org.javalite.test.jspec.DifferenceExpectation
-
- getFkName() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- getFkName() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- getFKName() - Method in class org.javalite.activejdbc.MetaModel
-
FK name is a foreign key name used in relationships as a foreign key column in a child table (table represented by this
instance is a parent table).
- getFloat(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Float
.
- getGroup() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- getId() - Method in class org.javalite.activejdbc.Model
-
Value of ID.
- getIdGeneratorCode() - Method in class org.javalite.activejdbc.MetaModel
-
- getIdName() - Method in class org.javalite.activejdbc.MetaModel
-
- getIdName() - Method in class org.javalite.activejdbc.Model
-
Name of ID column.
- getIdName(String) - Static method in class org.javalite.common.Inflector
-
- getInputStream() - Method in class org.javalite.http.Request
-
Returns input stream to read server response from.
- getInteger(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Integer
.
- getItem(String, String, Object[]) - Method in enum org.javalite.activejdbc.cache.QueryCache
-
Returns an item from cache, or null if nothing found.
- getJoin() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getLong(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Long
.
- getLongId() - Method in class org.javalite.activejdbc.Model
-
Convenience method: converts ID value to Long and returns it.
- getManyToManyAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
-
- getMax() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getMessage() - Method in exception org.javalite.activejdbc.associations.NotAssociatedException
-
- getMessage() - Method in exception org.javalite.activejdbc.DBException
-
- getMessage() - Method in exception org.javalite.activejdbc.validation.ValidationException
-
- getMessage() - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
-
- getMetaModel() - Static method in class org.javalite.activejdbc.Model
-
- getMetaModel(String) - Method in enum org.javalite.activejdbc.Registry
-
Provides a MetaModel of a model representing a table.
- getMetaModel(Class<? extends Model>) - Method in enum org.javalite.activejdbc.Registry
-
- getMetaModelLocal() - Method in class org.javalite.activejdbc.Model
-
This method should be called from all instance methods for performance.
- getMigrationsPath() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getMimeDecoder() - Static method in class org.javalite.common.Base64
-
- getMimeEncoder() - Static method in class org.javalite.common.Base64
-
- getMimeEncoder(int, byte[]) - Static method in class org.javalite.common.Base64
-
Returns a
Base64.Encoder
that encodes using the
MIME type base64 encoding scheme
with specified line length and line separators.
- getMin() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getModelClass() - Method in class org.javalite.activejdbc.MetaModel
-
- getModelClass(String, boolean) - Method in enum org.javalite.activejdbc.Registry
-
Returns model class for a table name, null if not found.
- getModels() - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- getModelsForDb(String) - Static method in class org.javalite.activejdbc.ModelFinder
-
- getName() - Method in class org.javalite.app_config.Property
-
- getName() - Method in class org.javalite.db_migrator.Migration
-
- getNext() - Method in class org.javalite.activejdbc.Paginator
-
- getOneToManyAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
-
- getOtherName(String, String) - Static method in class org.javalite.common.Inflector
-
If a table name is made of two other table names (as is typical for many to many relationships),
this method retrieves a name of "another" table from a join table name.
- getPage(int) - Method in class org.javalite.activejdbc.Paginator
-
This method will return a list of records for a specific page.
- getParentClassName() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- getPassword() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
-
- getPassword() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
-
- getPassword() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getPendingMigrations() - Method in class org.javalite.db_migrator.MigrationManager
-
Returns pending migrations.
- getPolymorphicAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
-
- getPrevious() - Method in class org.javalite.activejdbc.Paginator
-
- getProperty(String) - Static method in class org.javalite.app_config.AppConfig
-
Returns property value for a key.
- getPropertyFile() - Method in class org.javalite.app_config.Property
-
- getProps() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
-
- getQuery() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
-
- getQuery() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getReportSortedBy(String) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
Produces a report sorted by one of the accepted value.
- getResourceLines(String) - Static method in class org.javalite.common.Util
-
Returns lines of text of a resource as list.
- getShort(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Short
.
- getSource() - Method in class org.javalite.activejdbc.Association
-
Returns source table name of this association.
- getSource() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- getSourceFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getStackTraceString(Throwable) - Static method in class org.javalite.common.Util
-
Converts stack trace to string.
- getStatisticsQueue() - Method in enum org.javalite.activejdbc.Registry
-
- getString(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as String
.
- getSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
-
Returns buffer accumulated with data as string.
- getSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
-
Returns buffer accumulated with data as string.
- getTableName() - Method in class org.javalite.activejdbc.MetaModel
-
- getTableName() - Static method in class org.javalite.activejdbc.Model
-
Returns name of corresponding table.
- getTableName(Class<? extends Model>) - Method in enum org.javalite.activejdbc.Registry
-
- getTarget() - Method in class org.javalite.activejdbc.Association
-
Returns target table name of this association.
- getTargetFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getTargetPk() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getTime(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.sql.Time
.
- getTime() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
-
- getTimestamp(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.sql.Timestamp
.
- getTotal() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getType() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- getTypeLabel() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- getTypeLabel() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- getTypeName() - Method in class org.javalite.activejdbc.ColumnMetadata
-
Column type name as reported by DBMS driver.
- getUrl() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
-
- getUrl() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getUrlDecoder() - Static method in class org.javalite.common.Base64
-
- getUrlEncoder() - Static method in class org.javalite.common.Base64
-
- getUser() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
-
- getUser() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
-
- getUsername() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getValidators(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
-
- getValue() - Method in class org.javalite.app_config.Property
-
- getValueClass() - Method in interface org.javalite.activejdbc.Formatter
-
Deprecated.
- getValueClass() - Method in class org.javalite.activejdbc.SimpleFormatter
-
Deprecated.
- getVersion() - Method in class org.javalite.db_migrator.Migration
-
- getVersionColumn() - Method in class org.javalite.activejdbc.MetaModel
-
- GitInfo - Class in org.javalite.maven
-
- GitInfo() - Constructor for class org.javalite.maven.GitInfo
-
- GitInfoPlugin - Class in org.javalite.maven
-
- GitInfoPlugin() - Constructor for class org.javalite.maven.GitInfoPlugin
-
- greaterThan(double) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
Specify a lower bound for a value, not inclusive.
- GROUP_BY_PATTERN - Static variable in class org.javalite.activejdbc.dialects.DefaultDialect
-
- gsub(String, String, String) - Static method in class org.javalite.common.Inflector
-
Replaces a found pattern in a word and returns a transformed word.
- offset(long) - Method in class org.javalite.activejdbc.LazyList
-
This method sets an offset of a resultset.
- offset(long) - Method in class org.javalite.activejdbc.SuperLazyList
-
- OneToManyAssociation - Class in org.javalite.activejdbc.associations
-
- OneToManyAssociation(String, String, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
-
- OneToManyPolymorphicAssociation - Class in org.javalite.activejdbc.associations
-
- OneToManyPolymorphicAssociation(String, String, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- onFlush(CacheEvent) - Method in interface org.javalite.activejdbc.cache.CacheEventListener
-
- onlyInteger() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
Will invalidate the value if it is not integer.
- onModel(T) - Method in interface org.javalite.activejdbc.ModelListener
-
- onNext(Map<String, Object>) - Method in class org.javalite.activejdbc.RowListenerAdapter
-
Called when a new row is encountered.
- open(String, String, String, String) - Static method in class org.javalite.activejdbc.Base
-
Opens a new connection based on JDBC properties and attaches it to a current thread.
- open(String, String, Properties) - Static method in class org.javalite.activejdbc.Base
-
Opens a new connection in case additional driver-specific parameters need to be passed in.
- open(String) - Static method in class org.javalite.activejdbc.Base
-
Opens a connection from JNDI based on a registered name.
- open(String, Properties) - Static method in class org.javalite.activejdbc.Base
-
Opens a new connection from JNDI data source by name using explicit JNDI properties.
- open(DataSource) - Static method in class org.javalite.activejdbc.Base
-
Opens a connection from a datasource.
- open(String, String, String, String) - Method in class org.javalite.activejdbc.DB
-
Opens a new connection based on JDBC properties and attaches it to a current thread.
- open(String, String, Properties) - Method in class org.javalite.activejdbc.DB
-
Opens a new connection in case additional driver-specific parameters need to be passed in.
- open(String) - Method in class org.javalite.activejdbc.DB
-
Opens a connection from JNDI based on a registered name.
- open(DataSource) - Method in class org.javalite.activejdbc.DB
-
Opens a connection from a datasource.
- open(String, Properties) - Method in class org.javalite.activejdbc.DB
-
Opens a new connection from JNDI data source by name using explicit JNDI properties.
- open(ConnectionSpec) - Method in class org.javalite.activejdbc.DB
-
This method is used internally by framework.
- openConnection(String, String, String, String) - Static method in class org.javalite.db_migrator.DbUtils
-
- openConnection() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- openConnection(boolean) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- openTransaction() - Static method in class org.javalite.activejdbc.Base
-
Opens local transaction.
- openTransaction() - Method in class org.javalite.activejdbc.DB
-
Opens local transaction.
- OracleDialect - Class in org.javalite.activejdbc.dialects
-
- OracleDialect() - Constructor for class org.javalite.activejdbc.dialects.OracleDialect
-
- ORDER_BY_PATTERN - Static variable in class org.javalite.activejdbc.dialects.DefaultDialect
-
- orderBy(String) - Method in class org.javalite.activejdbc.LazyList
-
Use this method to order results by a column.
- orderBy(String) - Method in class org.javalite.activejdbc.Paginator
-
Use to set order by(s).
- orderBy(String) - Method in class org.javalite.activejdbc.SuperLazyList
-
- org.javalite.activejdbc - package org.javalite.activejdbc
-
- org.javalite.activejdbc.annotations - package org.javalite.activejdbc.annotations
-
- org.javalite.activejdbc.associations - package org.javalite.activejdbc.associations
-
- org.javalite.activejdbc.cache - package org.javalite.activejdbc.cache
-
- org.javalite.activejdbc.conversion - package org.javalite.activejdbc.conversion
-
- org.javalite.activejdbc.dialects - package org.javalite.activejdbc.dialects
-
- org.javalite.activejdbc.statistics - package org.javalite.activejdbc.statistics
-
- org.javalite.activejdbc.validation - package org.javalite.activejdbc.validation
-
- org.javalite.activejdbc.web - package org.javalite.activejdbc.web
-
- org.javalite.app_config - package org.javalite.app_config
-
- org.javalite.common - package org.javalite.common
-
- org.javalite.db_migrator - package org.javalite.db_migrator
-
- org.javalite.db_migrator.maven - package org.javalite.db_migrator.maven
-
- org.javalite.http - package org.javalite.http
-
This package contains convenience classes for working with REST services.
- org.javalite.instrumentation - package org.javalite.instrumentation
-
- org.javalite.maven - package org.javalite.maven
-
- org.javalite.test - package org.javalite.test
-
- org.javalite.test.jspec - package org.javalite.test.jspec
-
- OSCacheManager - Class in org.javalite.activejdbc.cache
-
- OSCacheManager() - Constructor for class org.javalite.activejdbc.cache.OSCacheManager
-
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
TDS converts a number of important data types to String.
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- RangeValidator - Class in org.javalite.activejdbc.validation
-
- RangeValidator(String, Number, Number) - Constructor for class org.javalite.activejdbc.validation.RangeValidator
-
- read(InputStream) - Static method in class org.javalite.common.Util
-
Reads contents of the input stream fully and returns it as String.
- read(InputStream, String) - Static method in class org.javalite.common.Util
-
Reads contents of the input stream fully and returns it as String.
- read(File) - Static method in class org.javalite.common.Util
-
Reads file into a byte array.
- READ_TIMEOUT - Static variable in class org.javalite.http.Http
-
Read timeout in milliseconds.
- readExternal(ObjectInput) - Method in class org.javalite.activejdbc.Model
-
- readFile(String) - Static method in class org.javalite.common.Util
-
Reads contents of file fully and returns as string.
- readFile(String, String) - Static method in class org.javalite.common.Util
-
Reads contents of file fully and returns as string.
- readResource(String) - Static method in class org.javalite.common.Util
-
Reads contents of resource fully into a string.
- readResource(String, String) - Static method in class org.javalite.common.Util
-
Reads contents of resource fully into a string.
- readResourceBytes(String) - Static method in class org.javalite.common.Util
-
Reads contents of resource fully into a byte array.
- recordMigration(String, Date, long) - Method in class org.javalite.db_migrator.VersionStrategy
-
- refresh() - Method in class org.javalite.activejdbc.Model
-
Re-reads all attribute values from DB.
- RegexpValidator - Class in org.javalite.activejdbc.validation
-
- RegexpValidator(String, String) - Constructor for class org.javalite.activejdbc.validation.RegexpValidator
-
- registerModelClass(String) - Static method in class org.javalite.activejdbc.ModelFinder
-
- Registry - Enum in org.javalite.activejdbc
-
- remove(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- remove(int) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- remove(Object) - Method in class org.javalite.activejdbc.Errors
-
- remove(Model) - Method in class org.javalite.activejdbc.Model
-
Removes associated child from this instance.
- remove(Object) - Method in class org.javalite.app_config.AppConfig
-
- removeAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- removeAllCacheEventListeners() - Method in class org.javalite.activejdbc.cache.CacheManager
-
- removeCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
-
- removeValidator(Validator) - Static method in class org.javalite.activejdbc.Model
-
- removeValidator(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- repeat(StringBuilder, String, int) - Static method in class org.javalite.common.Util
-
Repeats string of characters a defined number of times, and appends result to StringBuilder.
- replaceError() - Static method in class org.javalite.test.SystemStreamUtil
-
Replaces System.err
with internal buffer.
- replaceOut() - Static method in class org.javalite.test.SystemStreamUtil
-
Replaces System.out
with internal buffer.
- Request<T extends Request> - Class in org.javalite.http
-
This class provides static convenience methods for simple HTTP requests.
- Request(String, int, int) - Constructor for class org.javalite.http.Request
-
- reset() - Method in class org.javalite.activejdbc.Model
-
Resets all data in this model, including the ID.
- reset() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
- ResetMojo - Class in org.javalite.db_migrator.maven
-
- ResetMojo() - Constructor for class org.javalite.db_migrator.maven.ResetMojo
-
- resolve() - Method in class org.javalite.db_migrator.MigrationResolver
-
- responseCode() - Method in class org.javalite.http.Request
-
Returns HTTP response code.
- responseMessage() - Method in class org.javalite.http.Request
-
Returns response message from server, such as "OK", or "Created", etc.
- restoreSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
-
Restores System.err
to former glory.
- restoreSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
-
Restores System.out
to former glory.
- retainAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- rollbackTransaction() - Static method in class org.javalite.activejdbc.Base
-
Rolls back local transaction.
- rollbackTransaction() - Method in class org.javalite.activejdbc.DB
-
Rolls back local transaction.
- RowListener - Interface in org.javalite.activejdbc
-
- RowListenerAdapter - Class in org.javalite.activejdbc
-
Use this class in cases where you need to process an entire result set.
- RowListenerAdapter() - Constructor for class org.javalite.activejdbc.RowListenerAdapter
-
- RowProcessor - Class in org.javalite.activejdbc
-
- RowProcessor(ResultSet, Statement) - Constructor for class org.javalite.activejdbc.RowProcessor
-
- run() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
- 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
-
- saveTo(String, InputStream) - Static method in class org.javalite.common.Util
-
Saves content read from input stream into a file.
- saveTo(String, byte[]) - Static method in class org.javalite.common.Util
-
Saves content of byte array to file.
- selectCount(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectCount(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectCount(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectCount(String, String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectExists(MetaModel) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectExists(MetaModel) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectManyToManyAssociation(Many2ManyAssociation, String, int) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectManyToManyAssociation(Many2ManyAssociation, String, int) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectPattern - Variable in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- selectStar(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectStar(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectStar(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectStar(String, String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectStarParametrized(String, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
Produces a parametrized AND query.
- selectStarParametrized(String, String...) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectStrings(String, String) - Static method in class org.javalite.test.XPathHelper
-
Selects text nodes as list of strings
- selectText(String) - Method in class org.javalite.test.XPathHelper
-
Retrieves text of a single node.
- selectText(String, String) - Static method in class org.javalite.test.XPathHelper
-
Selects text from a single node.
- set(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- set(String[], Object[]) - Method in class org.javalite.activejdbc.Model
-
Sets values for this model instance.
- set(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets a value of an attribute.
- set(Object...) - Method in class org.javalite.activejdbc.Model
-
This is a convenience method to set multiple values to a model.
- set(T...) - Static method in class org.javalite.common.Collections
-
Creates a set from values.
- setAllowNull(Boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setBigDecimal(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.math.BigDecimal
.
- setBoolean(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Boolean
.
- setCachedParent(Model) - Method in class org.javalite.activejdbc.Model
-
- setChildren(Class, List<Model>) - Method in class org.javalite.activejdbc.Model
-
- setConfigFile(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setCreateSql(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- setDate(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.sql.Date
.
- setDouble(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Double
.
- setDriver(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setDropSql(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- setEnvironments(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setFloat(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Float
.
- setId(Object) - Method in class org.javalite.activejdbc.Model
-
Convenience method, sets ID value on this model, equivalent to set(getIdName(), id)
.
- setInteger(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Integer
.
- setLocale(Locale) - Method in class org.javalite.activejdbc.Errors
-
Sets a locale on this instance.
- setLogExpression(String) - Static method in class org.javalite.activejdbc.LogFilter
-
- setLong(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Long
.
- setMax(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setMessage(String) - Method in interface org.javalite.activejdbc.validation.Validator
-
Sets an message on this validator.
- setMessage(String) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
-
- setMetamodelLocal(MetaModel) - Method in class org.javalite.activejdbc.Model
-
- setMigrationsPath(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- setMin(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setOnlyInteger(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setOutputDirectory(String) - Method in class org.javalite.instrumentation.Instrumentation
-
- setParent(Model) - Method in class org.javalite.activejdbc.Model
-
Sets a parent on this instance.
- setParents(Model...) - Method in class org.javalite.activejdbc.Model
-
Sets multiple parents on this instance.
- setPassword(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setShort(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Short
.
- setString(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as String
.
- setTime(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.sql.Time
.
- setTimestamp(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.sql.Timestamp
.
- setTS(String, Date) - Method in class org.javalite.activejdbc.Model
-
- setUrl(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setUsername(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- shortName(String) - Static method in class org.javalite.common.Inflector
-
- shouldBe(String) - Method in class org.javalite.test.jspec.Expectation
-
Invokes a boolean method and uses return value in comparison.
- shouldBeA(Class) - Method in class org.javalite.test.jspec.Expectation
-
Tests that the Tested value is a specific type.
- shouldBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested value is equal expected.
- shouldBeFalse() - Method in class org.javalite.test.jspec.Expectation
-
Tested value should be false.
- shouldBeNull() - Method in class org.javalite.test.jspec.Expectation
-
Tested value should be null.
- shouldBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested value is the same reference value as expected.
- shouldBeTrue() - Method in class org.javalite.test.jspec.Expectation
-
Tested value should be true.
- shouldBeType(Class) - Method in class org.javalite.test.jspec.Expectation
-
Tests that the Tested value is a specific type.
- shouldContain(Object) - Method in class org.javalite.test.jspec.Expectation
-
Tests that an expected value is contained in the tested object.
- shouldEqual(T) - Method in class org.javalite.test.jspec.Expectation
-
- shouldHave(String) - Method in class org.javalite.test.jspec.Expectation
-
This is for cases suh as: "hasErrors()": a(p).shouldHave("errors")
.
- shouldNotBe(String) - Method in class org.javalite.test.jspec.Expectation
-
Invokes a boolean method and uses return value in comparison.
- shouldNotBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested and expected values are not equal.
- shouldNotBeNull() - Method in class org.javalite.test.jspec.Expectation
-
Tested reference should not be null.
- shouldNotBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested value is not the same reference value as expected.
- shouldNotContain(Object) - Method in class org.javalite.test.jspec.Expectation
-
- shouldNotHave(String) - Method in class org.javalite.test.jspec.Expectation
-
This is for cases suh as: "hasErrors()": a(p).shouldNotHave("errors")
.
- SimpleFormatter - Class in org.javalite.activejdbc
-
- SimpleFormatter(Class, String, String) - Constructor for class org.javalite.activejdbc.SimpleFormatter
-
Deprecated.
- singularize(String) - Static method in class org.javalite.common.Inflector
-
- size() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- size() - Method in class org.javalite.activejdbc.Errors
-
- size() - Method in class org.javalite.app_config.AppConfig
-
- sourceClass() - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- sourceClass() - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- sourceClass() - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- split(String, String) - Static method in class org.javalite.common.Util
-
Splits a string into an array using provided delimiters.
- split(String, char) - Static method in class org.javalite.common.Util
-
Splits a string into an array using provided delimiter.
- SQLiteDialect - Class in org.javalite.activejdbc.dialects
-
- SQLiteDialect() - Constructor for class org.javalite.activejdbc.dialects.SQLiteDialect
-
- StaleModelException - Exception in org.javalite.activejdbc
-
- StaleModelException(String) - Constructor for exception org.javalite.activejdbc.StaleModelException
-
- startBatch(String) - Static method in class org.javalite.activejdbc.Base
-
Creates a java.sql.PreparedStatement
to be used in batch executions later.
- startBatch(String) - Method in class org.javalite.activejdbc.DB
-
Creates a java.sql.PreparedStatement
to be used in batch executions later.
- StatisticsQueue - Class in org.javalite.activejdbc.statistics
-
This class will collect statistics on executed queries and then can produce reports sorted by
various parameters.
- StatisticsQueue(boolean) - Constructor for class org.javalite.activejdbc.statistics.StatisticsQueue
-
- stop() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
Shutdowns StatisticsQueue completely, new StatisticsQueue should be created to start gathering statistics again
- StringToSqlDateConverter - Class in org.javalite.activejdbc.conversion
-
- StringToSqlDateConverter(String) - Constructor for class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- StringToSqlDateConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- StringToTimestampConverter - Class in org.javalite.activejdbc.conversion
-
- StringToTimestampConverter(String) - Constructor for class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- StringToTimestampConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- subList(int, int) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- SuperLazyList<T extends Model> - Class in org.javalite.activejdbc
-
The purpose of this class is to provide toMaps()
method in cases of eager loading of dependencies.
- SuperLazyList() - Constructor for class org.javalite.activejdbc.SuperLazyList
-
- SystemStreamUtil - Class in org.javalite.test
-
This class can be used to catch standard and error outputs in tests so as not to
pollute test printout with "good" exceptions stack traces.
- SystemStreamUtil() - Constructor for class org.javalite.test.SystemStreamUtil
-
- Table - Annotation Type in org.javalite.activejdbc.annotations
-
- tableExists() - Method in class org.javalite.activejdbc.MetaModel
-
- tableize(String) - Static method in class org.javalite.common.Inflector
-
Converts a camel case to underscore and then pluralizes.
- tableNameOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- TestException - Exception in org.javalite.test.jspec
-
- TestException() - Constructor for exception org.javalite.test.jspec.TestException
-
- TestException(String) - Constructor for exception org.javalite.test.jspec.TestException
-
- TestException(String, Throwable) - Constructor for exception org.javalite.test.jspec.TestException
-
- TestException(Throwable) - Constructor for exception org.javalite.test.jspec.TestException
-
- text() - Method in class org.javalite.http.Request
-
Fetches response content from server as String.
- text(String) - Method in class org.javalite.http.Request
-
Fetches response content from server as String.
- thaw() - Method in class org.javalite.activejdbc.Model
-
Unfreezes this model.
- the(Object) - Static method in class org.javalite.test.jspec.JSpec
-
- the(Object) - Method in class org.javalite.test.jspec.JSpecSupport
-
- TimestampConverter - Class in org.javalite.activejdbc.validation
-
- TimestampConverter(String, String) - Constructor for class org.javalite.activejdbc.validation.TimestampConverter
-
Deprecated.
- timestampFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- timestampFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- timestampFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- timestampFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- toArray() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- toArray(T[]) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- toBase64(byte[]) - Static method in class org.javalite.common.Util
-
Will encode byte array using Base64 encoding.
- toBigDecimal(Object) - Static method in class org.javalite.common.Convert
-
Converts value to BigDecimal if it can.
- toBoolean(Object) - Static method in class org.javalite.common.Convert
-
Returns true if the value is any numeric type and has a value of 1, or
if string type has a value of '1', 't', 'y', 'true' or 'yes'.
- toBytes(Object) - Static method in class org.javalite.common.Convert
-
Converts value to bytes array if it can.
- toBytes(Blob) - Static method in class org.javalite.common.Convert
-
Converts java.sql.Blob
to bytes array.
- toDouble(Object) - Static method in class org.javalite.common.Convert
-
Converts any value to Double
.
- toFloat(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Float if it can.
- toHumanFormat(long, long) - Static method in class org.javalite.common.HumanDate
-
Generates a human representation of distance in time between two time stamps.
- toHumanFormat(long) - Static method in class org.javalite.common.HumanDate
-
- toInsert() - Method in class org.javalite.activejdbc.Model
-
Generates INSERT SQL based on this model.
- toInsert(Dialect) - Method in class org.javalite.activejdbc.Model
-
Generates INSERT SQL based on this model with the provided dialect.
- toInsert(String, String) - Method in class org.javalite.activejdbc.Model
-
- toInsert(Formatter...) - Method in class org.javalite.activejdbc.Model
-
- toInteger(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Integer if it can.
- toIsoString(Date) - Static method in class org.javalite.common.Convert
-
Converts a java.util.Date
to a String
in ISO 8601 format: "yyyy-MM-dd'T'HH:mm:ss'Z'"
in UTC timezone for timestamps, and "yyyy-MM-dd" for instances of java.sql.Date
.
- toJson(boolean, String...) - Method in class org.javalite.activejdbc.LazyList
-
Generates JSON from content of this list
- toJson(boolean, String...) - Method in class org.javalite.activejdbc.Model
-
Generates a JSON document from content of this model.
- toJsonP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
-
- toLong(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Long
if it can.
- toMap() - Method in class org.javalite.activejdbc.Model
-
Returns all values of the model with all attribute names converted to lower case,
regardless how these names came from DB.
- 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.
- toShort(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Short if it can.
- toSql() - Method in class org.javalite.activejdbc.LazyList
-
- toSql(boolean) - Method in class org.javalite.activejdbc.LazyList
-
Use to see what SQL will be sent to the database.
- toSqlDate(Object) - Static method in class org.javalite.common.Convert
-
Expects a java.sql.Date
, java.sql.Timestamp
, java.sql.Time
, java.util.Date
,
Long
or any object whose toString method has this format: yyyy-mm-dd
.
- toString() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- toString() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- toString() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- toString() - Method in class org.javalite.activejdbc.ColumnMetadata
-
- toString() - Method in class org.javalite.activejdbc.Errors
-
- toString() - Method in class org.javalite.activejdbc.MetaModel
-
- toString() - Method in class org.javalite.activejdbc.Model
-
- toString() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- toString() - Method in class org.javalite.app_config.Property
-
- toString(Object) - Static method in class org.javalite.common.Convert
-
Returns string representation of an object, including
Clob
.
- toTime(Object) - Static method in class org.javalite.common.Convert
-
If the value is instance of java.sql.Time, returns it, else tries to convert java.util.Date or Long to
Time, else tries to convert using
Time.valueOf(String)
.
- toTimestamp(Object) - Static method in class org.javalite.common.Convert
-
If the value is instance of java.sql.Timestamp, returns it, else tries to convert java.util.Date or Long to
Timestamp, else tries to convert using
Timestamp.valueOf(String)
.
- toUpdate() - Method in class org.javalite.activejdbc.Model
-
Generates UPDATE SQL based on this model.
- toUpdate(Dialect) - Method in class org.javalite.activejdbc.Model
-
Generates UPDATE SQL based on this model with the provided dialect.
- toXml(boolean, boolean, String...) - Method in class org.javalite.activejdbc.LazyList
-
Generates a XML document from content of this list.
- toXml(int, boolean, String...) - Method in class org.javalite.activejdbc.LazyList
-
- toXml(boolean, boolean, String...) - Method in class org.javalite.activejdbc.Model
-
Generates a XML document from content of this model.
- toXml(int, boolean, String...) - Method in class org.javalite.activejdbc.Model
-
- toXmlP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
-
- truncateToSqlDate(Object) - Static method in class org.javalite.common.Convert
-
Expects a java.sql.Date
, java.sql.Timestamp
, java.sql.Time
, java.util.Date
,
Long
or string with format "yyyy-MM-dd".
- truncateToSqlDate(long) - Static method in class org.javalite.common.Convert
-
- tryClass(String) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- validate() - Method in class org.javalite.activejdbc.Model
-
Executes all validators attached to this model.
- validate(Model) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.Converter
-
Deprecated.
- validate(Model) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.RangeValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.RegexpValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.UniquenessValidator
-
- validate(Model) - Method in interface org.javalite.activejdbc.validation.Validator
-
- validate() - Method in class org.javalite.db_migrator.MigrationManager
-
Validates whether the database is currently up-to-date.
- validateEmailOf(String) - Static method in class org.javalite.activejdbc.Model
-
Validates email format.
- validateEmailOf(Class<? extends Model>, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- ValidateMojo - Class in org.javalite.db_migrator.maven
-
Validate current schema against available migrations.
- ValidateMojo() - Constructor for class org.javalite.db_migrator.maven.ValidateMojo
-
- validateNumericalityOf(String...) - Static method in class org.javalite.activejdbc.Model
-
- validateNumericalityOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validatePresenceOf(String...) - Static method in class org.javalite.activejdbc.Model
-
The validation will not pass if the value is either an empty string "", or null.
- validatePresenceOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validateRange(String, Number, Number) - Static method in class org.javalite.activejdbc.Model
-
Validates range.
- validateRange(Class<? extends Model>, String, Number, Number) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validateRegexpOf(String, String) - Static method in class org.javalite.activejdbc.Model
-
Validates an attribite format with a ree hand regular expression.
- validateRegexpOf(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validateWith(Validator) - Static method in class org.javalite.activejdbc.Model
-
Add a custom validator to the model.
- validateWith(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- ValidationBuilder<T extends Validator> - Class in org.javalite.activejdbc.validation
-
- ValidationBuilder(List<T>) - Constructor for class org.javalite.activejdbc.validation.ValidationBuilder
-
- ValidationBuilder(T) - Constructor for class org.javalite.activejdbc.validation.ValidationBuilder
-
- ValidationException - Exception in org.javalite.activejdbc.validation
-
- ValidationException(Model) - Constructor for exception org.javalite.activejdbc.validation.ValidationException
-
- ValidationException(String) - Constructor for exception org.javalite.activejdbc.validation.ValidationException
-
- Validator - Interface in org.javalite.activejdbc.validation
-
- ValidatorAdapter - Class in org.javalite.activejdbc.validation
-
Subclass this class to create custom validators.
- ValidatorAdapter() - Constructor for class org.javalite.activejdbc.validation.ValidatorAdapter
-
- validators - Variable in class org.javalite.activejdbc.validation.ValidationBuilder
-
- validatorsOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- valueOf(String) - Static method in enum org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.cache.QueryCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.Registry
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.db_migrator.DatabaseType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.cache.QueryCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.javalite.activejdbc.Errors
-
- values() - Static method in enum org.javalite.activejdbc.Registry
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.javalite.app_config.AppConfig
-
- values() - Static method in enum org.javalite.db_migrator.DatabaseType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERSION_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- VERSION_TABLE - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- VersionColumn - Annotation Type in org.javalite.activejdbc.annotations
-
This annotation is used to override name of a version column for optimistic locking
- VersionStrategy - Class in org.javalite.db_migrator
-
A trivial VersionStrategy which tracks only the minimal information required to note the current state of the database: the current version.
- VersionStrategy() - Constructor for class org.javalite.db_migrator.VersionStrategy
-
- versionTableExists() - Method in class org.javalite.db_migrator.MigrationManager
-
- versionTableExists() - Method in class org.javalite.db_migrator.VersionStrategy
-