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

A

ActiveJdbcFilter - Class in org.javalite.activejdbc.web
This is a filter for opening a connection before and closing connection after servlet.
ActiveJdbcFilter() - Constructor for class org.javalite.activejdbc.web.ActiveJdbcFilter
 
add(T) - Method in class org.javalite.activejdbc.LazyList
 
add(int, T) - Method in class org.javalite.activejdbc.LazyList
 
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) - Method in class org.javalite.activejdbc.LazyList
 
addAll(int, Collection) - Method in class org.javalite.activejdbc.LazyList
 
addAssociation(Association) - Method in class org.javalite.activejdbc.MetaModel
 
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
 
addDateConverter(Class<Model>, String, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. 
addDateConverter(String, String, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
addEmailValidator(Class<Model>, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. 
addEmailValidator(String, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
addError(String, String) - Method in class org.javalite.activejdbc.Model
Adds a new error to the collection of errors.
addItem(String, String, Object[], Object) - Method in class org.javalite.activejdbc.cache.QueryCache
Adds an item to cache.
addListener(Class, CallbackListener) - Method in enum org.javalite.activejdbc.Registry
 
addNumericalityValidators(Class<Model>, String...) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. this method is deprecated and will be removed in future versions. D
addNumericalityValidators(String, String...) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
addPresensevalidators(Class<Model>, String...) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. 
addPresensevalidators(String, String...) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
addQueryTime(long) - Method in class org.javalite.activejdbc.statistics.QueryStats
Whenever this query was executed, add execution time with this method.
addRangevalidator(Class<Model>, String, Number, Number) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. 
addRangevalidator(String, String, Number, Number) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
addRegexpValidator(Class<Model>, String, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. 
addRegexpValidator(String, String, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
addTimestampConverter(Class<Model>, String, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. 
addTimestampConverter(String, String, String) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
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.
addValidator(Class<Model>, Validator) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
Deprecated. 
addValidator(String, Validator) - Static method in class org.javalite.activejdbc.validation.ValidationHelper
 
addValidators(Class<? extends Model>, List<? extends Validator>) - Method in enum org.javalite.activejdbc.Registry
Deprecated. 
addValidators(String, List<? extends Validator>) - Method in enum org.javalite.activejdbc.Registry
 
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
 
afterSave(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
afterSave(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
 
allowNull(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Will ignore validation if set to true.
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.
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
Returns names of all attributes from this model.

B

Base - Class in org.javalite.activejdbc
This class provides a number of convenience methods for opening/closing database connections, running various types of queries, and executing SQL statements.
Base() - Constructor for class org.javalite.activejdbc.Base
 
beforeClosingBrace(boolean, String, StringWriter) - Method in class org.javalite.activejdbc.Model
Override in subclasses in order to inject custom content into Json just before the closing brace.
beforeClosingTag(int, StringWriter, String...) - Method in class org.javalite.activejdbc.Model
Override in a subclass to inject custom content onto XML just before the closing tag.
beforeCreate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeCreate(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
beforeDelete(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeDelete(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
beforeSave(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeSave(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
beforeValidation(T) - Method in class org.javalite.activejdbc.CallbackAdapter
 
beforeValidation(T) - Method in interface org.javalite.activejdbc.CallbackListener
 
BelongsTo - Annotation Type in org.javalite.activejdbc.annotations
 
belongsTo(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
 
BelongsToAssociation - Class in org.javalite.activejdbc.associations
This association indicates that a source table belongs to the target table.
BelongsToAssociation(String, String, String) - Constructor for class org.javalite.activejdbc.associations.BelongsToAssociation
 
BelongsToParents - Annotation Type in org.javalite.activejdbc.annotations
 
BelongsToPolymorphic - Annotation Type in org.javalite.activejdbc.annotations
 
BelongsToPolymorphicAssociation - Class in org.javalite.activejdbc.associations
 
BelongsToPolymorphicAssociation(String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 

C

Cached - Annotation Type in org.javalite.activejdbc.annotations
 
cached() - Method in class org.javalite.activejdbc.MetaModel
 
cacheEnabled() - Method in class org.javalite.activejdbc.Configuration
 
CacheEvent - Class in org.javalite.activejdbc.cache
Event object.
CacheEvent(String, String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
Creates a new event type of CacheEvent.CacheEventType.GROUP.
CacheEvent(String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
Creates a new event type of CacheEvent.CacheEventType.ALL
CacheEvent.CacheEventType - Enum in org.javalite.activejdbc.cache
 
CacheEventListener - Interface in org.javalite.activejdbc.cache
 
CacheManager - Class in org.javalite.activejdbc.cache
Abstract method to be sub-classed by various caching technologies.
CacheManager() - Constructor for class org.javalite.activejdbc.cache.CacheManager
 
cacheManager() - Static method in enum org.javalite.activejdbc.Registry
 
CallbackAdapter<T extends Model> - Class in org.javalite.activejdbc
 
CallbackAdapter() - Constructor for class org.javalite.activejdbc.CallbackAdapter
 
CallbackListener<T extends Model> - Interface in org.javalite.activejdbc
 
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.
classFound(String) - Method in class org.javalite.activejdbc.ModelFinder
 
clear() - Method in class org.javalite.activejdbc.Errors
 
clear() - Method in class org.javalite.activejdbc.LazyList
 
close() - Static method in class org.javalite.activejdbc.Base
Closes connection.
close() - Method in class org.javalite.activejdbc.DB
Closes connection.
closeAllConnections() - Static method in class org.javalite.activejdbc.DB
Closes all current connections.
collect(String) - Method in class org.javalite.activejdbc.LazyList
Collects values from a result set that correspond to a column name.
collect(String, String, Object) - Method in class org.javalite.activejdbc.LazyList
 
collectStatistics() - 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.
Configuration - Class in org.javalite.activejdbc
 
Configuration() - Constructor for class org.javalite.activejdbc.Configuration
 
connection() - Static method in class org.javalite.activejdbc.Base
Returns connection attached to a current thread and names "default".
connection() - Method in class org.javalite.activejdbc.DB
Provides connection from current thread.
ConnectionJdbcSpec - Class in org.javalite.activejdbc
 
ConnectionJdbcSpec(String, String, String, String) - Constructor for class org.javalite.activejdbc.ConnectionJdbcSpec
 
ConnectionJdbcSpec(String, String, Properties) - Constructor for class org.javalite.activejdbc.ConnectionJdbcSpec
 
ConnectionJndiSpec - Class in org.javalite.activejdbc
 
ConnectionJndiSpec(String) - Constructor for class org.javalite.activejdbc.ConnectionJndiSpec
 
ConnectionJndiSpec(InitialContext) - Constructor for class org.javalite.activejdbc.ConnectionJndiSpec
 
connections() - Static method in class org.javalite.activejdbc.DB
Provides connections available on current thread.
ConnectionsAccess - Class in org.javalite.activejdbc
 
ConnectionsAccess() - Constructor for class org.javalite.activejdbc.ConnectionsAccess
 
ConnectionSpec - Interface in org.javalite.activejdbc
Tag interface.
contains(Object) - Method in class org.javalite.activejdbc.LazyList
 
containsAll(Collection) - Method in class org.javalite.activejdbc.LazyList
 
containsKey(Object) - Method in class org.javalite.activejdbc.Errors
 
containsValue(Object) - Method in class org.javalite.activejdbc.Errors
 
convert(Model) - Method in class org.javalite.activejdbc.validation.DateConverter
 
convert(Model) - Method in class org.javalite.activejdbc.validation.TimestampConverter
 
convertDate(String, String) - Static method in class org.javalite.activejdbc.Model
Converts a named attribute to java.sql.Date if possible.
Converter - Class in org.javalite.activejdbc.validation
 
Converter() - Constructor for class org.javalite.activejdbc.validation.Converter
 
convertNullIfEmpty() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Converts an empty string to null before validation.
convertNullIfEmpty(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
convertTimestamp(String, String) - Static method in class org.javalite.activejdbc.Model
Converts a named attribute to java.sql.Timestamp if possible.
copyFrom(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.
copyTo(T) - 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.
create(Object...) - Static method in class org.javalite.activejdbc.Model
This is a convenience method to create a model instance already initialized with values.
createIt(Object...) - Static method in class org.javalite.activejdbc.Model
This is a convenience method to Model.create(Object...).
createParametrizedInsert(MetaModel, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
createParametrizedInsertIdUnmanaged(MetaModel, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 

D

DateConverter - Class in org.javalite.activejdbc.validation
 
DateConverter(String, String) - Constructor for class org.javalite.activejdbc.validation.DateConverter
 
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
 
DefaultDialect - Class in org.javalite.activejdbc.dialects
 
DefaultDialect() - Constructor for class org.javalite.activejdbc.dialects.DefaultDialect
 
defrost() - Method in class org.javalite.activejdbc.Model
Synonym for Model.thaw().
delegate - Variable in class org.javalite.activejdbc.LazyList
 
delete() - Method in class org.javalite.activejdbc.Model
Deletes a single table record represented by this instance.
delete(boolean) - Method in class org.javalite.activejdbc.Model
Convenience method, will call Model.delete() or Model.deleteCascade().
delete(String, Object...) - Static method in class org.javalite.activejdbc.Model
Deletes some records from associated table.
deleteAll() - Static method in class org.javalite.activejdbc.Model
Deletes all records from associated table.
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 assosiations from this action.
deleteCascadeShallow() - Method in class org.javalite.activejdbc.Model
Deletes this record from associated table, as well as its immediate children.
destroy() - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.EHCacheManager
 
doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.OSCacheManager
 
dump() - Method in class org.javalite.activejdbc.LazyList
Dumps contents of this list to System.out.
dump(OutputStream) - Method in class org.javalite.activejdbc.LazyList
Dumps content of list to a stream.

E

EHCacheManager - Class in org.javalite.activejdbc.cache
 
EHCacheManager() - Constructor for class org.javalite.activejdbc.cache.EHCacheManager
 
EmailValidator - Class in org.javalite.activejdbc.validation
 
EmailValidator(String) - Constructor for class org.javalite.activejdbc.validation.EmailValidator
 
enqueue(QueryExecutionEvent) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
 
entrySet() - Method in class org.javalite.activejdbc.Errors
 
equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
equals(Object) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
 
Errors - Class in org.javalite.activejdbc
Collection of error messages generated by validation process.
Errors() - Constructor for class org.javalite.activejdbc.Errors
 
errors - Variable in class org.javalite.activejdbc.Model
 
errors() - Method in class org.javalite.activejdbc.Model
Provides an instance of Errors object, filled with error messages after validation.
errors(Locale) - Method in class org.javalite.activejdbc.Model
Provides an instance of localized Errors object, filled with error messages after validation.
errors() - Method in exception org.javalite.activejdbc.validation.ValidationException
Convenience method, returns the same object with errors that is attached to a model generated this exception.
errors(Locale) - Method in exception org.javalite.activejdbc.validation.ValidationException
Convenience method, returns the same object with errors that is attached to a model generated this exception.
exec(String) - Static method in class org.javalite.activejdbc.Base
Executes DML.
exec(String, Object...) - Static method in class org.javalite.activejdbc.Base
Executes parametrized DML - will contain question marks as placeholders.
exec(String) - Method in class org.javalite.activejdbc.DB
Executes DML.
exec(String, Object...) - Method in class org.javalite.activejdbc.DB
Executes parametrized DML - will contain question marks as placeholders.
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.

F

find(String, Object...) - Static method in class org.javalite.activejdbc.Base
Executes a raw query and returns an instance of RowProcessor.
find(String, RowListener) - Static method in class org.javalite.activejdbc.Base
Executes a raw query and calls instance of RowListener with every row found.
find(String, Object...) - Method in class org.javalite.activejdbc.DB
Executes a raw query and returns an instance of RowProcessor.
find(String, RowListener) - Method in class org.javalite.activejdbc.DB
Executes a raw query and calls instance of RowListener with every row found.
find(String, Object...) - Static method in class org.javalite.activejdbc.Model
Synonym of Model.where(String, Object...)
find(String, ModelListener) - Static method in class org.javalite.activejdbc.Model
Deprecated. use Model.findWith(ModelListener, String, Object...).
findAll(String, Object...) - Static method in class org.javalite.activejdbc.Base
This method returns entire resultset as one list.
findAll(String) - Static method in class org.javalite.activejdbc.Base
This method returns entire resultset as one list.
findAll(String, Object...) - Method in class org.javalite.activejdbc.DB
This method returns entire resultset as one list.
findAll(String) - Method in class org.javalite.activejdbc.DB
This method returns entire resultset as one list.
findAll() - Static method in class org.javalite.activejdbc.Model
This method returns all records from this table.
findById(Object) - Static method in class org.javalite.activejdbc.Model
 
findBySQL(String, Object...) - Static method in class org.javalite.activejdbc.Model
Free form query finder.
findFirst(String, Object...) - Static method in class org.javalite.activejdbc.Model
Synonym of Model.first(String, Object...).
findWith(ModelListener, String, Object...) - Static method in class org.javalite.activejdbc.Model
This method is for processing really large result sets.
first(String, Object...) - Static method in class org.javalite.activejdbc.Model
Returns a first result for this condition.
firstCell(String, Object...) - Static method in class org.javalite.activejdbc.Base
Returns a value of the first column of the first row.
firstCell(String, Object...) - Method in class org.javalite.activejdbc.DB
This method returns a 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 as one list.
flush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
Flash cache.
format(Object) - Method in interface org.javalite.activejdbc.Formatter
 
format(Object) - Method in class org.javalite.activejdbc.SimpleFormatter
 
formatMessage(Locale) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
 
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.DateConverter
 
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.RangeValidator
 
formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.TimestampConverter
 
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 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: SELECT * FROM ( SELECT t2.*, ROWNUM as rn FROM ( SELECT t.* FROM PAGES t WHERE order by id ) t2) WHERE rn >= 20 AND rownum <= 10; Look here for reference: Oracle: ROW_NUMBER vs ROWNUM
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
fromMap(Map) - Method in class org.javalite.activejdbc.Model
Overrides attribute values from input map.
frozen() - Method in class org.javalite.activejdbc.Model
Synonym for Model.isFrozen().
FrozenException - Exception in org.javalite.activejdbc
 
FrozenException(Model) - Constructor for exception org.javalite.activejdbc.FrozenException
 

G

get(Object) - Method in class org.javalite.activejdbc.Errors
Provides a message from a resource bundle activejdbc_messages.
get(Object, Object...) - Method in class org.javalite.activejdbc.Errors
Provides a message from the resource bundle activejdbc_messages which is merged with parameters.
get(int) - Method in class org.javalite.activejdbc.LazyList
 
get(String) - Method in class org.javalite.activejdbc.Model
Returns a value for attribute.
get(Class<T>, String, Object...) - Method in class org.javalite.activejdbc.Model
Provides a list of child models in one to many, many to many and polymorphic associations, but in addition also allows to filter this list by criteria.
getAll(Class<T>) - Method in class org.javalite.activejdbc.Model
This methods supports one to many, many to many relationships as well as polymorphic associations.
getAssociationForTarget(String, Class<? extends Association>) - 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
Finds all attribute names except generated like id, created_at, updated_at and record_version.
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
Converts Model value to BigDecimal
getBoolean(String) - Method in class org.javalite.activejdbc.Model
Returns true if the value is any numeric type and has a value of 1, or if string type has a value of 'y', 't', 'true' or 'yes'.
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 class org.javalite.activejdbc.cache.QueryCache
 
getCacheManager() - Method in class org.javalite.activejdbc.Configuration
 
getColumnMetadata() - Method in class org.javalite.activejdbc.MetaModel
Provides column metadata map, keyed by attribute names.
getColumnName() - Method in class org.javalite.activejdbc.ColumnMetadata
Column name as reported by DBMS driver.
getColumnSize() - Method in class org.javalite.activejdbc.ColumnMetadata
Column size as reported by DBMS driver.
getConfiguration() - Method in enum org.javalite.activejdbc.Registry
 
getConnection() - Method in class org.javalite.activejdbc.DB
Synonym of DB.connection() for people who like getters.
getContext() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
 
getCount() - Method in class org.javalite.activejdbc.Paginator
Total count of records based on provided criteria.
getCount() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getCurrentPage() - Method in class org.javalite.activejdbc.Paginator
Returns index of current page, or -1 if this instance has not produced a page yet.
getCurrrentConnectionNames() - Static method in class org.javalite.activejdbc.DB
Provides a names' list of current connections.
getDataSourceJndiName() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
 
getDate(String) - Method in class org.javalite.activejdbc.Model
Performs a conversion to java.sql.Date if necessary, uses Convert.toSqlDate(Object)
getDbName() - Method in class org.javalite.activejdbc.MetaModel
 
getDbName(Class<? extends Model>) - Static method in class org.javalite.activejdbc.MetaModel
 
getDbType() - Method in class org.javalite.activejdbc.MetaModel
 
getDialect() - Method in class org.javalite.activejdbc.MetaModel
 
getDouble(String) - Method in class org.javalite.activejdbc.Model
Converts Model value to Double
getDriver() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getEdges(String) - Method in class org.javalite.activejdbc.MetaModels
 
getEdges(String) - Method in enum org.javalite.activejdbc.Registry
Returns edges for a join.
getFkName() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
 
getFkName() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
 
getFKName() - Method in class org.javalite.activejdbc.MetaModel
FK name is a foreign key name used in relationships as a foreign key column in a child table (table represented by this instance is a parent table).
getFloat(String) - Method in class org.javalite.activejdbc.Model
Converts Model value to Float
getGroup() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
getId() - Method in class org.javalite.activejdbc.Model
 
getIdGeneratorCode() - Method in class org.javalite.activejdbc.MetaModel
 
getIdName() - Method in class org.javalite.activejdbc.MetaModel
 
getIdName() - Method in class org.javalite.activejdbc.Model
 
getInteger(String) - Method in class org.javalite.activejdbc.Model
Converts Model value to Integer
getItem(String, String, Object[]) - Method in class org.javalite.activejdbc.cache.QueryCache
Returns an item from cache, or null if nothing found.
getJoin() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
getListeners(Class) - Method in enum org.javalite.activejdbc.Registry
 
getLong(String) - Method in class org.javalite.activejdbc.Model
Converts Model value to 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
 
getMetaModelByClassName(String) - Method in enum org.javalite.activejdbc.Registry
Returns MetaModel associated with a model class.
getMetaModelLocal() - Method in class org.javalite.activejdbc.Model
This method should be called from all instance methods for performance.
getMin() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getModelClass() - Method in class org.javalite.activejdbc.MetaModel
 
getModelClass(String, boolean) - Method in enum org.javalite.activejdbc.Registry
Returns model class for a table name, null if not found.
getModelsForDb(String) - Method in class org.javalite.activejdbc.ModelFinder
 
getNext() - Method in class org.javalite.activejdbc.Paginator
Synonym for Paginator.hasNext().
getOneToManyAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
 
getPage(int) - Method in class org.javalite.activejdbc.Paginator
This method will return a list of records for a specific page.
getParentClassName() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
getPassword() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getPassword() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
 
getPolymorphicAssociations(List<Association>) - Method in class org.javalite.activejdbc.MetaModel
 
getPrevious() - Method in class org.javalite.activejdbc.Paginator
Synonym for Paginator.hasPrevious().
getProps() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getQuery() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
 
getQuery() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getReportSortedBy(String) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Produces a report sorted by one of the accepted value.
getSource() - Method in class org.javalite.activejdbc.Association
Returns source table name of this association.
getSource() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
getSourceFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
 
getStatisticsQueue() - Method in enum org.javalite.activejdbc.Registry
 
getString(String) - Method in class org.javalite.activejdbc.Model
Get any value as string.
getTableName() - Method in class org.javalite.activejdbc.MetaModel
 
getTableName() - Static method in class org.javalite.activejdbc.Model
 
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() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
 
getTimestamp(String) - Method in class org.javalite.activejdbc.Model
If the value is instance of java.sql.Timestamp, returns it, else tries to convert the value to Timestamp using Timestamp.valueOf(String).
getTotal() - Method in class org.javalite.activejdbc.statistics.QueryStats
 
getType() - Method in class org.javalite.activejdbc.cache.CacheEvent
 
getTypeLabel() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
 
getTypeLabel() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
getTypeName() - Method in class org.javalite.activejdbc.ColumnMetadata
Column type name as reported by DBMS driver.
getUrl() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getUser() - Method in class org.javalite.activejdbc.ConnectionJdbcSpec
 
getUser() - Method in class org.javalite.activejdbc.ConnectionJndiSpec
 
getValidators(Class<Model>) - Static method in class org.javalite.activejdbc.Model
 
getValidators(String) - Method in enum org.javalite.activejdbc.Registry
 
getValueClass() - Method in interface org.javalite.activejdbc.Formatter
 
getValueClass() - Method in class org.javalite.activejdbc.SimpleFormatter
 
greaterThan(double) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Specify a lower bound for a value, not inclusive.
groupByPattern - Variable in class org.javalite.activejdbc.dialects.DefaultDialect
 

H

H2Dialect - Class in org.javalite.activejdbc.dialects
Supports features of the h2 sql dialect.
H2Dialect() - Constructor for class org.javalite.activejdbc.dialects.H2Dialect
 
hasAssociation(String, Class<? extends Association>) - Method in class org.javalite.activejdbc.MetaModel
 
hasConnection() - Static method in class org.javalite.activejdbc.Base
Use to check if there is a default connection present on current thread.
hasConnection() - Method in class org.javalite.activejdbc.DB
Use to check if there is a connection present on current thread.
hasErrors() - Method in class org.javalite.activejdbc.Model
 
hashCode() - Method in class org.javalite.activejdbc.Association
 
hashCode() - Method in class org.javalite.activejdbc.LazyList
This is only to test caching.
hashCode() - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
 
hasNext() - Method in class org.javalite.activejdbc.Paginator
 
hasPrevious() - Method in class org.javalite.activejdbc.Paginator
 
hydrate() - Method in class org.javalite.activejdbc.LazyList
 
hydrate(Map) - Method in class org.javalite.activejdbc.Model
Hydrates a this instance of model from a map.
hydrate() - Method in class org.javalite.activejdbc.SuperLazyList
 

I

IdGenerator - Annotation Type in org.javalite.activejdbc.annotations
 
IdName - Annotation Type in org.javalite.activejdbc.annotations
 
include(Class<? extends Model>...) - Method in class org.javalite.activejdbc.LazyList
Use this method includes associated objects.
include(Class<? extends Model>...) - Method in class org.javalite.activejdbc.SuperLazyList
 
indexOf(Object) - Method in class org.javalite.activejdbc.LazyList
 
init(FilterConfig) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
 
InitException - Exception in org.javalite.activejdbc
 
InitException() - Constructor for exception org.javalite.activejdbc.InitException
 
InitException(String) - Constructor for exception org.javalite.activejdbc.InitException
 
InitException(String, Throwable) - Constructor for exception org.javalite.activejdbc.InitException
 
InitException(Throwable) - Constructor for exception org.javalite.activejdbc.InitException
 
initialized() - Method in enum org.javalite.activejdbc.Registry
 
insert() - Method in class org.javalite.activejdbc.Model
This method will save a model as new.
instance() - Static method in class org.javalite.activejdbc.cache.QueryCache
This class is a singleton, get an instance with this method.
instance() - Static method in enum org.javalite.activejdbc.Registry
 
InternalException - Exception in org.javalite.activejdbc
This exception is for some severe unexplained things
InternalException(Throwable) - Constructor for exception org.javalite.activejdbc.InternalException
 
InternalException(String) - Constructor for exception org.javalite.activejdbc.InternalException
 
isAssociatedTo(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
Checks if there is association to the target model class.,
isEmpty() - Method in class org.javalite.activejdbc.Errors
 
isEmpty() - Method in class org.javalite.activejdbc.LazyList
 
isFrozen() - Method in class org.javalite.activejdbc.Model
Will return true if this instance is frozen, false otherwise.
isNew() - Method in class org.javalite.activejdbc.Model
returns true if this is a new instance, not saved yet to DB, false otherwise.
isValid() - Method in class org.javalite.activejdbc.Model
This method performs validations and then returns true if no errors were generated, otherwise returns false.
isVersioned() - Method in class org.javalite.activejdbc.MetaModel
Returns true if this model supports optimistic locking, false if not
iterator() - Method in class org.javalite.activejdbc.LazyList
 

K

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

L

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

M

main(String[]) - Static method in class org.javalite.activejdbc.validation.NumericValidator
 
Many2Many - Annotation Type in org.javalite.activejdbc.annotations
Use this annotation to override conventions in cases where they are impossible to follow.
Many2ManyAssociation - Class in org.javalite.activejdbc.associations
 
Many2ManyAssociation(String, String, String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
Many2ManyAssociation(String, String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
 
message(String, Locale, Object...) - Static method in class org.javalite.activejdbc.Messages
Looks for a localized property/message in activejdbc_messages bundle.
message(String, Object...) - Static method in class org.javalite.activejdbc.Messages
Looks for a property/message in activejdbc_messages bundle.
message(String) - Method in class org.javalite.activejdbc.validation.ValidationBuilder
 
Messages - Class in org.javalite.activejdbc
This class is used to pull messages from a resource bundle called activejdbc_messages.
Messages() - Constructor for class org.javalite.activejdbc.Messages
 
MetaModel<T extends Model,E extends Association> - Class in org.javalite.activejdbc
 
MetaModel(String, String, String, Class<T>, String, boolean, String) - Constructor for class org.javalite.activejdbc.MetaModel
 
MetaModels - Class in org.javalite.activejdbc
 
MetaModels() - Constructor for class org.javalite.activejdbc.MetaModels
 
Model - Class in org.javalite.activejdbc
This class is a super class of all "models" and provides most functionality necessary for implementation of Active Record pattern.
Model() - Constructor for class org.javalite.activejdbc.Model
 
ModelFinder - Class in org.javalite.activejdbc
 
ModelFinder() - Constructor for class org.javalite.activejdbc.ModelFinder
 
ModelListener<T extends Model> - Interface in org.javalite.activejdbc
 
MSSQLDialect - Class in org.javalite.activejdbc.dialects
 
MSSQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MSSQLDialect
 
MySQLDialect - Class in org.javalite.activejdbc.dialects
 
MySQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MySQLDialect
 

N

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

O

offset(long) - Method in class org.javalite.activejdbc.LazyList
This method sets an offset of a resultset.
offset(long) - Method in class org.javalite.activejdbc.SuperLazyList
 
OneToManyAssociation - Class in org.javalite.activejdbc.associations
 
OneToManyAssociation(String, String, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
 
OneToManyPolymorphicAssociation - Class in org.javalite.activejdbc.associations
 
OneToManyPolymorphicAssociation(String, String, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
 
onFlush(CacheEvent) - Method in interface org.javalite.activejdbc.cache.CacheEventListener
 
onlyInteger() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
Will invalidate the value if it is not integer.
onModel(T) - Method in interface org.javalite.activejdbc.ModelListener
 
onNext(Map<String, Object>) - Method in class org.javalite.activejdbc.RowListenerAdapter
Called when a new row is encountered.
open(String, String, String, String) - Static method in class org.javalite.activejdbc.Base
Opens a new connection based on JDBC properties and attaches it to a current thread.
open(String, String, Properties) - Static method in class org.javalite.activejdbc.Base
Opens a new connection in case additional driver-specific parameters need to be passed in.
open(String) - Static method in class org.javalite.activejdbc.Base
Opens a connection from JNDI based on a registered name.
open(String, Properties) - Static method in class org.javalite.activejdbc.Base
Opens a new connection from JNDI data source by name using explicit JNDI properties.
open(DataSource) - Static method in class org.javalite.activejdbc.Base
Opens a connection from a datasource.
open(String, String, String, String) - Method in class org.javalite.activejdbc.DB
Opens a new connection based on JDBC properties and attaches it to a current thread.
open(String, String, Properties) - Method in class org.javalite.activejdbc.DB
Opens a new connection in case additional driver-specific parameters need to be passed in.
open(String) - Method in class org.javalite.activejdbc.DB
Opens a connection from JNDI based on a registered name.
open(DataSource) - Method in class org.javalite.activejdbc.DB
Opens a connection from a datasource.
open(String, Properties) - Method in class org.javalite.activejdbc.DB
Opens a new connection from JNDI data source by name using explicit JNDI properties.
open(ConnectionSpec) - Method in class org.javalite.activejdbc.DB
This method is used internally by framework.
openTransaction() - Static method in class org.javalite.activejdbc.Base
Opens local transaction.
openTransaction() - Method in class org.javalite.activejdbc.DB
Opens local transaction.
OracleDialect - Class in org.javalite.activejdbc.dialects
 
OracleDialect() - Constructor for class org.javalite.activejdbc.dialects.OracleDialect
 
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
 
orderByPattern - Variable in class org.javalite.activejdbc.dialects.DefaultDialect
 
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.dialects - package org.javalite.activejdbc.dialects
 
org.javalite.activejdbc.statistics - package org.javalite.activejdbc.statistics
 
org.javalite.activejdbc.validation - package org.javalite.activejdbc.validation
 
org.javalite.activejdbc.web - package org.javalite.activejdbc.web
 
OSCacheManager - Class in org.javalite.activejdbc.cache
 
OSCacheManager() - Constructor for class org.javalite.activejdbc.cache.OSCacheManager
 
overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
TDS converts a number of important data types to String.

P

pageCount() - Method in class org.javalite.activejdbc.Paginator
 
Paginator - Class in org.javalite.activejdbc
This class supports pagination of result sets in ActiveJDBC.
Paginator(Class<? extends Model>, int, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
Paginator is created with parameters to jump to chunks of result sets (pages).
parent(Class<T>) - Method in class org.javalite.activejdbc.Model
Returns parent of this model, assuming that this table represents a child.
PostgreSQLDialect - Class in org.javalite.activejdbc.dialects
 
PostgreSQLDialect() - Constructor for class org.javalite.activejdbc.dialects.PostgreSQLDialect
 
processRS(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
 
purgeCache() - Static method in class org.javalite.activejdbc.Model
Use to force-purge cache associated with this table.
purgeTableCache(String) - Method in class org.javalite.activejdbc.cache.QueryCache
This method purges (removes) all caches associated with a table, if caching is enabled and a corresponding model is marked cached.
put(String, String) - Method in class org.javalite.activejdbc.Errors
 
putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.activejdbc.Errors
 

Q

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

R

RangeValidator - Class in org.javalite.activejdbc.validation
 
RangeValidator(String, Number, Number) - Constructor for class org.javalite.activejdbc.validation.RangeValidator
 
readExternal(ObjectInput) - Method in class org.javalite.activejdbc.Model
 
refresh() - Method in class org.javalite.activejdbc.Model
Re-reads all attribute values from DB.
RegexpValidator - Class in org.javalite.activejdbc.validation
 
RegexpValidator(String, String) - Constructor for class org.javalite.activejdbc.validation.RegexpValidator
 
Registry - Enum in org.javalite.activejdbc
 
remove(Object) - Method in class org.javalite.activejdbc.Errors
 
remove(Object) - Method in class org.javalite.activejdbc.LazyList
 
remove(int) - Method in class org.javalite.activejdbc.LazyList
 
remove(Model) - Method in class org.javalite.activejdbc.Model
Removes associated child from this instance.
removeAll(Collection) - Method in class org.javalite.activejdbc.LazyList
 
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<Model>, Validator) - Method in enum org.javalite.activejdbc.Registry
 
reset() - Method in class org.javalite.activejdbc.Model
Resets all data in this model, including the ID.
reset() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
 
retainAll(Collection) - Method in class org.javalite.activejdbc.LazyList
 
rollbackTransaction() - Static method in class org.javalite.activejdbc.Base
Rolls back local transaction.
rollbackTransaction() - Method in class org.javalite.activejdbc.DB
Rolls back local transaction.
RowListener - Interface in org.javalite.activejdbc
 
RowListenerAdapter - Class in org.javalite.activejdbc
Use this class in cases where you need to process an entire result set.
RowListenerAdapter() - Constructor for class org.javalite.activejdbc.RowListenerAdapter
 
RowProcessor - Class in org.javalite.activejdbc
 
RowProcessor(ResultSet, Statement) - Constructor for class org.javalite.activejdbc.RowProcessor
 
run() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Deprecated. this method is deprecated and blank - does nothing. It will be removed in future versions

S

save() - Method in class org.javalite.activejdbc.Model
This method will save data from this instance to a corresponding table in the DB.
saveIt() - Method in class org.javalite.activejdbc.Model
This method will not exit silently like Model.save(), it instead will throw ValidationException if validations did not pass.
selectStar(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
 
selectStarParametrized(String, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
Produces a parametrized AND query.
set(int, T) - Method in class org.javalite.activejdbc.LazyList
 
set(String[], Object[]) - Method in class org.javalite.activejdbc.Model
Sets values for this model instance.
set(String, Object) - Method in class org.javalite.activejdbc.Model
Sets a value of an attribute.
set(Object...) - Method in class org.javalite.activejdbc.Model
This is a convenience method to set multiple values to a model.
setAllowNull(Boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setBigDecimal(String, Object) - Method in class org.javalite.activejdbc.Model
Converts object to BigDecimal when setting.
setBoolean(String, Object) - Method in class org.javalite.activejdbc.Model
Sets to true if the value is any numeric type and has a value of 1, or if string type has a value of 'y', 't', 'true' or 'yes'.
setCachedParent(Model) - Method in class org.javalite.activejdbc.Model
 
setChildren(Class, List<Model>) - Method in class org.javalite.activejdbc.Model
 
setColumnMetadata(String, Map<String, ColumnMetadata>) - Method in class org.javalite.activejdbc.MetaModels
 
setDate(String, Object) - Method in class org.javalite.activejdbc.Model
Converts to java.sql.Date.
setDouble(String, Object) - Method in class org.javalite.activejdbc.Model
Converts object to Double when setting.
setFloat(String, Object) - Method in class org.javalite.activejdbc.Model
Converts object to Float when setting.
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
Converts object to Integer when setting.
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
Converts object to Long when setting.
setMax(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setMessage(String) - Method in class org.javalite.activejdbc.validation.DateConverter
 
setMessage(String) - Method in class org.javalite.activejdbc.validation.RangeValidator
 
setMessage(String) - Method in class org.javalite.activejdbc.validation.TimestampConverter
 
setMessage(String) - Method in interface org.javalite.activejdbc.validation.Validator
Sets an message on this validator.
setMessage(String) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
 
setMetamodelLocal(MetaModel) - Method in class org.javalite.activejdbc.Model
 
setMin(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setOnlyInteger(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
 
setParent(Model) - Method in class org.javalite.activejdbc.Model
Sets a parent on this instance.
setParents(Model...) - Method in class org.javalite.activejdbc.Model
Sets multiple parents on this instance.
setString(String, Object) - Method in class org.javalite.activejdbc.Model
Converts object to string when setting.
setTimestamp(String, Object) - Method in class org.javalite.activejdbc.Model
Converts object to java.sql.Timestamp when setting.
setTS(String, Date) - Method in class org.javalite.activejdbc.Model
Deprecated. use Model.setTimestamp(String, Object) instead.
SimpleFormatter - Class in org.javalite.activejdbc
 
SimpleFormatter(Class, String, String) - Constructor for class org.javalite.activejdbc.SimpleFormatter
 
size() - Method in class org.javalite.activejdbc.Errors
 
size() - Method in class org.javalite.activejdbc.LazyList
 
StaleModelException - Exception in org.javalite.activejdbc
 
StaleModelException(String) - Constructor for exception org.javalite.activejdbc.StaleModelException
 
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() - Constructor for class org.javalite.activejdbc.statistics.StatisticsQueue
 
stop() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
Shutdowns StatisticsQueue completely, new StatisticsQueue should be created to start gathering statistics again
subList(int, int) - Method in class org.javalite.activejdbc.LazyList
 
SuperLazyList<T extends Model> - Class in org.javalite.activejdbc
The purpose of this class is to provide toMaps() method in cases of eager loading of dependencies.
SuperLazyList() - Constructor for class org.javalite.activejdbc.SuperLazyList
 

T

Table - Annotation Type in org.javalite.activejdbc.annotations
 
tableExists() - Method in class org.javalite.activejdbc.MetaModel
 
thaw() - Method in class org.javalite.activejdbc.Model
Unfreezes this model.
TimestampConverter - Class in org.javalite.activejdbc.validation
 
TimestampConverter(String, String) - Constructor for class org.javalite.activejdbc.validation.TimestampConverter
 
toArray() - Method in class org.javalite.activejdbc.LazyList
 
toArray(T[]) - Method in class org.javalite.activejdbc.LazyList
 
toInsert() - Method in class org.javalite.activejdbc.Model
Generates INSERT SQL based on this model.
toInsert(String, String) - Method in class org.javalite.activejdbc.Model
Generates INSERT SQL based on this model.
toInsert(Formatter...) - Method in class org.javalite.activejdbc.Model
TODO: write good JavaDoc, use code inside method above
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(boolean, String, String...) - Method in class org.javalite.activejdbc.Model
 
toMap() - Method in class org.javalite.activejdbc.Model
Returns all values of the model with all attribute names converted to lower case, regardless how these names came from DB.
toMaps() - Method in class org.javalite.activejdbc.LazyList
Converts the resultset to list of maps, where each map represents a row in the resultset keyed off column names.
toSql() - Method in class org.javalite.activejdbc.LazyList
Same as toSql(true), see LazyList.toSql(boolean);
toSql(boolean) - Method in class org.javalite.activejdbc.LazyList
Use to see what SQL will be sent to the database.
toString() - Method in class org.javalite.activejdbc.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.LazyList
 
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
 
toXml(int, 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.Model
Generates a XML document from content of this model.

U

update(String, String, Object...) - Static method in class org.javalite.activejdbc.Model
Updates records associated with this model.
updateAll(String, Object...) - Static method in class org.javalite.activejdbc.Model
Updates all records associated with this model.

V

validate() - Method in class org.javalite.activejdbc.Model
Executes all validators attached to this model.
validate(Model) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
 
validate(Model) - Method in class org.javalite.activejdbc.validation.Converter
 
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(T) - Method in interface org.javalite.activejdbc.validation.Validator
Called by framework when a Model.validate() method called.
validate(T) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
 
validateEmailOf(String) - Static method in class org.javalite.activejdbc.Model
Validates email format.
validateNumericalityOf(String...) - Static method in class org.javalite.activejdbc.Model
 
validatePresenceOf(String...) - Static method in class org.javalite.activejdbc.Model
The validation will not pass if the value is either an empty string "", or null.
validateRange(String, Number, Number) - Static method in class org.javalite.activejdbc.Model
Validates range.
validateRegexpOf(String, String) - Static method in class org.javalite.activejdbc.Model
Validates an attribite format with a ree hand regular expression.
validateWith(Validator) - Static method in class org.javalite.activejdbc.Model
Add a custom validator to the model.
ValidationBuilder<T extends Validator> - Class in org.javalite.activejdbc.validation
 
ValidationBuilder(List<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
 
ValidationHelper - Class in org.javalite.activejdbc.validation
This is a helper class, only exists to pare down the Model class.
ValidationHelper() - Constructor for class org.javalite.activejdbc.validation.ValidationHelper
 
Validator<T extends Model> - Interface in org.javalite.activejdbc.validation
 
ValidatorAdapter<T extends Model> - 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
 
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.Registry
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.javalite.activejdbc.cache.CacheEvent.CacheEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - 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.

W

where(String, Object...) - Static method in class org.javalite.activejdbc.Model
Finder method for DB queries based on table represented by this model.
with(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
 
writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.Model
 

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

Copyright © 2013. All Rights Reserved.