- accessModel() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- accessModelAt(int) - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- add(int) - Method in class universum.studios.android.database.query.FlagsQuery
-
Specifies a group of flags that should be added into value of the desired column.
- and(Selection) - Method in class universum.studios.android.database.content.Selection
-
- and(String) - Method in class universum.studios.android.database.content.Selection
-
Appends a raw selection into the current selection data as AND SQL condition.
- AnnotatedColumn - Interface in universum.studios.android.database.annotation.handler
-
An AnnotatedColumn represents a wrapper for table column field marked by
Column
annotation.
- AnnotationHandler - Interface in universum.studios.android.database.annotation.handler
-
Base interface for annotation handlers from the Database library that are used to handle processing
of annotations attached to classes derived from base classes provided by this library or to theirs
fields.
- AnnotationHandlers - Class in universum.studios.android.database.annotation.handler
-
Base factory and cache for
AnnotationHandler
instances for a specific classes from the
Database library.
- ANNOTATIONS_PROCESSING_ENABLED - Static variable in class universum.studios.android.database.DatabaseConfig
-
Flag indicating whether the processing of annotations for the Database library is enabled
or not.
- annotationsNotEnabled() - Static method in exception universum.studios.android.database.DatabaseException
-
Creates a new instance of DatabaseException type of
DatabaseException.TYPE_MISCONFIGURATION
with message
saying that annotations are not enabled but functionality that requires annotations to be enabled
has been requested.
- appendBuilder(StringBuilder, String) - Static method in class universum.studios.android.database.query.BaseQuery
-
Appends the specified builder with the specified value.
- appendBuilderSafely(StringBuilder, String) - Static method in class universum.studios.android.database.query.BaseQuery
-
- appendBuilderWithDelimiter(StringBuilder, String, boolean) - Static method in class universum.studios.android.database.query.BaseQuery
-
Appends the specified builder with the specified value with delimiter
(', ') before it, if requested.
- applyBatchOperations(ArrayList<ContentProviderOperation>, int) - Method in class universum.studios.android.database.entity.Entity
-
- applyBatchOperations(ArrayList<ContentProviderOperation>) - Method in class universum.studios.android.database.entity.Entity
-
Applies all the specified operations using ContentResolver.applyBatch(String, ArrayList)
for the authority of this entity.
- argsAsStringArray(int[]) - Static method in class universum.studios.android.database.content.Selection
-
- argsAsStringArray(long[]) - Static method in class universum.studios.android.database.content.Selection
-
- argsAsStringArray(Object...) - Static method in class universum.studios.android.database.content.Selection
-
Converts the specified array of Object
args into array of theirs String
representations using
String.valueOf(Object)
.
- argument(Object) - Method in class universum.studios.android.database.content.Selection
-
- argument(String) - Method in class universum.studios.android.database.content.Selection
-
Appends the given arg value into arguments of this selection.
- arguments(Object...) - Method in class universum.studios.android.database.content.Selection
-
- arguments(String...) - Method in class universum.studios.android.database.content.Selection
-
Appends all the given args values into arguments of this selection.
- arguments() - Method in class universum.studios.android.database.content.Selection
-
Returns the array containing all arguments added into this selection.
- as - Variable in class universum.studios.android.database.content.Projection.Column
-
Name of this column as it should be presented within a queried Cursor.
- as(String) - Method in class universum.studios.android.database.content.Projection.Column
-
Specifies an alias for this column.
- ASC - Static variable in class universum.studios.android.database.content.SortOrder
-
Keyword for ASCENDING sort order type.
- asc() - Static method in class universum.studios.android.database.content.SortOrder
-
- ASC() - Constructor for class universum.studios.android.database.content.SortOrder.ASC
-
Deprecated.
Creates a new instance of ASC sort order.
- asReadable() - Method in class universum.studios.android.database.Database
-
Returns the SQLiteDatabase object managed by this database instance with read permissions.
- assignEntity(Class<? extends DatabaseEntity>) - Method in class universum.studios.android.database.Database
-
Assigns the given classOfEntity to this database.
- asWritable() - Method in class universum.studios.android.database.Database
-
Returns an SQLiteDatabase object managed by this database instance with read and
write permissions.
- attachAdapter(LoadableAdapter<D>) - Method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistant
-
- attachAdapter(LoadableHeadersAdapter<D, H>) - Method in class universum.studios.android.database.adapter.HeadersAdapterLoaderAssistant
-
Attaches a loader adapter of which data set with headers loading should be handled by this
assistant.
- attachAdapter(LoadableAdapter<D>) - Method in interface universum.studios.android.database.adapter.LoaderAdapterAssistant
-
Attaches a loader adapter of which data set loading should be handled by this assistant.
- attachToDatabase(Database) - Method in interface universum.studios.android.database.DatabaseEntity
-
Attaches this database entity to the given database instance.
- attachToDatabase(Database) - Method in class universum.studios.android.database.entity.Entity
-
- attachValueToColumn(AnnotatedColumn, Object, Cursor, int) - Method in class universum.studios.android.database.annotation.handler.ModelCursorProcessor
-
Attaches value obtained from the given cursor for the specified index
to a field hold by the given column.
- Authority - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for determining a name of database authority.
- AUTO - Static variable in class universum.studios.android.database.util.ColumnType
-
Column type determining that a type of column for a specific column field should be resolved
from that field's Java type.
- background() - Static method in class universum.studios.android.database.DatabaseExecutors
-
Returns the executor that should be used for execution of database content related operations
on a background thread.
- BaseAnnotationHandlers - Class in universum.studios.android.database.annotation.handler
-
- BaseCursorAdapter<C extends android.database.Cursor,I,VH> - Class in universum.studios.android.database.adapter
-
Extended version of CursorAdapter
.
- BaseCursorAdapter(Context) - Constructor for class universum.studios.android.database.adapter.BaseCursorAdapter
-
- BaseCursorAdapter(Context, C) - Constructor for class universum.studios.android.database.adapter.BaseCursorAdapter
-
Creates a new instance of BaseCursorAdapter with the given initial cursor
data set.
- BaseCursorDataLoader<D extends DataResult> - Class in universum.studios.android.database.content
-
An AsyncTaskLoader
implementation that may be used to load a specific data structure that
is desired to be created from a database Cursor
.
- BaseCursorDataLoader(Context, CursorLoader) - Constructor for class universum.studios.android.database.content.BaseCursorDataLoader
-
Creates a new instance of BaseCursorLoader with query parameters copied from the given
cursorLoader.
- BaseCursorDataLoader(Context, Uri, String[], String, String[], String) - Constructor for class universum.studios.android.database.content.BaseCursorDataLoader
-
Creates a new instance of BaseCursorLoader with the specified parameters
- BaseCursorWrapper - Class in universum.studios.android.database.cursor
-
A CursorWrapper
implementation that extends API provided by such wrapper so it is even
more easy to implement cursor wrapper for a desired Cursor
without implementing a bunch
of move...(...)
and get...(getColumnIndex(COLUMN_NAME))
methods.
- BaseCursorWrapper(Cursor) - Constructor for class universum.studios.android.database.cursor.BaseCursorWrapper
-
Creates a new instance of BaseCursorWrapper to wrap the given cursor.
- BaseFragmentPagerCursorAdapter<C extends android.database.Cursor,M> - Class in universum.studios.android.database.adapter
-
- BaseFragmentPagerCursorAdapter(FragmentManager) - Constructor for class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- BaseFragmentPagerCursorAdapter(FragmentManager, C) - Constructor for class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
Creates a new instance of BaseFragmentPagerCursorAdapter with the specified fragmentManager
and the given initial cursor data set.
- BaseLoaderAssistant<D> - Class in universum.studios.android.database.content
-
Base implementation of
LoaderAssistant
that may be used to implement loader assistants for
a specific types of results.
- BaseLoaderAssistant(Context, LoaderManager) - Constructor for class universum.studios.android.database.content.BaseLoaderAssistant
-
Creates a new instance of BaseLoaderAssistant for the specified loaderManager.
- BaseLoremIpsumAdapter<VH> - Class in universum.studios.android.database.loremipsum
-
- BaseLoremIpsumAdapter(FragmentActivity) - Constructor for class universum.studios.android.database.loremipsum.BaseLoremIpsumAdapter
-
- BaseLoremIpsumAdapter(FragmentActivity, LoremIpsumCursor) - Constructor for class universum.studios.android.database.loremipsum.BaseLoremIpsumAdapter
-
Creates a new instance of BaseLoremIpsumAdapter with the specified initial cursor.
- BaseLoremIpsumRecyclerAdapter<VH extends androidx.recyclerview.widget.RecyclerView.ViewHolder> - Class in universum.studios.android.database.loremipsum
-
- BaseLoremIpsumRecyclerAdapter(FragmentActivity) - Constructor for class universum.studios.android.database.loremipsum.BaseLoremIpsumRecyclerAdapter
-
- BaseLoremIpsumRecyclerAdapter(FragmentActivity, LoremIpsumCursor) - Constructor for class universum.studios.android.database.loremipsum.BaseLoremIpsumRecyclerAdapter
-
Creates a new instance of BaseLoremIpsumRecyclerAdapter with the specified initial cursor.
- BaseQuery<Q extends BaseQuery> - Class in universum.studios.android.database.query
-
A
Query
implementation that represents a base structure for all query builders.
- BaseQuery() - Constructor for class universum.studios.android.database.query.BaseQuery
-
- BaseRecyclerCursorAdapter<C extends android.database.Cursor,I,VH extends androidx.recyclerview.widget.RecyclerView.ViewHolder> - Class in universum.studios.android.database.adapter
-
An RecyclerView.Adapter
implementation that can present its data set
from an attached Cursor
.
- BaseRecyclerCursorAdapter(Context) - Constructor for class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- BaseRecyclerCursorAdapter(Context, C) - Constructor for class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
Creates a new instance of BaseRecyclerCursorAdapter with the given initial cursor
data set.
- BaseRecyclerCursorAdapter.SimpleViewHolder - Class in universum.studios.android.database.adapter
-
- BaseSpinnerCursorAdapter<C extends android.database.Cursor,I,VH,DVH> - Class in universum.studios.android.database.adapter
-
A
BaseCursorAdapter
implementation that may be used to provide optimized adapter also for
Spinner
widget.
- BaseSpinnerCursorAdapter(Context) - Constructor for class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
- BaseSpinnerCursorAdapter(Context, C) - Constructor for class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Creates a new instance of BaseCursorSpinnerAdapter with the given initial cursor
data
set.
- BaseTransaction<R> - Class in universum.studios.android.database
-
- BaseTransaction() - Constructor for class universum.studios.android.database.BaseTransaction
-
- beginTransaction(int) - Method in class universum.studios.android.database.Database
-
Beings a new transaction for the SQLiteDatabase
managed by this database instance
in the specified mode.
- beginTransaction(int) - Method in class universum.studios.android.database.entity.Entity
-
Beings a new transaction for the SQLiteDatabase
managed by the database instance to
which is this entity attached in the specified mode.
- BIGINT - Static variable in class universum.studios.android.database.util.ColumnType
-
Bigint SQL value type.
- BLOB - Static variable in class universum.studios.android.database.util.ColumnType
-
Blob SQL value type.
- BOOLEAN - Static variable in class universum.studios.android.database.util.ColumnType
-
Boolean SQL value type.
- BOOLEAN - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents boolean data type.
- BOOLEAN_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents boolean array data type.
- build(Context) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Creates a new instance of CursorLoader
for the current parameters of this builder instance.
- build() - Method in class universum.studios.android.database.content.IdSelection
-
Builds a selection statement composed from the primary column name and id/-s specified for
this builder.
- build() - Method in class universum.studios.android.database.content.Projection
-
Builds a projection set composed from all columns specified for this builder.
- build() - Method in class universum.studios.android.database.content.Projection.Column
-
Builds this column into string statement that can be used within a desired projection.
- build() - Method in class universum.studios.android.database.content.Selection
-
Builds a selection statement composed from selection data specified for this builder instance.
- build() - Method in class universum.studios.android.database.content.SortOrder
-
Builds a sort order statement composed from the all columns specified for this sort order
instance.
- build() - Method in class universum.studios.android.database.query.BaseQuery
-
- build() - Method in interface universum.studios.android.database.query.Query
-
Builds the SQLite statement that is specific for this type of query.
- build() - Method in class universum.studios.android.database.util.ColumnType
-
Builds a string representation of this column type which can be used when creating database
table columns.
- build() - Method in class universum.studios.android.database.util.TableColumn
-
Builds this column into formatted valid SQLite column definition statement.
- buildArgs() - Method in class universum.studios.android.database.content.IdSelection
-
- bulkInsert(Uri, ContentValues[]) - Method in class universum.studios.android.database.Database
-
Inserts a new content for the specified content uri as bulk operation.
- bulkInsert(Uri, ContentValues[]) - Method in class universum.studios.android.database.DatabaseProvider
-
- bulkInsert(ContentValues[]) - Method in class universum.studios.android.database.entity.Entity
-
Inserts the given values into database table represented by this entity in a bulk
operation.
- BYTE - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents byte data type.
- BYTE_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents byte array data type.
- cancelLoadInBackground() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- canCreateFromField(Field) - Method in class universum.studios.android.database.util.TableColumn.ColumnCreator
-
Checks whether an instance of
TableColumn
can be created from the given
field or not.
- changeCursor(Cursor) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- changeCursor(Cursor) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- changeCursor(Cursor) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- changeCursor(Cursor) - Method in interface universum.studios.android.database.adapter.CursorDataSetAdapter
-
- changed() - Method in class universum.studios.android.database.query.BaseQuery
-
Returns a boolean flag indicating whether data of this query has changed or not.
- changeLoaderData(int, Cursor) - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- changeLoaderData(int, Cursor) - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- changeLoaderData(int, D) - Method in interface universum.studios.android.database.adapter.LoadableAdapter
-
Changes data of this adapter loaded by a loader with the specified loaderId.
- changeLoaderData(int, Cursor) - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- changeLoaderData(int, Cursor) - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- changeLoaderDataWithHeaders(int, D, H) - Method in interface universum.studios.android.database.adapter.LoadableHeadersAdapter
-
Changes the given data along with headers of this adapter loaded by the
loader with the specified loaderId.
- CHAR - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents char data type.
- CHAR_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents char array data type.
- CHARACTER - Static variable in class universum.studios.android.database.util.ColumnType
-
Character SQL value type.
- checkIfEnabledOrThrow() - Static method in class universum.studios.android.database.annotation.DatabaseAnnotations
-
Performs check for enabled state of the annotations processing for the Database library.
- checkIfEnabledOrThrow(String) - Static method in class universum.studios.android.database.annotation.DatabaseAnnotations
-
Performs check for enabled state of the annotations processing for the Database library.
- clear() - Method in class universum.studios.android.database.content.Selection
-
Clears all selection and arguments data of this selection.
- clear() - Method in class universum.studios.android.database.query.BaseQuery
-
Clears the current data of this query.
- clear() - Method in class universum.studios.android.database.query.CreateQuery
-
- clear() - Method in class universum.studios.android.database.query.FlagsQuery
-
- clear() - Method in class universum.studios.android.database.util.ColumnType
-
Clears this column type.
- clearConstraints() - Method in class universum.studios.android.database.util.TableColumn
-
Clears all constraint specified for this column.
- CLOB - Static variable in class universum.studios.android.database.util.ColumnType
-
Clob SQL value type.
- clone() - Method in interface universum.studios.android.database.model.EntityModel
-
Creates a shallow copy of this model.
- clone() - Method in class universum.studios.android.database.model.SimpleEntityModel
-
Creates a shallow! copy of this model.
- close() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- close() - Method in class universum.studios.android.database.mock.MockCursor
-
Sets the closed flag to true
.
- close() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- Column - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for marking a field that should represent a column within a database table.
- column(Projection.Column) - Method in class universum.studios.android.database.content.Projection
-
- column(String) - Method in class universum.studios.android.database.content.Projection
-
- Column(String) - Constructor for class universum.studios.android.database.content.Projection.Column
-
Creates a new instance of Column with the specified name.
- column(String) - Method in class universum.studios.android.database.content.SortOrder
-
- column(String) - Method in class universum.studios.android.database.query.CreateQuery
-
Appends the specified column into the current columns specified for this query.
- column(String) - Method in class universum.studios.android.database.query.FlagsQuery
-
Specifies a column where to update flags.
- Column.Foreign - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for marking a field that should represent a foreign column within
a database table.
- Column.Joined - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for marking a column field that should be used to bind data from a cursor
that has been obtained from multiple joined tables.
- Column.Primary - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for marking a field that should represent a primary column within
a database table.
- Column.Unique - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for marking a field that should represent a unique column within
a database table.
- COLUMN_NAME - Static variable in annotation type universum.studios.android.database.annotation.Column.Primary
-
Default name for the primary column holding an id within database table.
- ColumnCreator() - Constructor for class universum.studios.android.database.util.TableColumn.ColumnCreator
-
- columns - Variable in class universum.studios.android.database.annotation.handler.ModelProcessor.ProcessorTask
-
Array with columns that are annotated within the specified model.
- columns(String...) - Method in class universum.studios.android.database.content.Projection
-
- columns(String...) - Method in class universum.studios.android.database.content.SortOrder
-
- columns(String...) - Method in class universum.studios.android.database.query.CreateQuery
-
- columns() - Method in class universum.studios.android.database.query.CreateQuery
-
Returns the set of columns specified for this query.
- ColumnType - Class in universum.studios.android.database.util
-
This class specifies all data types that are supported by SQLite database.
- ColumnType.Type - Annotation Type in universum.studios.android.database.util
-
Defines an annotation for determining set of allowed types which can be created via
ColumnType
factory class.
- constraint(Object) - Method in class universum.studios.android.database.util.ColumnType
-
Sets a value of the constraint for this column type.
- constraint() - Method in class universum.studios.android.database.util.ColumnType
-
Returns the current constraint value of this column type.
- constraint(String, Object) - Method in class universum.studios.android.database.util.TableColumn
-
- constraint(String) - Method in class universum.studios.android.database.util.TableColumn
-
Appends the specified constraint into the current constraints of this column.
- CONSTRAINT_AUTOINCREMENT - Static variable in class universum.studios.android.database.util.TableColumn
-
Autoincrement constraint key word.
- CONSTRAINT_CHECK - Static variable in class universum.studios.android.database.util.TableColumn
-
Check constraint key word format.
- CONSTRAINT_COLLATE - Static variable in class universum.studios.android.database.util.TableColumn
-
Collate constraint key word format.
- CONSTRAINT_DEFAULT - Static variable in class universum.studios.android.database.util.TableColumn
-
Default constraint key word string based format.
- CONSTRAINT_DEFAULT_INT - Static variable in class universum.studios.android.database.util.TableColumn
-
Default constraint key word integer based format.
- CONSTRAINT_NOT_NULL - Static variable in class universum.studios.android.database.util.TableColumn
-
Not null constraint key word.
- CONSTRAINT_PRIMARY_KEY - Static variable in class universum.studios.android.database.util.TableColumn
-
Primary key constraint key word.
- CONSTRAINT_UNIQUE - Static variable in class universum.studios.android.database.util.TableColumn
-
Unique constraint key word.
- constraints(String...) - Method in class universum.studios.android.database.util.TableColumn
-
Appends the specified constraints into the current constraints of this column.
- constraints() - Method in class universum.studios.android.database.util.TableColumn
-
Returns the current list of constraints of this column.
- CONTENT - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The content for the LoremIpsum.
- CONTENT_URI_FORMAT - Static variable in class universum.studios.android.database.Database
-
Format used to create content Uri for a database table/entity.
- contentResolver() - Static method in class universum.studios.android.database.entity.EntityContentOperationDispatchers
-
Returns instance of DatabaseEntity.ContentOperationDispatcher
implementation that
dispatches all content related operations to the passed entity using ContentResolver
via one of its corresponding methods.
- contentValues - Variable in class universum.studios.android.database.annotation.handler.ModelContentValuesProcessor.ValuesTask
-
ContentValues object into which should be inserted values obtained form the annotated columns.
- contentValuesProcessor() - Static method in class universum.studios.android.database.annotation.handler.ModelProcessors
-
Returns an instance of default ContentValuesProcessor implementation.
- copyStringToBuffer(int, CharArrayBuffer) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- copyStringToBuffer(int, CharArrayBuffer) - Method in class universum.studios.android.database.mock.MockCursor
-
Does nothing.
- correctCursorPosition(int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Corrects the given cursor position according to the current data set size to ensure
that the attached cursor will be moved to the correct position.
- correctCursorPosition(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
Corrects the given cursor position according to the current data set size to ensure
that the attached cursor will be moved to the correct position.
- correctCursorPosition(int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
Corrects the given cursor position according to the current data set size to ensure
that the attached cursor will be moved to the correct position.
- count() - Method in class universum.studios.android.database.entity.Entity
-
Returns the count of all rows stored within database table represented by this entity.
- create(Class<? extends EntityModel>) - Static method in class universum.studios.android.database.content.ModelProjection
-
Creates a projection set of column names specified by the given classOfModel.
- create() - Static method in class universum.studios.android.database.cursor.EmptyCursor
-
Creates a new instance of EmptyCursor without any column names nor row data.
- create(Context) - Method in class universum.studios.android.database.Database
-
Performs creation of this database instance, its database tables according to the assigned
entities.
- CREATE_TABLE_FORMAT - Static variable in class universum.studios.android.database.query.CreateQuery
-
Format for CREATE TABLE ... SQL statement.
- CREATE_TABLE_IF_NOT_EXISTS_FORMAT - Static variable in class universum.studios.android.database.query.CreateQuery
-
Format for CREATE TABLE IF NOT EXISTS ... SQL statement.
- createAssertModelOperation(M) - Method in class universum.studios.android.database.entity.ModelEntity
-
- createAssertModelsOperations(List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
Builds a set of ASSERT operations for the specified models.
- createAssertOperation(ContentValues, String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
- createContentUri(String, String) - Static method in class universum.studios.android.database.Database
-
- createDeleteModelOperation(M) - Method in class universum.studios.android.database.entity.ModelEntity
-
- createDeleteModelsOperation(List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
- createDeleteOperation(long[]) - Method in class universum.studios.android.database.entity.Entity
-
- createDeleteOperation(long) - Method in class universum.studios.android.database.entity.Entity
-
- createDeleteOperation(String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
- createDropContentOperation() - Method in class universum.studios.android.database.entity.Entity
-
Builds a new DELETE operation intended to delete a whole content within database table
represented by this entity.
- createForActivity(FragmentActivity) - Static method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistants
-
- createForContext(Context, LoaderManager) - Static method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistants
-
Creates a new loader adapter assistant which may be attached to a desired loader adapter which
will use the assistant in order to load its data set.
- createForFragment(Fragment) - Static method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistants
-
- createFromField(Field) - Method in class universum.studios.android.database.util.TableColumn.ColumnCreator
-
Creates a new instance of TableColumn from the given columnField with configuration
processed from column relevant annotations attached to that field.
- createHeadersLoader(int, Bundle) - Method in interface universum.studios.android.database.adapter.LoadableHeadersAdapter
-
Creates the loader for the requested loaderId that should load the desired data
with headers.
- createIfNull(Cursor) - Static method in class universum.studios.android.database.cursor.EmptyCursor
-
Creates a new instance of EmptyCursor if the given cursor is null
.
- createInsertModelOperation(M) - Method in class universum.studios.android.database.entity.ModelEntity
-
- createInsertModelsOperations(List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
Builds a set of INSERT operations for the specified models.
- createInsertOperation(ContentValues) - Method in class universum.studios.android.database.entity.Entity
-
- createInsertOperations(ContentValues[]) - Method in class universum.studios.android.database.entity.Entity
-
Builds a set of INSERT operations for the specified mContentValues.
- createLoader(int, Bundle) - Method in interface universum.studios.android.database.adapter.LoadableAdapter
-
Creates a loader for the requested loaderId responsible for data loading of this
adapter.
- createLoader(Context, Uri) - Static method in class universum.studios.android.database.content.CursorLoaderFactory
-
Creates a new instance of CursorLoader
for the specified parameters.
- createLoader(Context, Uri, String[], String, String[], String) - Static method in class universum.studios.android.database.content.CursorLoaderFactory
-
Creates a new instance of CursorLoader
for the specified parameters.
- createLoader(int, Bundle) - Method in class universum.studios.android.database.loremipsum.BaseLoremIpsumAdapter
-
- createLoader(int, Bundle) - Method in class universum.studios.android.database.loremipsum.BaseLoremIpsumRecyclerAdapter
-
- createMimeType(String, String, String) - Static method in class universum.studios.android.database.Database
-
- createModel() - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles instantiation of a new instance for this handler related entity model from the model
class for which is this handler created.
- createModel(Cursor) - Method in interface universum.studios.android.database.model.EntityModel.CursorFactory
-
Creates and binds a new model instance with data obtained from the given cursor
at its current position.
- createModel() - Method in interface universum.studios.android.database.model.EntityModel.Factory
-
Creates a new instance of EntityModel type of specific for this factory.
- CreateQuery - Class in universum.studios.android.database.query
-
A
BaseQuery
implementation that can be used to build a valid SQLite
CREATE TABLE
statement.
- CreateQuery() - Constructor for class universum.studios.android.database.query.CreateQuery
-
- createReference(String, String) - Static method in class universum.studios.android.database.util.TableColumn
-
- createSelection() - Method in interface universum.studios.android.database.model.EntityModel
-
Creates a selection that may be used to target a row in database table where are stored values
for this model instance.
- createSelection() - Method in class universum.studios.android.database.model.SimpleEntityModel
-
- createsInitialContent() - Method in interface universum.studios.android.database.DatabaseEntity
-
Returns flag indicating whether this database entity requires insertion of initial content
when its table is being for the first time created.
- createsInitialContent(int, int) - Method in interface universum.studios.android.database.DatabaseEntity
-
Returns flag indicating whether this database entity requires insertion of initial content
when its table is being for the first time created on database upgrade.
- createsInitialContent() - Method in class universum.studios.android.database.entity.Entity
-
- createsInitialContent(int, int) - Method in class universum.studios.android.database.entity.Entity
-
- createsInitialContent() - Method in class universum.studios.android.database.loremipsum.LoremIpsumEntity
-
- createsOnStartup() - Method in class universum.studios.android.database.Database
-
Returns boolean flag indicating whether an SQLite database for this database will be created
on application's start up.
- createUpdateModelOperation(M) - Method in class universum.studios.android.database.entity.ModelEntity
-
- createUpdateModelsOperations(List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
Builds a set of UPDATE operations for the specified models.
- createUpdateOperation(ContentValues, String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
- CREATOR - Static variable in class universum.studios.android.database.loremipsum.LoremIpsum
-
Creator used to create an instance or array of instances of LoremIpsum from Parcel
.
- currentViewType() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Returns the type of an item's view for the currently iterated position.
- cursor - Variable in class universum.studios.android.database.annotation.handler.ModelCursorProcessor.CursorTask
-
Cursor from which to bind its data to the model.
- CursorAdapterAnnotationHandler - Interface in universum.studios.android.database.annotation.handler
-
An
AnnotationHandler
extended interface for annotation handlers from the Database library
that are used to handle processing of annotations attached to classes like
BaseCursorAdapter
provided by this library.
- CursorAdapterAnnotationHandlers - Class in universum.studios.android.database.annotation.handler
-
- CursorDataSet<C extends android.database.Cursor,I> - Interface in universum.studios.android.database.adapter
-
Interface specifying API for data sets that provide theirs data from an attached Cursor
.
- CursorDataSetAdapter<C extends android.database.Cursor,I> - Interface in universum.studios.android.database.adapter
-
A convenience interface specifying common API for adapters that hold a Cursor
as theirs
data set.
- CursorDropDownView - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for determining a resource id of the layout that should be inflated as
drop down view for CursorSpinnerAdapter.
- CursorItemView - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for determining a resource id of the layout that should be inflated as
item view for CursorAdapter.
- CursorLoaderAdapter<C extends android.database.Cursor,M,VH> - Class in universum.studios.android.database.adapter
-
A
BaseCursorAdapter
implementation that supports loading of its Cursor data set using
Loaders that are build in the Android framework.
- CursorLoaderAdapter(FragmentActivity) - Constructor for class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- CursorLoaderAdapter(Context, LoaderAdapterAssistant<Cursor>) - Constructor for class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- CursorLoaderAdapter(Context, LoaderAdapterAssistant<Cursor>, C) - Constructor for class universum.studios.android.database.adapter.CursorLoaderAdapter
-
Creates a new instance of CursorLoaderAdapter with the given initial cursor
data set.
- CursorLoaderBuilder - Class in universum.studios.android.database.content
-
A CursorLoaderBuilder may be used to build an instance of CursorLoader
.
- CursorLoaderBuilder(Uri) - Constructor for class universum.studios.android.database.content.CursorLoaderBuilder
-
Creates a new instance of LoaderBuilder for the specified uri.
- CursorLoaderFactory - Class in universum.studios.android.database.content
-
A CursorLoaderFactory is an utility class that may be used directly to create instances of
CursorLoaders
or as base for factory that creates these loaders for an
Android application.
- CursorLoaderFactory() - Constructor for class universum.studios.android.database.content.CursorLoaderFactory
-
Creates a new empty instance of CursorLoaderFactory.
- cursorProcessor() - Static method in class universum.studios.android.database.annotation.handler.ModelProcessors
-
Returns an instance of default CursorProcessor implementation.
- CursorTask() - Constructor for class universum.studios.android.database.annotation.handler.ModelCursorProcessor.CursorTask
-
- CursorUtils - Class in universum.studios.android.database.cursor
-
Utility class that may be used for safe obtaining of values provided by a specific cursor via
column names associated with the desired values.
- CursorViewHolder - Class in universum.studios.android.database.adapter
-
- CursorViewHolder(View) - Constructor for class universum.studios.android.database.adapter.CursorViewHolder
-
Creates a new instance of CursorViewHolder for the given itemView.
- data - Variable in class universum.studios.android.database.content.HeadersResult
-
Data specified for this result.
- Database - Class in universum.studios.android.database
-
Database class represents an abstraction/wrapper for SQLite database.
- Database(int, String) - Constructor for class universum.studios.android.database.Database
-
Creates a new Database with the specified version and name.
- DatabaseAnnotationHandler - Interface in universum.studios.android.database.annotation.handler
-
An
AnnotationHandler
extended interface for annotation handlers from the Database library
that are used to handle processing of annotations attached to classes derived from
Database
class provided by this library.
- DatabaseAnnotations - Class in universum.studios.android.database.annotation
-
Annotation utils for the Database library.
- DatabaseAnnotations.FieldProcessor - Interface in universum.studios.android.database.annotation
-
- DatabaseConfig - Class in universum.studios.android.database
-
Configuration options for the Database library.
- DatabaseEntities - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for determining a set of classes of database entities.
- DatabaseEntity - Interface in universum.studios.android.database
-
- DatabaseEntity.ContentOperationDispatcher - Interface in universum.studios.android.database
-
Interface for dispatcher that may be used by implementations of
DatabaseEntity
to handle
dispatching of database content related operations like
CREATE, UPDATE, QUERY, ...
.
- DatabaseException - Exception in universum.studios.android.database
-
An exception that is used across the Database library to inform about any misconfiguration or about
missing annotations that are required for proper working of parts of an Android application that
depend on the Database library.
- DatabaseExecutors - Class in universum.studios.android.database
-
Simple utility class which provides executors that are used by the Database library to execute
database content related operations on a background thread.
- DatabaseProvider - Class in universum.studios.android.database
-
A
ContentProvider
implementation that is required to be used in association with
Database
.
- DatabaseProvider() - Constructor for class universum.studios.android.database.DatabaseProvider
-
Creates a new instance of DatabaseProvider.
- DatabaseProvider(String) - Constructor for class universum.studios.android.database.DatabaseProvider
-
Creates a new instance of DatabaseProvider with the specified authority.
- DatabaseTransaction<R,D extends Database> - Class in universum.studios.android.database
-
A
BaseTransaction
implementation that may be used to centralize a specific database
transaction logic (select, insert, update, delete, or theirs combination) into one place to allow
re-use of such logic and also to lighten execution of such queries from within Android application.
- DatabaseTransaction(Class<D>) - Constructor for class universum.studios.android.database.DatabaseTransaction
-
Creates a new instance of DatabaseTransaction for database with the specified classOfDatabase
- DataHeaders<D> - Interface in universum.studios.android.database.content
-
An interface for headers that may be created for a specific data set.
- DataLoaderAdapterAssistant<D> - Class in universum.studios.android.database.adapter
-
- DataLoaderAdapterAssistant(Context, LoaderManager) - Constructor for class universum.studios.android.database.adapter.DataLoaderAdapterAssistant
-
Creates a new instance of DataLoaderAdapterAssistant to be used for data loading for an instance
of
LoadableAdapter
.
- DataLoaderAdapterAssistants - Class in universum.studios.android.database.adapter
-
- DataResult - Interface in universum.studios.android.database.content
-
An interface that is required for all data results that may be loaded via Android framework's
loaders.
- DATE - Static variable in class universum.studios.android.database.util.ColumnType
-
Date SQL value type.
- DATE_CREATED - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The date of creation for the LoremIpsum.
- DATE_MODIFIED - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The date of modification for the LoremIpsum.
- DATETIME - Static variable in class universum.studios.android.database.util.ColumnType
-
Datetime SQL value type.
- deactivate() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- deactivate() - Method in class universum.studios.android.database.mock.MockCursor
-
Does nothing.
- DEBUG_LOG_ENABLED - Static variable in class universum.studios.android.database.DatabaseConfig
-
Flag indicating whether the debug output for the Database library trough log-cat is
enabled or not.
- DECIMAL - Static variable in class universum.studios.android.database.util.ColumnType
-
Decimal SQL value type.
- defaultValue(Object) - Method in class universum.studios.android.database.util.TableColumn
-
Sets a default value for this column.
- defaultValue() - Method in class universum.studios.android.database.util.TableColumn
-
Returns the default value of this column.
- delete(Uri, String, String[]) - Method in class universum.studios.android.database.Database
-
Deletes an existing content for the specified content uri.
- delete(Uri, String, String[]) - Method in class universum.studios.android.database.DatabaseProvider
-
- delete(long[]) - Method in class universum.studios.android.database.entity.Entity
-
Deletes all rows with the specified ids stored within database table represented
by this entity.
- delete(long) - Method in class universum.studios.android.database.entity.Entity
-
Deletes a row with the specified id stored within database table represented by
this entity.
- delete(String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
Deletes a row targeted by the specified selection + selectionArgs stored
within database table represented by this entity.
- deleteModel(M) - Method in class universum.studios.android.database.entity.ModelEntity
-
- deleteModels(List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
- deliverResult(D) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- DESC - Static variable in class universum.studios.android.database.content.SortOrder
-
Keyword for DESCENDING sort order type.
- desc() - Static method in class universum.studios.android.database.content.SortOrder
-
- DESC() - Constructor for class universum.studios.android.database.content.SortOrder.DESC
-
Deprecated.
Creates a new instance of DESC sort order.
- describeContents() - Method in class universum.studios.android.database.model.SimpleEntityModel
-
- DESCRIPTION - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The description for the LoremIpsum.
- destroyLoader() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- destroyLoader() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- destroyLoader() - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
- destroyLoader() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- destroyLoader() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- destroyLoader(int) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- destroyLoader(int) - Method in interface universum.studios.android.database.content.LoaderAssistant
-
Destroys a loader with the specified loaderId via the associated LoaderManager's
destroyLoader(int)
.
- dispatchBulkInsert(DatabaseEntity, ContentValues[]) - Method in interface universum.studios.android.database.DatabaseEntity.ContentOperationDispatcher
-
Called to perform bulk insert of the given content values set into the table
represented by this database entity.
- dispatchBulkInsert(SQLiteDatabase, ContentValues[]) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to perform bulk insert of the given content values set into the table
represented by this database entity.
- dispatchBulkInsert(SQLiteDatabase, ContentValues[]) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchCreate(SQLiteDatabase) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to create the table and its structure represented by this database entity.
- dispatchCreate(SQLiteDatabase) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchCreateInitialContent(SQLiteDatabase) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to insert an initial content into the table represented by this database entity.
- dispatchCreateInitialContent(SQLiteDatabase, int, int) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to insert an initial content into the table represented by this database entity.
- dispatchCreateInitialContent(SQLiteDatabase) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchCreateInitialContent(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchDelete(DatabaseEntity, String, String[]) - Method in interface universum.studios.android.database.DatabaseEntity.ContentOperationDispatcher
-
Called to delete all rows targeted by the given selection + selectionArgs
from the table represented by this database entity.
- dispatchDelete(SQLiteDatabase, String, String[]) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to delete all rows targeted by the given selection + selectionArgs
from the table represented by this database entity.
- dispatchDelete(SQLiteDatabase, String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchDowngrade(SQLiteDatabase, int, int) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to downgrade the table structure represented by this database entity.
- dispatchDowngrade(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchInsert(DatabaseEntity, ContentValues) - Method in interface universum.studios.android.database.DatabaseEntity.ContentOperationDispatcher
-
Called to insert the given content values into the table represented by this
database entity.
- dispatchInsert(SQLiteDatabase, ContentValues) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to insert the given content values into the table represented by this
database entity.
- dispatchInsert(SQLiteDatabase, ContentValues) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchQuery(DatabaseEntity, String[], String, String[], String) - Method in interface universum.studios.android.database.DatabaseEntity.ContentOperationDispatcher
-
Called to query a content of the table represented by this database entity.
- dispatchQuery(SQLiteDatabase, String[], String, String[], String) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to query a content of the table represented by this database entity.
- dispatchQuery(SQLiteDatabase, String[], String, String[], String) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchUpdate(DatabaseEntity, ContentValues, String, String[]) - Method in interface universum.studios.android.database.DatabaseEntity.ContentOperationDispatcher
-
Called to update all rows targeted by the given selection + selectionArgs
within the table represented by this database entity.
- dispatchUpdate(SQLiteDatabase, ContentValues, String, String[]) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to update all rows targeted by the given selection + selectionArgs
within the table represented by this database entity.
- dispatchUpdate(SQLiteDatabase, ContentValues, String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchUpgrade(SQLiteDatabase, int, int) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to upgrade a table structure represented by this database entity.
- dispatchUpgrade(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- dispatchUpgradeContent(SQLiteDatabase, int, int) - Method in interface universum.studios.android.database.DatabaseEntity
-
Called to upgrade a content of the table represented by this database entity.
- dispatchUpgradeContent(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- DOUBLE - Static variable in class universum.studios.android.database.util.ColumnType
-
Double SQL value type.
- DOUBLE - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents double data type.
- DOUBLE_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents double array data type.
- DOUBLE_PRECISION - Static variable in class universum.studios.android.database.util.ColumnType
-
Double precision SQL value type.
- dropContent() - Method in class universum.studios.android.database.entity.Entity
-
- dump(String, FileDescriptor, PrintWriter, String[]) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- EMPTY_ARGUMENTS - Static variable in interface universum.studios.android.database.adapter.LoadableAdapter
-
Empty arguments for loader.
- EMPTY_ARGUMENTS - Static variable in interface universum.studios.android.database.adapter.LoadableHeadersAdapter
-
Empty arguments for loader.
- EMPTY_ARGUMENTS - Static variable in interface universum.studios.android.database.content.LoaderAssistant
-
Empty arguments for loader.
- EMPTY_SELECTION - Static variable in interface universum.studios.android.database.model.EntityModel
-
- EmptyCursor - Class in universum.studios.android.database.cursor
-
A MatrixCursor
implementation which may be used to create instance of Cursor
without any data.
- endTransaction() - Method in class universum.studios.android.database.Database
-
- endTransaction(boolean) - Method in class universum.studios.android.database.entity.Entity
-
- ensureDatabaseCreated(Context, String, String) - Static method in class universum.studios.android.database.DatabaseProvider
-
Ensures that database for
DatabaseProvider
with the specified
authority is
created.
- Entity - Class in universum.studios.android.database.entity
-
An Entity that is implementation of
DatabaseEntity
is intended to represent one table within
a database.
- Entity() - Constructor for class universum.studios.android.database.entity.Entity
-
Same as
Entity.Entity(String)
where entity name will be obtained from the attached annotation
or created automatically from this entity's class name.
- Entity(String) - Constructor for class universum.studios.android.database.entity.Entity
-
Creates a new instance of database Entity with the specified name that is used as
name for database table represented by this entity.
- Entity(String, String) - Constructor for class universum.studios.android.database.entity.Entity
-
Creates a new instance of database Entity with the specified name and primaryColumnName.
- entity() - Static method in class universum.studios.android.database.entity.EntityContentOperationDispatchers
-
Returns instance of DatabaseEntity.ContentOperationDispatcher
implementation that
dispatches all content related operations directly to the passed entity via one of its
corresponding dispatch methods.
- Entity.Lock - Class in universum.studios.android.database.entity
-
A simple object used to lock a specific functionality of database
Entity
.
- EntityAnnotationHandler - Interface in universum.studios.android.database.annotation.handler
-
An
AnnotationHandler
extended interface for annotation handlers from the Database library
that are used to handle processing of annotations attached to classes derived from the
Entity
class provided by this library.
- EntityAnnotationHandlers - Class in universum.studios.android.database.annotation.handler
-
- EntityContentOperationDispatchers - Class in universum.studios.android.database.entity
-
Factory that provides implementations of ContentOperationDispatchers
.
- EntityModel - Interface in universum.studios.android.database.model
-
Interface that specifies API for objects that are used to represent models for a specific data
structures.
- EntityModel.CursorFactory<M extends EntityModel> - Interface in universum.studios.android.database.model
-
A
EntityModel.Factory
extension that may be used for factories that should provide creation of
entity model with a data bound from the provided
Cursor
.
- EntityModel.Factory<M extends EntityModel> - Interface in universum.studios.android.database.model
-
Interface for factories that may be used to create a specific instance of
EntityModel
.
- EntityModel.PoolFactory<M extends EntityModel> - Class in universum.studios.android.database.model
-
A
EntityModel.Factory
implementation that may be used to implement a model factory backed with
Pool pattern that supports re-using of recycled models.
- EntityModel.Selection - Interface in universum.studios.android.database.model
-
Simple interface that provides access to selection statement along with its corresponding
arguments for a specific instance of
EntityModel
.
- EntityModelAnnotationHandler<M extends EntityModel> - Interface in universum.studios.android.database.annotation.handler
-
An
AnnotationHandler
extended interface for annotation handlers from the Database library
that are used to handle processing of annotations attached to classes derived from the
EntityModel
interface provided by this library.
- EntityModelAnnotationHandler.ContentValuesProcessor - Interface in universum.studios.android.database.annotation.handler
-
Interface for entity model processor that is used to transform data of a specific EntityModel
instance into ContentValues
object.
- EntityModelAnnotationHandler.CursorProcessor - Interface in universum.studios.android.database.annotation.handler
-
Interface for entity model processor that is used to bind data of a specific EntityModel
instance from database Cursor
.
- EntityModelAnnotationHandler.ParcelProcessor - Interface in universum.studios.android.database.annotation.handler
-
Interface for entity model processor that is used to bind and write data of a specific EntityModel
instance from/into Parcel
.
- EntityModelAnnotationHandlers - Class in universum.studios.android.database.annotation.handler
-
- EntityModelArrayList<M extends EntityModel> - Class in universum.studios.android.database.model
-
- EntityModelArrayList() - Constructor for class universum.studios.android.database.model.EntityModelArrayList
-
Creates a new instance of EntityModelArrayList with no data.
- EntityModelArrayList(int) - Constructor for class universum.studios.android.database.model.EntityModelArrayList
-
Creates a new instance of EntityModelArrayList with the initial data capacity.
- EntityModelArrayList(Collection<? extends M>) - Constructor for class universum.studios.android.database.model.EntityModelArrayList
-
Creates a new instance fo EntityModelArrayList with the contents of the given collection.
- EntityModelCollections - Class in universum.studios.android.database.model
-
Utility class that may be used to create collections of
EntityModels
.
- EntityModelCursorAnnotationHandler<M extends EntityModel> - Interface in universum.studios.android.database.annotation.handler
-
An
AnnotationHandler
extended interface for annotation handlers from the Database library
that are used to handle processing of annotations attached to classes derived from
Cursor
class which uses entity model to provide theirs data structure.
- EntityModelCursorWrapper<M extends EntityModel> - Class in universum.studios.android.database.model
-
A
BaseCursorWrapper
implementation that can be used in cooperation with
EntityModel
instance that is used by this type of cursor wrapper to present its current data set via its specific
model instance.
- EntityModelCursorWrapper(Cursor) - Constructor for class universum.studios.android.database.model.EntityModelCursorWrapper
-
Creates a new instance of EntityModelCursorWrapper.
- EntityModelCursorWrapper(Cursor, M) - Constructor for class universum.studios.android.database.model.EntityModelCursorWrapper
-
Creates a new instance of EntityModelCursorWrapper to wrap the given cursor of
which data will be presented by the specified model.
- EntityModelList<M extends EntityModel> - Interface in universum.studios.android.database.model
-
An extended
List
interface that may be used for list implementations containing re-usable
entity models.
- EntityName - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for determining a name for a specific entity.
- EntityTransaction<R,E extends DatabaseEntity,D extends Database> - Class in universum.studios.android.database.entity
-
A
BaseTransaction
implementation that can be used to centralize a specific entity transaction
logic (query, update, insert, delete, ..., or theirs combination) into one place to allow re-use
of such logic and also to lighten execution of such queries from within Android application.
- EntityTransaction(Class<E>, Class<D>) - Constructor for class universum.studios.android.database.entity.EntityTransaction
-
Creates a new instance of DatabaseEntityTransaction for the specified classOfEntity.
- ENUM - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents enum data type.
- ENUM_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents enum array data type.
- equals(Object) - Method in class universum.studios.android.database.content.SortOrder
-
- equals(Object) - Method in class universum.studios.android.database.util.ColumnType
-
- exception(String) - Static method in exception universum.studios.android.database.DatabaseException
-
- exception(String, Throwable) - Static method in exception universum.studios.android.database.DatabaseException
-
- exception(Exception) - Static method in exception universum.studios.android.database.DatabaseException
-
- EXCLUSIVE - Static variable in interface universum.studios.android.database.Transaction
-
Mode that may be used to begin transaction in exclusive mode.
- execute() - Method in class universum.studios.android.database.BaseTransaction
-
- execute() - Method in interface universum.studios.android.database.Transaction
-
Executes this transaction.
- executeAsync() - Method in class universum.studios.android.database.BaseTransaction
-
- executeAsync() - Method in class universum.studios.android.database.DatabaseTransaction
-
- executeAsync() - Method in class universum.studios.android.database.entity.EntityTransaction
-
- executeQuery(Query) - Method in class universum.studios.android.database.Database
-
Executes the specified query upon this database via SQLiteDatabase.execSQL(String)
.
- executeRawQuery(Query) - Method in class universum.studios.android.database.Database
-
Executes the specified query upon this database via SQLiteDatabase.rawQuery(String, String[])
.
- EXECUTOR - Static variable in interface universum.studios.android.database.Transaction
-
Executor that may be used to execute database transactions on a background one at a time.
- exists(long) - Method in class universum.studios.android.database.entity.Entity
-
Checks whether a row with the specified id exists within database table represented
by this entity.
- exists(String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
Checks whether a row targeted by the specified selection + selectionArgs
exists within database table represented by this entity.
- generate() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
- generate(long) - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a new instance of LoremIpsum model with generated random data.
- generateContent() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
- generateDate(long, long) - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a date from the specified range.
- generateDescription() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
- generateEditable() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a boolean flag value of true
with minimum 20% probability.
- generateEmpty() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a boolean flag value of true
with minimum 0% probability.
- generateEnabled() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a boolean flag value of true
with minimum 40% probability.
- generateName() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a text with minimum 1 and maximum 2 words.
- generateNote() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a text with minimum 5 and maximum 15 words.
- generateSize() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
- generateTitle() - Static method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Generates a text with minimum 2 and maximum 5 words.
- getAdapterPosition() - Method in class universum.studios.android.database.adapter.CursorViewHolder
-
Returns the current position of this holder instance.
- getAnnotatedClass() - Method in interface universum.studios.android.database.annotation.handler.AnnotationHandler
-
Returns the class for which has been this handler created.
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Returns handler that is responsible for annotations processing of this class and also for
handling all annotations related operations for this class.
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
Returns handler that is responsible for annotations processing of this class and also for
handling all annotations related operations for this class.
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
Returns handler that is responsible for annotations processing of this class and also for
handling all annotations related operations for this class.
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- getAnnotationHandler() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- getAnnotationHandler() - Method in class universum.studios.android.database.Database
-
Returns handler that is responsible for annotations processing of this class and also for
handling all annotations related operations for this class.
- getAnnotationHandler() - Method in class universum.studios.android.database.entity.Entity
-
Returns handler that is responsible for annotations processing of this class and also for
handling all annotations related operations for this class.
- getAnnotationHandler() - Method in class universum.studios.android.database.entity.ModelEntity
-
- getAnnotationHandler() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
Returns handler that is responsible for annotations processing of this class and also for
handling all annotations related operations for this class.
- getAnnotationHandler() - Method in class universum.studios.android.database.model.SimpleEntityModel
-
Returns handler that is responsible for annotations processing of this class and also for
handling all annotations related operations for this class.
- getArguments() - Method in interface universum.studios.android.database.model.EntityModel.Selection
-
Returns arguments for this selection.
- getArguments() - Method in class universum.studios.android.database.model.SimpleEntityModelSelection
-
- getAssignedEntities() - Method in class universum.studios.android.database.Database
-
Returns the array containing all entity classes assigned to this database instance.
- getAttachedAdapter() - Method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistant
-
- getAttachedAdapter() - Method in class universum.studios.android.database.adapter.HeadersAdapterLoaderAssistant
-
Returns the adapter that is currently attached to this assistant.
- getAttachedAdapter() - Method in interface universum.studios.android.database.adapter.LoaderAdapterAssistant
-
Returns the adapter that is currently attached to this assistant.
- getAuthority() - Method in class universum.studios.android.database.Database
-
Returns the authority of database provider to which is this database attached.
- getAuthority() - Method in class universum.studios.android.database.DatabaseProvider
-
Returns authority of this database provider.
- getBlob(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getBlob(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns empty byte array.
- getBoolean(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getColumnCount() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getColumnCount() - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns 0
.
- getColumnIndex(String) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getColumnIndex(String) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns -1
.
- getColumnIndexOrThrow(String) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getColumnIndexOrThrow(String) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns -1
.
- getColumnName(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getColumnName(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns empty name.
- getColumnNames() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getColumnNames() - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns empty String array.
- getColumns() - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Returns all annotated columns for this handler related entity model class that are marked by
@Column
annotation.
- getContent() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the content of this lorem ipsum model.
- getContentResolver() - Method in class universum.studios.android.database.Database
-
Returns the content resolver accessible from the application context.
- getContentUri() - Method in interface universum.studios.android.database.DatabaseEntity
-
Returns the uri of the content of this database entity.
- getContentUri() - Method in class universum.studios.android.database.entity.Entity
-
- getContext() - Method in class universum.studios.android.database.Database
-
Returns the application context attached to this database during its creation.
- getCount() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- getCount() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- getCount() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getCount() - Method in class universum.studios.android.database.mock.MockCursor
-
Returns the count passed to constructor of this MockCursor.
- getCursor() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- getCursor() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- getCursor() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- getCursor() - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Returns the current cursor attached to this data set.
- getCursor() - Method in interface universum.studios.android.database.adapter.CursorDataSetAdapter
-
- getCursorAt(int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- getCursorAt(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- getCursorAt(int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- getCursorAt(int) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Like
CursorDataSet.getCursor()
but this implementation will also move the current cursor to the
requested position (if possible).
- getDatabase() - Method in interface universum.studios.android.database.DatabaseEntity
-
Returns the database to which is this database entity attached.
- getDatabase() - Method in class universum.studios.android.database.DatabaseProvider
-
Returns the database of this provider attached during its creation.
- getDatabase() - Method in class universum.studios.android.database.entity.Entity
-
- getDateCreated() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the date when this lorem ipsum model has been created.
- getDateModified() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the date when this lorem ipsum model has been modified.
- getDescription() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the description of this lorem ipsum model.
- getDouble(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getDouble(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getDouble(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns 0
.
- getDropDownView(int, View, ViewGroup) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
- getDropDownViewRes(int) - Method in interface universum.studios.android.database.annotation.handler.SpinnerCursorAdapterAnnotationHandler
-
Returns the drop down view layout resource obtained from
@CursorDropDownView
annotation (if presented).
- getEntities() - Method in interface universum.studios.android.database.annotation.handler.DatabaseAnnotationHandler
-
Returns the array with database entity classes obtained from
@DatabaseEntities
annotation (if presented).
- getEntityName(String) - Method in interface universum.studios.android.database.annotation.handler.EntityAnnotationHandler
-
Returns the name obtained from
@EntityName
annotation (if presented).
- getExecutor() - Method in class universum.studios.android.database.BaseTransaction
-
Returns the executor specified for this transaction to be used for asynchronous execution.
- getExtras() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getExtras() - Method in class universum.studios.android.database.mock.MockCursor
-
- getField() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns the field that is marked by
Column
annotation to represent a table column.
- getFloat(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getFloat(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getFloat(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns 0
.
- getId() - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
Returns id of the row for the current cursor position.
- getId() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the id of this lorem ipsum model.
- getInitialContentSize() - Method in class universum.studios.android.database.loremipsum.LoremIpsumEntity
-
Returns the count of
LoremIpsum
models that has been/will be inserted as initial content
of this entity.
- getInt(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getInt(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getInt(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns 0
.
- getIntBoolean(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getItem(int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- getItem(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- getItem(int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- getItem(int) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Returns the item (model) containing data from this data set for the specified position.
- getItem() - Method in interface universum.studios.android.database.cursor.ItemCursor
-
Returns a single item containing data for the current position of this cursor.
- getItem() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- getItemCount() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- getItemCount() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- getItemCount() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- getItemCount() - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Returns the count of items available within this data set.
- getItemId(int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- getItemId(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- getItemId(int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- getItemId(int) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Returns the stable ID of the item at the specified position.
- getItemModel(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
Returns the item (model) containing data from the attached cursor data set for the specified
position.
- getItemViewRes(int) - Method in interface universum.studios.android.database.annotation.handler.CursorAdapterAnnotationHandler
-
Returns the item view layout resource obtained from
@CursorItemView
annotation (if presented).
- getLoader() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- getLoader() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- getLoader() - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
- getLoader() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- getLoader() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- getLoader(int) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- getLoader(int) - Method in interface universum.studios.android.database.content.LoaderAssistant
-
Returns a loader with the specified loaderId via the associated LoaderManager's
getLoader(int)
.
- getLoaderArguments() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
Returns the arguments for this adapter's loader.
- getLoaderArguments() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
Returns the arguments for this adapter's loader.
- getLoaderArguments() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
Returns the arguments for this adapter's loader.
- getLoaderArguments() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
Returns the arguments for this adapter's loader.
- getLoaderAssistant() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
Returns the loader assistant used by this adapter to load its data set.
- getLoaderAssistant() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
Returns the loader assistant used by this adapter to load its data set.
- getLoaderAssistant() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
Returns the loader assistant used by this adapter to load its data set.
- getLoaderAssistant() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
Returns the loader assistant used by this adapter to load its data set.
- getLoaderId() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- getLoaderId() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- getLoaderId() - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
Returns the id of the loader that is used to load data set of this adapter.
- getLoaderId() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- getLoaderId() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- getLoaderId(int) - Method in interface universum.studios.android.database.annotation.handler.LoadableAnnotationHandler
-
Returns the loader id obtained from
@LoaderId
annotation (if presented).
- getLocale() - Method in class universum.studios.android.database.Database
-
Returns the locale of this database.
- getLong(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getLong(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getLong(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns 0
.
- getMimeType() - Method in interface universum.studios.android.database.DatabaseEntity
-
Returns the Mime type of the content of this database entity.
- getMimeType() - Method in class universum.studios.android.database.entity.Entity
-
- getMode() - Method in class universum.studios.android.database.BaseTransaction
-
Returns the mode specified for this transaction.
- getModel() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
Returns copy of the associated model.
- getModelAt(int) - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
Returns copy of the associated model with data for the requested cursor position.
- getModelClass() - Method in interface universum.studios.android.database.annotation.handler.ModelEntityAnnotationHandler
-
Returns the model class obtained from
@Model
annotation (if presented).
- getModelClass() - Method in class universum.studios.android.database.entity.ModelEntity
-
Returns class of the model associated with this entity.
- getName() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns the name of this column that can be used to build a create column statement.
- getName() - Method in class universum.studios.android.database.Database
-
Returns the name of this database.
- getName() - Method in interface universum.studios.android.database.DatabaseEntity
-
Returns the name of this database entity.
- getName() - Method in class universum.studios.android.database.entity.Entity
-
- getName() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the name of this lorem ipsum model.
- getNote() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the note of this lorem ipsum model.
- getNotificationUri() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getNotificationUri() - Method in class universum.studios.android.database.entity.Entity
-
Returns the uri used to notify content changes of this entity.
- getNotificationUri() - Method in class universum.studios.android.database.mock.MockCursor
-
- getPoolCapacity() - Method in class universum.studios.android.database.model.EntityModel.PoolFactory
-
Returns the capacity of this factory's model instances pool.
- getPoolSize() - Method in class universum.studios.android.database.model.EntityModel.PoolFactory
-
Returns the size of this factory's model instances pool.
- getPosition() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getPosition() - Method in class universum.studios.android.database.mock.MockCursor
-
- getPrimaryColumnName() - Method in class universum.studios.android.database.entity.Entity
-
Returns the primary column name specified for this entity.
- getProjection() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Returns the array with column names to be projected by query result of this loader.
- getSelectedItem() - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Returns the item model of this adapter for the current selected position.
- getSelectedItemId() - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Returns the id of the currently selected item.
- getSelectedItemPosition() - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Returns the position of the currently selected item.
- getSelection() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Returns the selection statement specified for this loader.
- getSelectionArguments() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Returns the array with arguments for selection statement specified for this loader.
- getShort(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getShort(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getShort(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns 0
.
- getSize() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the size of this lorem ipsum.
- getSortOrder() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Returns the sort order statement specified for this loader.
- getString(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
- getString(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getString(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns empty string.
- getTitle() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the title of this lorem ipsum model.
- getType() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns the type of this column that can be used to build a create column statement.
- getType(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getType(Uri) - Method in class universum.studios.android.database.Database
-
Returns the Mime type of a content stored for the specified content uri.
- getType() - Method in exception universum.studios.android.database.DatabaseException
-
Returns a type of this exception.
- getType(Uri) - Method in class universum.studios.android.database.DatabaseProvider
-
- getType(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns Cursor.FIELD_TYPE_NULL
.
- getUri() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Returns the content Uri specified for this loader.
- getUri() - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Returns the content Uri specified for this builder during its initialization.
- getValue() - Method in interface universum.studios.android.database.model.EntityModel.Selection
-
Returns value (SQLite selection statement) of this model selection.
- getValue() - Method in class universum.studios.android.database.model.SimpleEntityModelSelection
-
- getVersion() - Method in class universum.studios.android.database.Database
-
Returns the current version of this database.
- getView(int, View, ViewGroup) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- getView(int, View, ViewGroup) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
- getWantsAllOnMoveCalls() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- getWantsAllOnMoveCalls() - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns false
.
- groupAnd(Selection) - Method in class universum.studios.android.database.content.Selection
-
- groupAnd(String) - Method in class universum.studios.android.database.content.Selection
-
Same as
Selection.and(String)
where the given
selection will be appended as one group
enclosed with
(...) brackets.
- groupOr(Selection) - Method in class universum.studios.android.database.content.Selection
-
- groupOr(String) - Method in class universum.studios.android.database.content.Selection
-
Same as
Selection.or(String)
where the given
selection will be appended as one group
enclosed with
(...) brackets.
- groupSelection(Selection) - Method in class universum.studios.android.database.content.Selection
-
- groupSelection(String) - Method in class universum.studios.android.database.content.Selection
-
- handleCreate(ModelEntity, SQLiteDatabase) - Method in interface universum.studios.android.database.annotation.handler.ModelEntityAnnotationHandler
-
Handles creation process of a table within the given SQLite db for the specified
entity.
- handleCreateModel() - Method in interface universum.studios.android.database.annotation.handler.EntityModelCursorAnnotationHandler
-
Handles creation of an entity model instance specific for the cursor for which is this handler
created.
- handleCreateModel() - Method in interface universum.studios.android.database.annotation.handler.ModelEntityAnnotationHandler
-
Handles creation of a model instance specific for the model entity for which is this handler
created.
- handleCreateProjection() - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles creation of a projection for this handler related entity model class.
- handleCreateSelection(Object) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles creation of a selection targeting a single or multiple row/-s within a database table
for the specified model.
- handleFromCursor(Object, Cursor) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles processing of data for the specified model from the given cursor.
- handleFromParcel(Object, Parcel) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles processing of data for the specified model from the given source
parcel.
- handleRecycle(Object) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles recycling of data of the given model.
- handleToContentValues(Object) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles processing of current data of the specified model into ContentValues
object.
- handleUpgrade(ModelEntity, SQLiteDatabase, int, int) - Method in interface universum.studios.android.database.annotation.handler.ModelEntityAnnotationHandler
-
Handles upgrade process of an existing table within the given SQLite db for the
specified entity according to the specified database versions.
- handleWriteToParcel(Object, Parcel, int) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Handles processing of current data of the specified model into the given destination
parcel.
- hasArguments() - Method in class universum.studios.android.database.content.Selection
-
Checks whether this selection has some arguments specified or not.
- hasConstraint(String) - Method in class universum.studios.android.database.util.TableColumn
-
Checks whether the specified constraint has been specified for this column or not.
- hashCode() - Method in class universum.studios.android.database.content.SortOrder
-
- hashCode() - Method in class universum.studios.android.database.util.ColumnType
-
- hasItemAt(int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- hasItemAt(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- hasItemAt(int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- hasItemAt(int) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Returns a boolean flag indicating whether this data set has item that can provide data for the
specified position or not.
- hasStableIds() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- hasStableIds() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- hasStableIds() - Method in interface universum.studios.android.database.adapter.CursorDataSetAdapter
-
Returns a boolean flag indicating whether the data set of this adapter has stable ids or not.
- headers - Variable in class universum.studios.android.database.content.HeadersResult
-
Headers specified for this result.
- HeadersAdapterLoaderAssistant<D,H extends DataHeaders<D>> - Class in universum.studios.android.database.adapter
-
- HeadersAdapterLoaderAssistant(Context, LoaderManager) - Constructor for class universum.studios.android.database.adapter.HeadersAdapterLoaderAssistant
-
Creates a new instance of HeadersAdapterLoaderAssistant to be used for
Cursor
+
Headers data loading for an instance of
LoadableHeadersAdapter
.
- HeadersCursorLoader<H extends DataHeaders<android.database.Cursor>> - Class in universum.studios.android.database.content
-
A
BaseCursorDataLoader
implementation that may be used to load a
Cursor
data that
need to be presented in the application's UI along with set of
headers.
- HeadersCursorLoader(Context, CursorLoader) - Constructor for class universum.studios.android.database.content.HeadersCursorLoader
-
Creates a new instance of HeadersCursorLoader with query parameters copied from the given
cursorLoader.
- HeadersCursorLoader(Context, Uri, String[], String, String[], String) - Constructor for class universum.studios.android.database.content.HeadersCursorLoader
-
Creates a new instance of HeadersCursorLoader with the specified parameters
- HeadersResult<D,H extends DataHeaders<D>> - Class in universum.studios.android.database.content
-
- HeadersResult(D, H) - Constructor for class universum.studios.android.database.content.HeadersResult
-
Creates a new instance of HeadersResult with the given data and headers.
- ID - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The id for the LoremIpsum.
- ids() - Method in class universum.studios.android.database.entity.Entity
-
Returns an array with ids of all rows stored within database table represented by this entity.
- IdSelection - Class in universum.studios.android.database.content
-
Like
Selection
but this builder is meant to be used for building of selection statement
for a desired set of primary
ids.
- IdSelection(String) - Constructor for class universum.studios.android.database.content.IdSelection
-
Creates a new instance of IdSelection to build selection for the specified column.
- IMMEDIATE - Static variable in interface universum.studios.android.database.Transaction
-
Mode that may be used to begin transaction in immediate mode.
- in(String, int[]) - Static method in class universum.studios.android.database.content.Selection
-
- in(String, long[]) - Static method in class universum.studios.android.database.content.Selection
-
- in(String, Object...) - Static method in class universum.studios.android.database.content.Selection
-
Creates a column_name IN(value, value, ...)
statement for the specified columnName
and given values.
- indexOfColumn(Cursor, String) - Static method in class universum.studios.android.database.annotation.handler.ModelCursorProcessor
-
Returns index of the specified columnName within the specified cursor.
- inflate(int, ViewGroup) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Inflates a new view hierarchy from the given xml resource.
- inflate(int, ViewGroup) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
Inflates a new view hierarchy from the given xml resource.
- inflateDropDownView(ViewGroup) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
- inflateItemView(ViewGroup) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- inflateItemView(ViewGroup) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- inFormat(String, int) - Static method in class universum.studios.android.database.content.Selection
-
Creates a format for column_name IN(...)
statement
- initLoader() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- initLoader() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- initLoader() - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
- initLoader() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- initLoader() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- initLoader(int, Bundle) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- initLoader(int, Bundle) - Method in interface universum.studios.android.database.content.LoaderAssistant
-
Initializes a loader with the specified loaderId via the associated LoaderManager's
initLoader(int, Bundle, LoaderManager.LoaderCallbacks)
.
- InMemoryDatabase - Class in universum.studios.android.database
-
A
Database
implementation that can be used to store data
in memory.
- InMemoryDatabase() - Constructor for class universum.studios.android.database.InMemoryDatabase
-
Creates a new InMemoryDatabase that can be used to store data temporarily in memory.
- insert(Uri, ContentValues) - Method in class universum.studios.android.database.Database
-
Inserts a new content for the specified content uri.
- insert(Uri, ContentValues) - Method in class universum.studios.android.database.DatabaseProvider
-
- insert(ContentValues) - Method in class universum.studios.android.database.entity.Entity
-
Inserts the given values into database table represented by this entity.
- insertInitialContent(SQLiteDatabase, ContentValues[]) - Method in class universum.studios.android.database.entity.Entity
-
Inserts the specified content values into the given db as initial content
of this entity.
- insertInitialModels(SQLiteDatabase, List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
Inserts the specified models into the given db as initial content of
this entity.
- insertModel(M) - Method in class universum.studios.android.database.entity.ModelEntity
-
- insertModels(List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
- instantiation(String, Class<?>, Throwable) - Static method in exception universum.studios.android.database.DatabaseException
-
- instantiation(String, Class<?>, Throwable, String) - Static method in exception universum.studios.android.database.DatabaseException
-
- INT - Static variable in class universum.studios.android.database.util.ColumnType
-
Int SQL value type.
- INT2 - Static variable in class universum.studios.android.database.util.ColumnType
-
Int2 SQL value type.
- INT8 - Static variable in class universum.studios.android.database.util.ColumnType
-
Int8 SQL value type.
- INTEGER - Static variable in class universum.studios.android.database.util.ColumnType
-
Integer SQL value type.
- INTEGER - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents integer data type.
- INTEGER_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents integer array data type.
- INVALID_COLUMN_INDEX - Static variable in class universum.studios.android.database.cursor.CursorUtils
-
Constant used to determine invalid column index obtained via Cursor.getColumnIndex(String)
.
- isAfterLast() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- isAfterLast() - Method in class universum.studios.android.database.mock.MockCursor
-
- isAttachedToDatabase() - Method in interface universum.studios.android.database.DatabaseEntity
-
Checks whether this database entity is attached to database or not.
- isAttachedToDatabase() - Method in class universum.studios.android.database.entity.Entity
-
- isAttachedToProvider() - Method in class universum.studios.android.database.Database
-
Checks whether this database is attached to database provider or not.
- isAutoInsertOnUpdateEnabled() - Method in class universum.studios.android.database.entity.Entity
-
Returns the flag indicating whether the INSERT operation should be performed instead of
requested update operation if such operation fails.
- isBeforeFirst() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- isBeforeFirst() - Method in class universum.studios.android.database.mock.MockCursor
-
- isClosed() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- isClosed() - Method in class universum.studios.android.database.mock.MockCursor
-
- isColumnProjected(String) - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
Checks whether a column with the specified columnName is included in the projection
of the wrapped cursor.
- isContentChangeNotificationEnabled() - Method in class universum.studios.android.database.entity.Entity
-
Returns the flag indicating whether the data change notification is enabled or not.
- isCreated() - Method in class universum.studios.android.database.Database
-
Returns a boolean flag indicating whether this database instance has been already created or not.
- isCursorAvailable() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- isCursorAvailable() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- isCursorAvailable() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- isCursorAvailable() - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Checks whether the cursor attached to this data set is available or not.
- isDBCreated() - Method in class universum.studios.android.database.Database
-
Unlike
Database.isCreated()
this method returns boolean flag indicating whether an SQLite
database file for this database instance is already created or not.
- isDeprecated() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns a boolean flag indicating whether this column is deprecated.
- isEditable() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the boolean flag indicating whether this lorem ipsum is editable or not.
- isEmpty() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- isEmpty() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- isEmpty() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- isEmpty() - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Returns a boolean flag indicating whether this data set is empty or not.
- isEmpty() - Method in class universum.studios.android.database.content.Selection
-
Checks whether this builder contains some selection data or not.
- isEmpty() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the boolean flag indicating whether this lorem ipsum is empty or not.
- isEnabled(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
This implementation by default returns true
.
- isEnabled(int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
This implementation by default returns true
.
- isEnabled(int) - Method in interface universum.studios.android.database.adapter.CursorDataSetAdapter
-
Returns a boolean flag indicating whether an item at the specified position is
enabled or not.
- isEnabled() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
Returns the boolean flag indicating whether this lorem ipsum is enabled or not.
- isEntityAssigned(Uri) - Method in class universum.studios.android.database.Database
-
Checks whether this database instance has a database entity with the specified entityUri
assigned or not.
- isEntityAssigned(Class<? extends DatabaseEntity>) - Method in class universum.studios.android.database.Database
-
Checks whether this database instance has a database entity with the specified classOfEntity
assigned or not.
- isExecutable() - Method in class universum.studios.android.database.query.BaseQuery
-
- isExecutable() - Method in class universum.studios.android.database.query.CreateQuery
-
- isExecutable() - Method in class universum.studios.android.database.query.FlagsQuery
-
- isExecutable() - Method in interface universum.studios.android.database.query.Query
-
Checks whether this query (its SQLite statement) is executable or not.
- isFieldValueNull(Field, Object) - Static method in class universum.studios.android.database.annotation.handler.ModelContentValuesProcessor
-
Checks whether the given field holds some value or null
instead.
- isFirst() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- isFirst() - Method in class universum.studios.android.database.mock.MockCursor
-
- isForeign() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns a boolean flag indicating whether this column represents a foreign key or not.
- isForeignKey() - Method in class universum.studios.android.database.util.TableColumn
-
Returns a boolean flag indicating whether this column represents a foreign key or not.
- isJoined() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns a boolean flag indicating whether this column should be treated as joined.
- isLast() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- isLast() - Method in class universum.studios.android.database.mock.MockCursor
-
- isNull(int) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- isNull(int) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns true
.
- isNullable() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns a boolean flag indicating whether a null value can be inserted into table column
represented by this column.
- isPoolEmpty() - Method in class universum.studios.android.database.model.EntityModel.PoolFactory
-
Checks whether this factory's model instances pool is empty or not.
- isPrimary() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns a boolean flag indicating whether this column represents a primary key or not.
- isPrimaryKey() - Method in class universum.studios.android.database.util.TableColumn
-
Return a boolean flag indicating whether this column represents a primary key or not.
- isReleased() - Method in class universum.studios.android.database.entity.Entity.Lock
-
Checks whether this lock is already released or not.
- isUnique() - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns a boolean flag indicating whether this column represents a unique key or not.
- isUniqueKey() - Method in class universum.studios.android.database.util.TableColumn
-
Return a boolean flag indicating whether this column represents a unique key or not.
- ItemCursor<I> - Interface in universum.studios.android.database.cursor
-
Interface for cursors that can provide theirs data via an item model.
- itemView - Variable in class universum.studios.android.database.adapter.CursorViewHolder
-
View with which has been this holder created.
- iterateFields(DatabaseAnnotations.FieldProcessor, Class<?>, Class<?>) - Static method in class universum.studios.android.database.annotation.DatabaseAnnotations
-
Iterates all declared fields of the given ofClass.
- name - Variable in class universum.studios.android.database.content.Projection.Column
-
Name of this column as it is presented within database table.
- NAME - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The name for the LoremIpsum.
- NAME - Static variable in class universum.studios.android.database.loremipsum.LoremIpsumEntity
-
Name of the lorem ipsum database table.
- name() - Method in class universum.studios.android.database.util.ColumnType
-
Returns the name of this column type.
- name() - Method in class universum.studios.android.database.util.TableColumn
-
Returns the name of this column.
- nameOfType(int) - Static method in class universum.studios.android.database.util.ColumnType
-
Returns a name of the requested type specified within this class as it should be
used when creating a database table column of such type.
- NATIVE_CHARACTER - Static variable in class universum.studios.android.database.util.ColumnType
-
Native character SQL value type.
- NCHAR - Static variable in class universum.studios.android.database.util.ColumnType
-
Nchar SQL value type.
- NO_COLUMN_INDEX - Static variable in class universum.studios.android.database.cursor.EmptyCursor
-
Constant that identifies invalid/unspecified column index.
- NO_COLUMN_NAME - Static variable in class universum.studios.android.database.cursor.EmptyCursor
-
Constant that identifies invalid/unspecified column name.
- NO_ID - Static variable in interface universum.studios.android.database.adapter.CursorDataSet
-
Constant that identifies invalid/unspecified id.
- NO_ID - Static variable in interface universum.studios.android.database.model.EntityModel
-
Constant that identifies invalid/unspecified id.
- NO_LOADER_ID - Static variable in interface universum.studios.android.database.adapter.LoadableAdapter
-
Constant used to identify unspecified loader id.
- NO_LOADER_ID - Static variable in interface universum.studios.android.database.annotation.handler.LoadableAnnotationHandler
-
Constant used to determine that no loader id has been specified via
@LoaderId
annotation.
- NO_LOADER_ID - Static variable in interface universum.studios.android.database.content.LoaderAssistant
-
Constant used to identify unspecified loader id.
- NO_POSITION - Static variable in interface universum.studios.android.database.adapter.CursorDataSet
-
Constant that identifies invalid/unspecified position.
- NO_POSITION - Static variable in class universum.studios.android.database.cursor.BaseCursorWrapper
-
Constant used to identify no position.
- NO_POSITION - Static variable in class universum.studios.android.database.cursor.EmptyCursor
-
Constant that identifies invalid/unspecified position.
- NO_ROWS - Static variable in class universum.studios.android.database.Database
-
Constant used to identify that no rows has been affected by the executed content operation.
- NO_ROWS - Static variable in interface universum.studios.android.database.DatabaseEntity
-
Constant used to identify that no rows has been affected by the executed content operation.
- NO_VIEW_RES - Static variable in interface universum.studios.android.database.annotation.handler.CursorAdapterAnnotationHandler
-
Constant used to determine that no item view resource has been specified via
@CursorItemView
annotation.
- NONE - Static variable in interface universum.studios.android.database.Transaction
-
Constant that may be used to not execute transaction in any mode.
- NOTE - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The note for the LoremIpsum.
- notifyContentChanged() - Method in class universum.studios.android.database.entity.Entity
-
Notifies all registered ContentObservers that are listening for changes in content of database
table represented by this entity that the content has been changed.
- notifyCursorDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Notifies that the given action has been performed for the specified position.
- notifyCursorDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
Notifies that the given action has been performed for the specified position.
- notifyCursorDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
Notifies that the given action has been performed for the specified position.
- notifyCursorDataSetChanged() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- notifyCursorDataSetChanged() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- notifyCursorDataSetChanged() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- notifyCursorDataSetInvalidated() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- notifyCursorDataSetInvalidated() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- notifyCursorDataSetInvalidated() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- notifyCursorDataSetLoaded(int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- notifyCursorDataSetLoaded(int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- notifyCursorDataSetLoaded(int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- notIn(String, long[]) - Static method in class universum.studios.android.database.content.Selection
-
- notIn(String, int[]) - Static method in class universum.studios.android.database.content.Selection
-
- notIn(String, Object...) - Static method in class universum.studios.android.database.content.Selection
-
Creates a column_name NOT IN(value, value, ...)
statement for the specified columnName
and given values.
- notInFormat(String, int) - Static method in class universum.studios.android.database.content.Selection
-
Creates a format for column_name NOT IN(...)
statement
- NULL - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents null data type.
- NUMERIC - Static variable in class universum.studios.android.database.util.ColumnType
-
Numeric SQL value type.
- NVARCHAR - Static variable in class universum.studios.android.database.util.ColumnType
-
Nvarchar SQL value type.
- obtain(int) - Static method in class universum.studios.android.database.annotation.handler.ModelContentValuesProcessor.ValuesTask
-
Obtains a new ValuesTask object (if available from the pool).
- obtain() - Static method in class universum.studios.android.database.annotation.handler.ModelCursorProcessor.CursorTask
-
Obtains a new CursorTask object (if available from the pool).
- obtain() - Static method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor.ParcelTask
-
Obtains a new ParcelTask object (if available from the pool).
- obtainAnnotationFrom(Class<A>, Class<?>, Class<?>) - Static method in class universum.studios.android.database.annotation.DatabaseAnnotations
-
Obtains the requested type of annotation from the given fromClass if it is presented.
- obtainBoolean(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
- obtainCursorAdapterHandler(Class<?>) - Static method in class universum.studios.android.database.annotation.handler.CursorAdapterAnnotationHandlers
-
- obtainDatabaseHandler(Class<? extends Database>) - Static method in class universum.studios.android.database.annotation.handler.BaseAnnotationHandlers
-
- obtainDouble(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
Delegates to Cursor.getDouble(int)
with a column index obtained from
Cursor.getColumnIndex(String)
for the specified columnName.
- obtainEntityHandler(Class<? extends Entity>) - Static method in class universum.studios.android.database.annotation.handler.EntityAnnotationHandlers
-
- obtainFloat(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
Delegates to Cursor.getFloat(int)
with a column index obtained from
Cursor.getColumnIndex(String)
for the specified columnName.
- obtainHandler(Class<T>, Class<?>) - Static method in class universum.studios.android.database.annotation.handler.AnnotationHandlers
-
Obtains an annotation handler with the specified classOfHandler class for the
given annotatedClass.
- obtainInt(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
Delegates to Cursor.getInt(int)
with a column index obtained from
Cursor.getColumnIndex(String)
for the specified columnName.
- obtainIntBoolean(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
- obtainLoaderAdapterHandler(Class<?>) - Static method in class universum.studios.android.database.annotation.handler.LoaderAdapterAnnotationHandlers
-
- obtainLong(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
Delegates to Cursor.getLong(int)
with a column index obtained from
Cursor.getColumnIndex(String)
for the specified columnName.
- obtainModel() - Method in class universum.studios.android.database.model.EntityModel.PoolFactory
-
Obtains an instance of model from the pool if the pool contains any recycled instances.
- obtainModelCursorHandler(Class<? extends Cursor>) - Static method in class universum.studios.android.database.annotation.handler.EntityModelAnnotationHandlers
-
- obtainModelEntityHandler(Class<? extends ModelEntity>) - Static method in class universum.studios.android.database.annotation.handler.ModelEntityAnnotationHandlers
-
- obtainModelHandler(Class<M>) - Static method in class universum.studios.android.database.annotation.handler.EntityModelAnnotationHandlers
-
- obtainShort(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
Delegates to Cursor.getShort(int)
with a column index obtained from
Cursor.getColumnIndex(String)
for the specified columnName.
- obtainSpinnerCursorAdapterHandler(Class<?>) - Static method in class universum.studios.android.database.annotation.handler.SpinnerCursorAdapterAnnotationHandlers
-
- obtainSpinnerLoaderAdapterHandler(Class<?>) - Static method in class universum.studios.android.database.annotation.handler.SpinnerLoaderAdapterAnnotationHandlers
-
- obtainString(Cursor, String) - Static method in class universum.studios.android.database.cursor.CursorUtils
-
Delegates to Cursor.getString(int)
with a column index obtained from
Cursor.getColumnIndex(String)
for the specified columnName.
- ON_CONFLICT_REPLACE - Static variable in class universum.studios.android.database.query.CreateQuery
-
SQL key word used to specify (for section of unique keys) that when there is a conflicting
row to be inserted into database table (according to the unique keys) it should overwrite the
previous one.
- onAssignEntities() - Method in class universum.studios.android.database.Database
-
Invoked to assign all desired entities to this database.
- onAttachedToDatabase(Database) - Method in class universum.studios.android.database.entity.Entity
-
- onAttachedToDatabase(Database) - Method in class universum.studios.android.database.entity.JoinEntity
-
- onAttachedToDatabase(Database) - Method in class universum.studios.android.database.entity.JoinModelEntity
-
- onAttachedToProvider(DatabaseProvider) - Method in class universum.studios.android.database.Database
-
Invoked after this database instance has been attached to its associated provider.
- onBindData() - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
Invoked to obtain data from the wrapped cursor for the current position.
- onBindData() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- onBindDropDownViewHolder(DVH, int) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Invoked to configure and bind a drop down view of an item from the current data set at the
specified position.
- onBindDropDownViewHolder(DVH, C, int) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Invoked to configure and bind a drop down view of the specified viewHolder with data
of the current cursor.
- onBindModel(M) - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- onBindViewHolder(VH, int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Invoked to configure and bind a view of an item from the current data set at the specified
position.
- onBindViewHolder(VH, C, int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Invoked to configure and bind an item view of the specified viewHolder with data of
the current cursor.
- onBindViewHolder(VH, int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- onBindViewHolder(VH, C, int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
Invoked to configure and bind an item view of the specified viewHolder with data of
the current cursor.
- onBindViewHolder(VH, C, int) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
- onBuild() - Method in class universum.studios.android.database.query.BaseQuery
-
Invoked whenever
BaseQuery.build()
is called an the data of this query builder has changed.
- onBuild() - Method in class universum.studios.android.database.query.CreateQuery
-
- onBuild() - Method in class universum.studios.android.database.query.FlagsQuery
-
- onBulkInsert(SQLiteDatabase, ContentValues[]) - Method in class universum.studios.android.database.entity.Entity
-
- onCanceled(D) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- onClearData() - Method in class universum.studios.android.database.cursor.BaseCursorWrapper
-
Invoked to clear the current data bound for the current position.
- onClearData() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- onClearModel(M) - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- onConfigureDB(SQLiteDatabase) - Method in class universum.studios.android.database.Database
-
Invoked to configure the specified SQLite database.
- onCreate() - Method in class universum.studios.android.database.DatabaseProvider
-
- onCreate(SQLiteDatabase) - Method in class universum.studios.android.database.entity.Entity
-
- onCreate(SQLiteDatabase) - Method in class universum.studios.android.database.entity.JoinEntity
-
- onCreate(SQLiteDatabase) - Method in class universum.studios.android.database.entity.JoinModelEntity
-
- onCreate(SQLiteDatabase) - Method in class universum.studios.android.database.entity.ModelEntity
-
- onCreateDatabase(Context) - Method in class universum.studios.android.database.DatabaseProvider
-
- onCreateDB(SQLiteDatabase) - Method in class universum.studios.android.database.Database
-
Invoked to create a new database structure within the specified SQLite database.
- onCreateDropDownView(ViewGroup, int) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Invoked to create a drop down view for an item from the current data set at the specified
position.
- onCreateDropDownViewHolder(View, int) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Invoked to create a view holder for a drop down view of an item from the current data set at
the specified position.
- onCreateHeaders() - Method in class universum.studios.android.database.content.HeadersCursorLoader
-
Invoked whenever this loader needs a new instance of Headers object.
- onCreateInitialContent(SQLiteDatabase) - Method in class universum.studios.android.database.Database
-
- onCreateInitialContent(SQLiteDatabase) - Method in class universum.studios.android.database.entity.Entity
-
- onCreateInitialContent(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- onCreateInitialContent(SQLiteDatabase) - Method in class universum.studios.android.database.loremipsum.LoremIpsumEntity
-
- onCreateJoinStatement() - Method in class universum.studios.android.database.entity.JoinEntity
-
- onCreateJoinStatement() - Method in class universum.studios.android.database.entity.JoinModelEntity
-
- onCreateLoader(int, Bundle) - Method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistant
-
- onCreateLoader(int, Bundle) - Method in class universum.studios.android.database.adapter.HeadersAdapterLoaderAssistant
-
- onCreateLoader(int, Bundle) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- onCreateModel() - Method in class universum.studios.android.database.entity.ModelEntity
-
Invoked whenever this entity needs a new instance of its model.
- onCreateModel() - Method in class universum.studios.android.database.loremipsum.LoremIpsumEntity
-
- onCreateView(ViewGroup, int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Invoked to create a view for an item from the current data set at the specified position.
- onCreateViewHolder(View, int) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
Invoked to create a view holder for a view of an item from the current data set at the specified
position.
- onCreateViewHolder(ViewGroup, int) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- onCursorChange(C, C) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- onCursorChange(C, C) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- onCursorChange(C, C) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- onCursorChange(C, C) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
- onCursorChange(A, Cursor) - Method in interface universum.studios.android.database.adapter.OnCursorChangeListener
-
Invoked whenever the specified cursor is about to be changed in the given adapter.
- onCursorChanged(A, Cursor) - Method in interface universum.studios.android.database.adapter.OnCursorChangeListener
-
- OnCursorChangeListener<A> - Interface in universum.studios.android.database.adapter
-
Listener which receives callbacks that may be used to listen for events before and after cursor
change for a specific adapter.
- OnCursorDataSetActionListener<A> - Interface in universum.studios.android.database.adapter
-
Listener which receives callback about selected action within adapter's data set for a specific
position.
- onCursorDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- onCursorDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- onCursorDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- onCursorDataSetActionSelected(A, int, int, long, Object) - Method in interface universum.studios.android.database.adapter.OnCursorDataSetActionListener
-
Invoked whenever the specified action was selected for the specified position
within the passed adapter in which is this callback registered.
- onCursorDataSetChanged(A) - Method in interface universum.studios.android.database.adapter.OnCursorDataSetListener
-
Invoked whenever the current cursor data set within the passed adapter was changed.
- onCursorDataSetInvalidated(A) - Method in interface universum.studios.android.database.adapter.OnCursorDataSetListener
-
Invoked whenever the current cursor data set within the passed adapter was invalidated.
- OnCursorDataSetListener<A> - Interface in universum.studios.android.database.adapter
-
Listener which receives callbacks about loaded, changed and invalidated adapter's data set.
- onCursorDataSetLoaded(A, int) - Method in interface universum.studios.android.database.adapter.OnCursorDataSetListener
-
Invoked whenever the current cursor data set within the passed adapter was loaded
via Loader
with the specified loaderId.
- onDBCreated() - Method in class universum.studios.android.database.Database
-
Invoked after the SQLite database of this database instance has been successfully created.
- onDBOpened(SQLiteDatabase) - Method in class universum.studios.android.database.Database
-
Invoked whenever the specified SQLite database has been opened.
- onDBUpgraded(int, int) - Method in class universum.studios.android.database.Database
-
Invoked after the SQLite database of this database instance has been successfully upgraded to
a new version.
- onDelete(SQLiteDatabase, String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
- onDowngrade(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- onDowngradeDB(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.Database
-
Invoked to downgrade an existing database structure within the specified SQLite database from
an old version to a new one.
- onError(D, Throwable) - Method in class universum.studios.android.database.DatabaseTransaction
-
- onError(D, E, Throwable) - Method in class universum.studios.android.database.entity.EntityTransaction
-
- onExecute() - Method in class universum.studios.android.database.BaseTransaction
-
- onExecute() - Method in class universum.studios.android.database.DatabaseTransaction
-
- onExecute(D) - Method in class universum.studios.android.database.DatabaseTransaction
-
- onExecute() - Method in class universum.studios.android.database.entity.EntityTransaction
-
- onExecute(D, E) - Method in class universum.studios.android.database.entity.EntityTransaction
-
- onExecuteAsync(D) - Method in class universum.studios.android.database.DatabaseTransaction
-
- onExecuteAsync(D, E) - Method in class universum.studios.android.database.entity.EntityTransaction
-
- onExecutedAsync(D, R) - Method in class universum.studios.android.database.DatabaseTransaction
-
- onExecutedAsync(D, E, R) - Method in class universum.studios.android.database.entity.EntityTransaction
-
- onGetItem(C, int) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
Invoked to create a new instance of Fragment
for the specified position to
present data from the given cursor for that position.
- onGetModel() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
Invoked whenever a new instance of model specific for this model cursor wrapper is requested.
- onImportInitialDatabase(Context, Database) - Method in class universum.studios.android.database.DatabaseProvider
-
Called when this provider is being created to import initial database structure also with
initial content if need.
- onInsert(SQLiteDatabase, ContentValues) - Method in class universum.studios.android.database.entity.Entity
-
- onLoaderReset(Loader<D>) - Method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistant
-
- onLoaderReset(Loader<HeadersResult<D, H>>) - Method in class universum.studios.android.database.adapter.HeadersAdapterLoaderAssistant
-
- onLoaderReset(Loader<D>) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- onLoadFailed(int) - Method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistant
-
- onLoadFailed(int) - Method in class universum.studios.android.database.adapter.HeadersAdapterLoaderAssistant
-
- onLoadFailed() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- onLoadFailed(int) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- onLoadFailed() - Method in class universum.studios.android.database.content.HeadersCursorLoader
-
- onLoadFinished(int, D) - Method in class universum.studios.android.database.adapter.DataLoaderAdapterAssistant
-
- onLoadFinished(int, HeadersResult<D, H>) - Method in class universum.studios.android.database.adapter.HeadersAdapterLoaderAssistant
-
- onLoadFinished(Cursor) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- onLoadFinished(Loader<D>, D) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- onLoadFinished(int, D) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- onLoadFinished(Cursor) - Method in class universum.studios.android.database.content.HeadersCursorLoader
-
- onProcessColumn(ModelContentValuesProcessor.ValuesTask, AnnotatedColumn) - Method in class universum.studios.android.database.annotation.handler.ModelContentValuesProcessor
-
Invoked to process the given column to obtain current value of its attached field
so it can be inserted into ContentValues object contained within the given task.
- onProcessColumn(ModelCursorProcessor.CursorTask, AnnotatedColumn) - Method in class universum.studios.android.database.annotation.handler.ModelCursorProcessor
-
Invoked to process Cursor contained within the given task to attach value from one
of its columns to a corresponding field hold by the annotated column.
- onProcessColumnFromParcel(ModelParcelProcessor.ParcelTask, AnnotatedColumn) - Method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor
-
Invoked to process Parcel contained within the given task to read one value from it
and attach it to a corresponding field hold by the given column.
- onProcessColumnIntoParcel(ModelParcelProcessor.ParcelTask, AnnotatedColumn) - Method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor
-
Invoked to process the given column to obtain current value of its attached field
so it can be written into the Parcel object contained within the given task.
- onProcessField(Field, String) - Method in interface universum.studios.android.database.annotation.DatabaseAnnotations.FieldProcessor
-
Invoked for each of iterated fields.
- onProcessModel(ModelContentValuesProcessor.ValuesTask) - Method in class universum.studios.android.database.annotation.handler.ModelContentValuesProcessor
-
- onProcessModel(ModelCursorProcessor.CursorTask) - Method in class universum.studios.android.database.annotation.handler.ModelCursorProcessor
-
- onProcessModelFromParcel(ModelParcelProcessor.ParcelTask) - Method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor
-
- onProcessModelIntoParcel(ModelParcelProcessor.ParcelTask) - Method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor
-
- onQuery(SQLiteDatabase, String[], String, String[], String) - Method in class universum.studios.android.database.entity.Entity
-
- onQuery(SQLiteDatabase, String[], String, String[], String) - Method in class universum.studios.android.database.entity.JoinEntity
-
- onQuery(SQLiteDatabase, String[], String, String[], String) - Method in class universum.studios.android.database.entity.JoinModelEntity
-
- onRecycle() - Method in class universum.studios.android.database.annotation.handler.ModelProcessor.ProcessorTask
-
- onRecycleModel() - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- onReset() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- onSetUpNotificationUri(Cursor) - Method in class universum.studios.android.database.entity.Entity
-
Invoked to set up notification Uri for the specified cursor.
- onStartLoading() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- onStopLoading() - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
- onSuccess(D, R) - Method in class universum.studios.android.database.DatabaseTransaction
-
- onSuccess(D, E, R) - Method in class universum.studios.android.database.entity.EntityTransaction
-
- onUpdate(SQLiteDatabase, ContentValues, String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
- onUpdateViewHolder(DVH, C, int) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Invoked to update views of the given viewHolder with data of the given cursor.
- onUpgrade(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- onUpgrade(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.ModelEntity
-
- onUpgradeContent(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.Database
-
- onUpgradeContent(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.entity.Entity
-
- onUpgradeDB(SQLiteDatabase, int, int) - Method in class universum.studios.android.database.Database
-
Invoked to upgrade an existing database structure within the specified SQLite database from
an old version to a new one.
- or(Selection) - Method in class universum.studios.android.database.content.Selection
-
- or(String) - Method in class universum.studios.android.database.content.Selection
-
Appends a raw selection into the current selection data as OR SQL condition.
- parcel - Variable in class universum.studios.android.database.annotation.handler.ModelParcelProcessor.ParcelTask
-
Parcel into/from which should be placed/retrieved data of/for the model.
- parcelProcessor() - Static method in class universum.studios.android.database.annotation.handler.ModelProcessors
-
Returns an instance of default ParcelProcessor implementation.
- ParcelTask() - Constructor for class universum.studios.android.database.annotation.handler.ModelParcelProcessor.ParcelTask
-
- parseRowId(Uri) - Static method in class universum.studios.android.database.entity.Entity
-
Parses an id from the specified rowUri.
- PATTERN - Static variable in class universum.studios.android.database.entity.JoinMatcher
-
Pattern that is used for validation of JOIN statements.
- PoolFactory(int) - Constructor for class universum.studios.android.database.model.EntityModel.PoolFactory
-
Creates a new instance of PoolFactory with pool for model instances in the specified
capacity.
- prepareAssertOperation() - Method in class universum.studios.android.database.entity.Entity
-
Prepares a new instance of ContentProviderOperation.Builder type of ASSERT that can be
used to build an operation to assert that a specific content (row/s) is presented within
within database table represented by this entity targeted by a desired selection.
- prepareDeleteOperation() - Method in class universum.studios.android.database.entity.Entity
-
Prepares a new instance of ContentProviderOperation.Builder type of DELETE that can be
used to build an operation to delete an existing content (row/s) targeted by a desired selection
within database table represented by this entity.
- prepareInsertOperation() - Method in class universum.studios.android.database.entity.Entity
-
Prepares a new instance of ContentProviderOperation.Builder type of INSERT that can be
used to build an operation for a desired ContentValues
to insert a new content (row)
into database table represented by this entity.
- prepareQueryBuilder() - Method in class universum.studios.android.database.entity.Entity
-
- prepareQueryBuilder() - Method in class universum.studios.android.database.entity.JoinEntity
-
- prepareQueryBuilder() - Method in class universum.studios.android.database.entity.JoinModelEntity
-
- prepareUpdateOperation() - Method in class universum.studios.android.database.entity.Entity
-
Prepares a new instance of ContentProviderOperation.Builder type of UPDATE that can be
used to build an operation for a desired ContentValues
to update an existing content
(row/s) targeted by a desired selection within database table represented by this entity.
- PRIMARY_KEY - Static variable in class universum.studios.android.database.query.CreateQuery
-
SQL key keyword used to specify set of primary keys for the CREATE TABLE statement.
- PrimaryDatabase - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for marking a desired database class as primary database.
- primaryKey(String) - Method in class universum.studios.android.database.query.CreateQuery
-
Appends the specified primaryKey into the current primary keys specified for this
query.
- primaryKeys(String...) - Method in class universum.studios.android.database.query.CreateQuery
-
- primaryKeys() - Method in class universum.studios.android.database.query.CreateQuery
-
Returns the set of primary keys specified for this query.
- processModel(Object, AnnotatedColumn[]) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler.ContentValuesProcessor
-
Puts current data of the specified model into ContentValues object.
- processModel(Object, AnnotatedColumn[], Cursor) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler.CursorProcessor
-
Binds data of the specified model from the given cursor.
- processModel(Object, AnnotatedColumn[]) - Method in class universum.studios.android.database.annotation.handler.ModelContentValuesProcessor
-
- processModel(Object, AnnotatedColumn[], Cursor) - Method in class universum.studios.android.database.annotation.handler.ModelCursorProcessor
-
- processModelFromParcel(Object, AnnotatedColumn[], Parcel) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler.ParcelProcessor
-
Binds data of the specified model from the given source parcel.
- processModelFromParcel(Object, AnnotatedColumn[], Parcel) - Method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor
-
- processModelIntoParcel(Object, AnnotatedColumn[], Parcel, int) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler.ParcelProcessor
-
Writes current data of the specified model into the given destination
parcel.
- processModelIntoParcel(Object, AnnotatedColumn[], Parcel, int) - Method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor
-
- ProcessorTask() - Constructor for class universum.studios.android.database.annotation.handler.ModelProcessor.ProcessorTask
-
- projection(String[]) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Sets a raw projection for this builder.
- projection(Projection) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Sets a projection for this builder.
- projection() - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Returns the current projection of this builder instance.
- Projection - Class in universum.studios.android.database.content
-
A LoaderArgumentBuilder
implementation that may be used to build a projection
argument for a desired CursorLoader
.
- Projection() - Constructor for class universum.studios.android.database.content.Projection
-
- Projection.Column - Class in universum.studios.android.database.content
-
A Column represents a simple builder that may be used to build a single column for
Projection
.
- provideDatabase(Class<T>) - Static method in class universum.studios.android.database.DatabaseProvider
-
Returns instance of the Database requested by the specified classOfDatabase.
- providePrimaryDatabase() - Static method in class universum.studios.android.database.DatabaseProvider
-
Returns instance of the primary Database stored by one of DatabaseProvider instances.
- putValueOfColumn(AnnotatedColumn, Object, ContentValues, String) - Method in class universum.studios.android.database.annotation.handler.ModelContentValuesProcessor
-
Obtains and inserts current value of a field hold by the given column into the given
content values object under the specified key.
- RANDOM - Static variable in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Instance of random that can be used to generate a random values.
- randomFragment() - Static method in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Generates a random fragment of lorem ipsum text.
- randomSentence(int) - Static method in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Generates a sentence of the specified size containing randomly picked lorem ipsum
words.
- randomSentences(int, int) - Static method in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
- randomWord(int) - Static method in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Generates a lorem ipsum words of the specified size.
- randomWords(int) - Static method in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
- readValueIntoColumn(AnnotatedColumn, Object, Parcel) - Method in class universum.studios.android.database.annotation.handler.ModelParcelProcessor
-
Reads one value (with its corresponding type flag) from the given source parcel and
attaches it to a field hold by the given column.
- REAL - Static variable in class universum.studios.android.database.util.ColumnType
-
Real SQL value type.
- recycle() - Method in class universum.studios.android.database.annotation.handler.ModelProcessor.ProcessorTask
-
Puts this task object back into the pool.
- recycle() - Method in class universum.studios.android.database.loremipsum.LoremIpsum
-
- recycle() - Method in interface universum.studios.android.database.model.EntityModel
-
Recycles this model instance and returns it back to Pool of available instances for further use.
- recycle() - Method in class universum.studios.android.database.model.EntityModelArrayList
-
- recycle() - Method in interface universum.studios.android.database.model.EntityModelList
-
Recycles all entity models contained within this list so they may be later re-used.
- recycle() - Method in class universum.studios.android.database.model.SimpleEntityModel
-
This implementation sets values of all column fields of this model to null
.
- recycleModel(M) - Method in class universum.studios.android.database.model.EntityModel.PoolFactory
-
Recycles the given model by adding it to the instances pool if the pool is no
already full.
- RecyclerCursorLoaderAdapter<C extends android.database.Cursor,M,VH extends androidx.recyclerview.widget.RecyclerView.ViewHolder> - Class in universum.studios.android.database.adapter
-
A
BaseRecyclerCursorAdapter
implementation that supports loading of its Cursor data set
using Loaders that are build in the Android framework.
- RecyclerCursorLoaderAdapter(FragmentActivity) - Constructor for class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- RecyclerCursorLoaderAdapter(Context, LoaderAdapterAssistant<Cursor>) - Constructor for class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- RecyclerCursorLoaderAdapter(Context, LoaderAdapterAssistant<Cursor>, C) - Constructor for class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
Creates a new instance of RecyclerCursorLoaderAdapter with the given initial cursor
data set.
- reference(String) - Method in class universum.studios.android.database.util.TableColumn
-
Specifies a reference value for this column if this column should represent a foreign key.
- reference() - Method in class universum.studios.android.database.util.TableColumn
-
Returns the current reference for this column.
- REFERENCE_FORMAT - Static variable in class universum.studios.android.database.util.TableColumn
-
Reference statement format.
- registerContentObserver(ContentObserver) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- registerContentObserver(ContentObserver) - Method in class universum.studios.android.database.mock.MockCursor
-
Does nothing.
- registerDataSetObserver(DataSetObserver) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- registerDataSetObserver(DataSetObserver) - Method in class universum.studios.android.database.mock.MockCursor
-
Does nothing.
- registerOnCursorChangeListener(OnCursorChangeListener) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- registerOnCursorChangeListener(OnCursorChangeListener) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- registerOnCursorChangeListener(OnCursorChangeListener) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- registerOnCursorChangeListener(OnCursorChangeListener) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Registers a callback to be invoked when a cursor change occurs in this data set.
- registerOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- registerOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- registerOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- registerOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Registers a callback to be invoked when a specific cursor data set action is selected within
this data set.
- registerOnCursorDataSetListener(OnCursorDataSetListener) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- registerOnCursorDataSetListener(OnCursorDataSetListener) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- registerOnCursorDataSetListener(OnCursorDataSetListener) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- registerOnCursorDataSetListener(OnCursorDataSetListener) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Registers a callback to be invoked when a cursor data set event occurs.
- release() - Method in interface universum.studios.android.database.content.DataResult
-
Called to release resources hold by this data result.
- release() - Method in class universum.studios.android.database.content.HeadersResult
-
A subclass that holds a 'releasable' data, like Cursor
, should release them here.
- release() - Method in class universum.studios.android.database.entity.Entity.Lock
-
Releases this instance of lock for the associated entity.
- remove(int) - Method in class universum.studios.android.database.query.FlagsQuery
-
Specifies a group of flags that should be removed from value of the desired column.
- removeConstraint(String) - Method in class universum.studios.android.database.util.TableColumn
-
Removes the specified constraint from the current constraints of this column.
- requery() - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- requery() - Method in class universum.studios.android.database.mock.MockCursor
-
Does nothing and always returns false
.
- requiresUpgrade(int, int) - Method in interface universum.studios.android.database.annotation.handler.AnnotatedColumn
-
Returns a boolean flag indicating whether this column requires to be upgraded depends on the
specified database versions.
- resetSequence() - Method in class universum.studios.android.database.entity.Entity
-
Resets value of the seq column in sqlite_sequence table for database table
represented by this entity to 0
.
- resolveColumnNameForField(String, String) - Static method in class universum.studios.android.database.util.TableColumn
-
Resolves a name for the entity column based on the specified parameters.
- resolveColumnTypeForField(int, Field) - Method in class universum.studios.android.database.util.TableColumn.ColumnCreator
-
Resolves column type represented by the given type flag.
- resolvePrimitiveType(Class<?>) - Static method in class universum.studios.android.database.util.TypeUtils
-
- resolveType(Class<?>) - Static method in class universum.studios.android.database.util.TypeUtils
-
Resolves a data type of the given class.
- respond(Bundle) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- respond(Bundle) - Method in class universum.studios.android.database.mock.MockCursor
-
Always returns the given extras.
- restartLoader() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- restartLoader() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- restartLoader() - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
- restartLoader() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- restartLoader() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- restartLoader(int, Bundle) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- restartLoader(int, Bundle) - Method in interface universum.studios.android.database.content.LoaderAssistant
-
Re-starts a loader with the specified loaderId via the associated LoaderManager's
restartLoader(int, Bundle, LoaderManager.LoaderCallbacks)
.
- restoreInstanceState(Parcelable) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
If you decide to override this method, do not forget to call super.restoreInstanceState()
and pass here the parent state obtained from the your saved state implementation to ensure the
state of all classes along the chain is properly restored.
- restoreInstanceState(Parcelable) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
If you decide to override this method, do not forget to call super.restoreInstanceState()
and pass here the parent state obtained from the your saved state implementation to ensure the
state of all classes along the chain is properly restored.
- restoreInstanceState(Parcelable) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
If you decide to override this method, do not forget to call super.restoreInstanceState()
and pass here the parent state obtained from the your saved state implementation to ensure the
state of all classes along the chain is properly restored.
- restoreInstanceState(Parcelable) - Method in interface universum.studios.android.database.adapter.CursorDataSetAdapter
-
- saveInstanceState() - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
If you decide to override this method, do not forget to call super.saveInstanceState()
and pass the obtained super state to the corresponding constructor of your saved state
implementation to ensure the state of all classes along the chain is properly saved.
- saveInstanceState() - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
If you decide to override this method, do not forget to call super.saveInstanceState()
and pass the obtained super state to the corresponding constructor of your saved state
implementation to ensure the state of all classes along the chain is properly saved.
- saveInstanceState() - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
If you decide to override this method, do not forget to call super.saveInstanceState()
and pass the obtained super state to the corresponding constructor of your saved state
implementation to ensure the state of all classes along the chain is properly saved.
- saveInstanceState() - Method in interface universum.studios.android.database.adapter.CursorDataSetAdapter
-
Saves the current state of this adapter.
- selection(String) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Sets a raw selection statement for this builder.
- selection(Selection) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Sets a selection statement for this builder.
- selection() - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Returns the current selection statement of this builder instance.
- Selection - Class in universum.studios.android.database.content
-
Selection builder may be used to build a selection argument for a desired CursorLoader
.
- Selection() - Constructor for class universum.studios.android.database.content.Selection
-
Creates a new instance of empty Selection.
- Selection(Selection) - Constructor for class universum.studios.android.database.content.Selection
-
- Selection(String) - Constructor for class universum.studios.android.database.content.Selection
-
Creates a new instance of Selection with the specified initial selection.
- selection(Selection) - Method in class universum.studios.android.database.content.Selection
-
- selection(String) - Method in class universum.studios.android.database.content.Selection
-
Appends a raw selection into the current selection data.
- selectionArgs(String[]) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Sets a selection arguments for this builder.
- selectionArgs() - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Returns the current selection arguments of this builder instance.
- set(int) - Method in class universum.studios.android.database.query.FlagsQuery
-
Specifies a group of flags that should be set as value of the desired column.
- setAutoInsertOnUpdateEnabled(boolean) - Method in class universum.studios.android.database.entity.Entity
-
Sets a flag indicating whether the INSERT operation should be performed instead of
requested update operation where such a request failed, mostly due to not yet existing
row with the specified arguments.
- setContentChangeNotificationEnabled(boolean) - Method in class universum.studios.android.database.entity.Entity
-
Sets a flag indicating whether the data change notification for this entity's uri is enabled
or not.
- setContentOperationDispatcher(DatabaseEntity.ContentOperationDispatcher) - Method in interface universum.studios.android.database.DatabaseEntity
-
Specifies a dispatcher that should be used by this database entity to handle dispatching of
operations related to this database entity's content.
- setContentOperationDispatcher(DatabaseEntity.ContentOperationDispatcher) - Method in class universum.studios.android.database.entity.Entity
-
- setContentValuesProcessor(EntityModelAnnotationHandler.ContentValuesProcessor) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Sets a processor that is used to transform current data of a specific entity model instance
related to this handler into ContentValues
object.
- setCreateOnStartup(boolean) - Method in class universum.studios.android.database.Database
-
Specifies a boolean flag indicating whether an SQLite database file for this database should
be created on application's start up or when a database content is being for the first time
accessed.
- setCursorProcessor(EntityModelAnnotationHandler.CursorProcessor) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Sets a processor that is used to bind data of a specific entity model instance related to this
handler from Cursor
.
- setExecutor(Executor) - Method in class universum.studios.android.database.BaseTransaction
-
- setExtras(Bundle) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- setExtras(Bundle) - Method in class universum.studios.android.database.mock.MockCursor
-
Sets the mock extras for this MockCursor instance.
- setLoaderArguments(Bundle) - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
Specifies a Bundle
with arguments for this adapter's loader.
- setLoaderArguments(Bundle) - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
Specifies a Bundle
with arguments for this adapter's loader.
- setLoaderArguments(Bundle) - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
Specifies a Bundle
with arguments for this adapter's loader.
- setLoaderArguments(Bundle) - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
Specifies a Bundle
with arguments for this adapter's loader.
- setLoaderAssistant(LoaderAdapterAssistant<Cursor>) - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- setLoaderAssistant(LoaderAdapterAssistant<Cursor>) - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- setLoaderAssistant(LoaderAdapterAssistant<D>) - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
Sets an assistant that is responsible for loading of cursor data set of this adapter.
- setLoaderAssistant(LoaderAdapterAssistant<Cursor>) - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- setLoaderAssistant(LoaderAdapterAssistant<Cursor>) - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- setLoaderId(int) - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- setLoaderId(int) - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- setLoaderId(int) - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
- setLoaderId(int) - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- setLoaderId(int) - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- setLocale(Locale) - Method in class universum.studios.android.database.Database
-
Specifies a locale that should be used for content of SQLite database created and managed by
this database instance.
- setMimeType(String) - Method in class universum.studios.android.database.entity.Entity
-
Sets a Mime type of a content stored within a table represented by this entity.
- setMode(int) - Method in class universum.studios.android.database.BaseTransaction
-
- setMode(int) - Method in interface universum.studios.android.database.Transaction
-
Sets a mode for this transaction determining how the transaction should be executed.
- setNotificationEntity(Class<? extends DatabaseEntity>) - Method in class universum.studios.android.database.entity.JoinEntity
-
- setNotificationEntity(Class<? extends DatabaseEntity>) - Method in class universum.studios.android.database.entity.JoinModelEntity
-
- setNotificationUri(ContentResolver, Uri) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- setNotificationUri(Uri) - Method in class universum.studios.android.database.entity.Entity
-
Specifies an uri used to notify registered observers that a content of this entity has been
changed.
- setNotificationUri(ContentResolver, Uri) - Method in class universum.studios.android.database.mock.MockCursor
-
Sets the mock notification uri for this MockCursor instance.
- setParcelProcessor(EntityModelAnnotationHandler.ParcelProcessor) - Method in interface universum.studios.android.database.annotation.handler.EntityModelAnnotationHandler
-
Sets a processor that is used to bind/write data of a specific entity model instance related
to this handler from/into Parcel
.
- setProjection(String[]) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Specifies a projection with column names to be used by this loader for query operation.
- setRecycleModelOnClose(boolean) - Method in class universum.studios.android.database.model.EntityModelCursorWrapper
-
- setSelectedItemId(long) - Method in class universum.studios.android.database.adapter.BaseSpinnerCursorAdapter
-
Sets the current selected position to the position of an item from the current data set with
the specified id.
- setSelection(String) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Specifies a selection statement to be used by this loader for query operation.
- setSelectionArguments(String[]) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Specifies arguments for selection statement to be used by this loader for query operation.
- setSortOrder(String) - Method in class universum.studios.android.database.content.BaseCursorDataLoader
-
Specifies a sort order statement to be used by this loader for query operation.
- setTransactionSuccessful() - Method in class universum.studios.android.database.Database
-
- SHORT - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents short data type.
- SHORT_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents short array data type.
- SimpleEntityModel<M extends SimpleEntityModel> - Class in universum.studios.android.database.model
-
- SimpleEntityModel() - Constructor for class universum.studios.android.database.model.SimpleEntityModel
-
Creates a new instance of SimpleEntityModel.
- SimpleEntityModel(Parcel) - Constructor for class universum.studios.android.database.model.SimpleEntityModel
-
Should be called form CREATOR
to create an instance of SimpleEntityModel form
the given parcel source.
- SimpleEntityModelSelection - Class in universum.studios.android.database.model
-
- SimpleEntityModelSelection(String, String[]) - Constructor for class universum.studios.android.database.model.SimpleEntityModelSelection
-
Creates a new instance of SimpleEntityModelSelection with the specified value and
arguments.
- SimpleViewHolder(View) - Constructor for class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter.SimpleViewHolder
-
Creates a new instance of SimpleViewHolder for the specified itemView.
- SIZE - Static variable in interface universum.studios.android.database.loremipsum.LoremIpsumContract.Columns
-
The size for the LoremIpsum.
- SIZE_ANY - Static variable in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
- SIZE_LONG - Static variable in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Flag indicating that a long word/sentence should be generated.
- SIZE_MEDIUM - Static variable in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Flag indicating that a medium word/sentence should be generated.
- SIZE_SHORT - Static variable in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Flag indicating that a short word/sentence should be generated.
- SIZE_VERY_LONG - Static variable in class universum.studios.android.database.loremipsum.LoremIpsumGenerator
-
Flag indicating that a very long word/sentence should be generated.
- SMALLINT - Static variable in class universum.studios.android.database.util.ColumnType
-
Smallint SQL value type.
- sortOrder(String, String[]) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Sets a raw sort order statement for this builder.
- sortOrder(SortOrder) - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Sets a sort order for this builder.
- sortOrder() - Method in class universum.studios.android.database.content.CursorLoaderBuilder
-
Returns the current sort order of this builder instance.
- SortOrder - Class in universum.studios.android.database.content
-
A LoaderArgumentBuilder
implementation that may be used to build a sort order
argument for a desired CursorLoader
.
- SortOrder(String) - Constructor for class universum.studios.android.database.content.SortOrder
-
Creates a new instance of SortOrder.
- SortOrder.ASC - Class in universum.studios.android.database.content
-
- SortOrder.DESC - Class in universum.studios.android.database.content
-
- sparseArrayFromCursor(ItemCursor<M>) - Static method in class universum.studios.android.database.model.EntityModelCollections
-
Returns data of the given cursor as LongSparseArray
of item models mapped to theirs id.
- SpinnerCursorAdapterAnnotationHandler - Interface in universum.studios.android.database.annotation.handler
-
- SpinnerCursorAdapterAnnotationHandlers - Class in universum.studios.android.database.annotation.handler
-
- SpinnerCursorLoaderAdapter<C extends android.database.Cursor,M,VH,DVH> - Class in universum.studios.android.database.adapter
-
A
BaseSpinnerCursorAdapter
implementation that supports loading of its Cursor data set
using Loaders that are build in the Android framework.
- SpinnerCursorLoaderAdapter(FragmentActivity) - Constructor for class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- SpinnerCursorLoaderAdapter(Context, LoaderAdapterAssistant<Cursor>) - Constructor for class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- SpinnerCursorLoaderAdapter(Context, LoaderAdapterAssistant<Cursor>, C) - Constructor for class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
Creates a new instance of SpinnerCursorLoaderAdapter with the given initial cursor
data set.
- SpinnerLoaderAdapterAnnotationHandler - Interface in universum.studios.android.database.annotation.handler
-
- SpinnerLoaderAdapterAnnotationHandlers - Class in universum.studios.android.database.annotation.handler
-
- startLoader() - Method in class universum.studios.android.database.adapter.CursorLoaderAdapter
-
- startLoader() - Method in class universum.studios.android.database.adapter.FragmentPagerCursorLoaderAdapter
-
- startLoader() - Method in interface universum.studios.android.database.adapter.LoaderAdapter
-
- startLoader() - Method in class universum.studios.android.database.adapter.RecyclerCursorLoaderAdapter
-
- startLoader() - Method in class universum.studios.android.database.adapter.SpinnerCursorLoaderAdapter
-
- startLoader(int, Bundle) - Method in class universum.studios.android.database.content.BaseLoaderAssistant
-
- startLoader(int, Bundle) - Method in interface universum.studios.android.database.content.LoaderAssistant
-
Starts a loader with the specified loaderId either via the associated LoaderManager's
initLoader(int, Bundle, LoaderManager.LoaderCallbacks)
or restartLoader(int, Bundle, LoaderManager.LoaderCallbacks)
depending on whether the requested loader is already initialized or not.
- statement(String) - Method in class universum.studios.android.database.query.BaseQuery
-
Specifies a statement format for this query.
- statement() - Method in class universum.studios.android.database.query.BaseQuery
-
Returns the SQLite statement specified for this query.
- STRING - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents string data type.
- STRING_ARRAY - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents string array data type.
- swapCursor(Cursor) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- swapCursor(Cursor) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- swapCursor(Cursor) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- swapCursor(Cursor) - Method in interface universum.studios.android.database.adapter.CursorDataSetAdapter
-
Swaps the current cursor of this adapter for the specified newCursor.
- UNIQUE - Static variable in class universum.studios.android.database.query.CreateQuery
-
SQL key word used to specify set of unique keys for the CREATE TABLE statement.
- uniqueKey(String) - Method in class universum.studios.android.database.query.CreateQuery
-
Appends the specified uniqueKey into the current unique keys specified for this
query.
- uniqueKeys(String...) - Method in class universum.studios.android.database.query.CreateQuery
-
- uniqueKeys() - Method in class universum.studios.android.database.query.CreateQuery
-
Returns the set of unique keys specified for this query.
- universum.studios.android.database - package universum.studios.android.database
-
Provides classes that may be used to encapsulate management of an SQLite database.
- universum.studios.android.database.adapter - package universum.studios.android.database.adapter
-
Provides adapter classes for AdapterView
,
RecyclerView
and also for
ViewPager
that use Cursor
as theirs data set.
- universum.studios.android.database.annotation - package universum.studios.android.database.annotation
-
Provides group of annotations used across the Database library for simplified configuration.
- universum.studios.android.database.annotation.handler - package universum.studios.android.database.annotation.handler
-
- universum.studios.android.database.content - package universum.studios.android.database.content
-
Provides classes that may be used for database content loading like extended
AsyncTaskLoaders
or builders for simplified
creation of projection, selection or sort order statements.
- universum.studios.android.database.cursor - package universum.studios.android.database.cursor
-
- universum.studios.android.database.entity - package universum.studios.android.database.entity
-
Provides database entity implementations that may be used for either basic or via
Object-Relational mapping management of an SQLite database table.
- universum.studios.android.database.loremipsum - package universum.studios.android.database.loremipsum
-
Provides classes that may be used to generate Lorem Ipsum data, store these data into SQLite
database and also for displaying these data in an Android application's UI via provided adapter
implementations.
- universum.studios.android.database.mock - package universum.studios.android.database.mock
-
Provides classes for Cursor
data mocking.
- universum.studios.android.database.model - package universum.studios.android.database.model
-
Provides classes that are used to support Object-Relational mapping design.
- universum.studios.android.database.query - package universum.studios.android.database.query
-
Provides group of basic SQLite queries (CREATE, INSERT, SELECT, UPDATE, DELETE) represented by
simple query builders.
- universum.studios.android.database.util - package universum.studios.android.database.util
-
Provides utility classes that are used in the Database library mainly to handle processing of
database annotations.
- UNKNOWN - Static variable in class universum.studios.android.database.util.TypeUtils
-
Constant determining that type or class of type passed to one of resolve methods of this utility
class represents unknown data type.
- unregisterContentObserver(ContentObserver) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- unregisterContentObserver(ContentObserver) - Method in class universum.studios.android.database.mock.MockCursor
-
Does nothing.
- unregisterDataSetObserver(DataSetObserver) - Method in class universum.studios.android.database.cursor.EmptyCursor
-
- unregisterDataSetObserver(DataSetObserver) - Method in class universum.studios.android.database.mock.MockCursor
-
Does nothing.
- unregisterOnCursorChangeListener(OnCursorChangeListener) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- unregisterOnCursorChangeListener(OnCursorChangeListener) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- unregisterOnCursorChangeListener(OnCursorChangeListener) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- unregisterOnCursorChangeListener(OnCursorChangeListener) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Unregisters the given callback from the cursor change listeners, so it will not receive any
callbacks further.
- unregisterOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- unregisterOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- unregisterOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- unregisterOnCursorDataSetActionListener(OnCursorDataSetActionListener) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Unregisters the given callback from the data set action listeners, so it will not receive any
callbacks further.
- unregisterOnCursorDataSetListener(OnCursorDataSetListener) - Method in class universum.studios.android.database.adapter.BaseCursorAdapter
-
- unregisterOnCursorDataSetListener(OnCursorDataSetListener) - Method in class universum.studios.android.database.adapter.BaseFragmentPagerCursorAdapter
-
- unregisterOnCursorDataSetListener(OnCursorDataSetListener) - Method in class universum.studios.android.database.adapter.BaseRecyclerCursorAdapter
-
- unregisterOnCursorDataSetListener(OnCursorDataSetListener) - Method in interface universum.studios.android.database.adapter.CursorDataSet
-
Unregisters the given callback from the data set listeners, so it will not receive any
callbacks further.
- UNSIGNED_BIG_INT - Static variable in class universum.studios.android.database.util.ColumnType
-
Unsigned big int SQL value type.
- update(Uri, ContentValues, String, String[]) - Method in class universum.studios.android.database.Database
-
Updates an existing content for the specified content uri.
- update(Uri, ContentValues, String, String[]) - Method in class universum.studios.android.database.DatabaseProvider
-
- update(ContentValues, String, String[]) - Method in class universum.studios.android.database.entity.Entity
-
Updates columns of a row targeted by the specified selection + selectionArgs
with the given mContentValues stored within database table represented by this entity.
- updateModel(M) - Method in class universum.studios.android.database.entity.ModelEntity
-
- updateModels(List<M>) - Method in class universum.studios.android.database.entity.ModelEntity
-
- Upgrade - Annotation Type in universum.studios.android.database.annotation
-
Defines an annotation for marking a field representing a single column that should be upgraded
within a database table.
- upgradesContent(int, int) - Method in interface universum.studios.android.database.DatabaseEntity
-
Returns a flag indicating whether this database entity requires upgrade of its content
whenever a database is being upgraded.
- upgradesContent(int, int) - Method in class universum.studios.android.database.entity.Entity
-