SPT Object Database API
A C D E F G H I L M N O P Q R S T U V W _

C

cascadeDelete(String, String, PrevalentObject, Date) - Method in class com.sptci.prevayler.ConstraintSystem
Cascade delete all objects that hold a reference to the specified prevalent object.
checkClosed() - Method in class com.sptci.prevayler.IndexCloser
Loop through until the IndexCloser.reader has been closed.
checkFields(PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Over-ridden to check for ForeignKey annotation and check for unique constraint violations.
checkFields(PrevalentObject) - Method in class com.sptci.prevayler.IndexSystem
Check all the fields in the prevalent object for Index annotation and check for unique constraint violations.
checkForeignKey(ForeignKey, PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Check the ForeignKey annotation and check for unique constraint violations.
checkForeignKeys(PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Check the ForeignKeys annotation for the prevalent class and perform actions as necessary.
checkIndex(Index, PrevalentObject) - Method in class com.sptci.prevayler.IndexSystem
Check the index specified at the class level on the prevalent object.
checkIndices(PrevalentObject) - Method in class com.sptci.prevayler.IndexSystem
Check the Indices annotations on the specified prevalent object and check unique constraints.
checkNull(PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Check the NotNull annotation on the prevalent object and its fields and throw exceptions if necessary.
checkNull(String, PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Check the value of the member identified by the name specified in the prevalent object for null value.
checkNullFields(PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Check all the fields in the prevalent object to see if they have been annotated with the NotNull annotation.
checkUnique(PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Over-ridden to process any ForeignKeys and ForeignKey annotations.
checkUnique(Field, PrevalentObject, PrevalentObject) - Method in class com.sptci.prevayler.ConstraintSystem
Check the specified child prevalent object to see if a unique constraint is defined on the parent object.
checkUnique(PrevalentObject) - Method in class com.sptci.prevayler.IndexSystem
Check all unique constraints (including object id) for the specified prevalent object.
CLASS_FIELD - Static variable in class com.sptci.prevayler.SearchSystem
The name of the field in the indexed document that stores the class name.
classMap - Variable in class com.sptci.prevayler.StorageSystem
A map used to manage the various prevalent objects that may be managed by this prevalent system.
className - Variable in class com.sptci.prevayler.RelationStorage
The name of the prevalent object whose relations are being mapped.
clone() - Method in class com.sptci.prevayler.PrevalentObject
Over-ridden to make publicly accessible.
closeReader() - Method in class com.sptci.prevayler.IndexCloser
Close the IndexCloser.reader instance.
closeSearcher() - Method in class com.sptci.prevayler.IndexCloser
Close the IndexCloser.searcher instance.
cls - Variable in class com.sptci.prevayler.query.Count
The type of object whose total count is required.
cls - Variable in class com.sptci.prevayler.query.Fetch
The type of object that is to be retrieved.
cls - Variable in class com.sptci.prevayler.query.FetchRange
The type of prevalent objects to retrieve.
com.sptci.prevayler - package com.sptci.prevayler
Core classes for the database engine built around Prevayler.
com.sptci.prevayler.annotations - package com.sptci.prevayler.annotations
Annotations used to automate handling of prevalent objects by the prevalent system.
com.sptci.prevayler.query - package com.sptci.prevayler.query
Queries defined for the prevalent system.
com.sptci.prevayler.transaction - package com.sptci.prevayler.transaction
Note: Users do not normally need to directly use these classes.
commit() - Method in class com.sptci.prevayler.SearchSystem
Commit pending writes to the index and refresh the reader.
compareTo(PrevalentObject) - Method in class com.sptci.prevayler.PrevalentObject
Compare the specified prevalent object with this instance for ordering.
compose(PrevalentObject) - Method in class com.sptci.prevayler.ObjectGraphSystem
Create a clone of the specified prevalent object and reconstitute object references to other prevalent objects.
ConstraintException - Exception in com.sptci.prevayler
An exception used to indicate that a constraint violations has been encountered while persisting the prevalent object.
ConstraintException() - Constructor for exception com.sptci.prevayler.ConstraintException
Default constructor.
ConstraintException(String) - Constructor for exception com.sptci.prevayler.ConstraintException
Create a new instance of the exception with the specified message.
ConstraintException(PrevalentObject, String) - Constructor for exception com.sptci.prevayler.ConstraintException
Create a new instance of the exception using ConstraintException.FIELD_PATTERN to display the message for unique constraint on specified fields being violated.
ConstraintException(PrevalentObject) - Constructor for exception com.sptci.prevayler.ConstraintException
Create a new instance of the exception using ConstraintException.OID_PATTERN to display the message for the unique object id constraint being violated.
ConstraintSystem - Class in com.sptci.prevayler
System that abstracts all constraint enforcing rules for the prevalent system.
ConstraintSystem() - Constructor for class com.sptci.prevayler.ConstraintSystem
 
count(Class) - Method in interface com.sptci.prevayler.AbstractDatabase
Return the total number of instances of the specified type in the prevalent system.
count(Class) - Method in class com.sptci.prevayler.PrevalentManager
Return the total number of persistent instance of the specified type in the prevalent system.
count(Class) - Method in class com.sptci.prevayler.PrevalentSystem
Return the total number of instances of the specified type in the prevalent system.
Count<S extends PrevalentSystem> - Class in com.sptci.prevayler.query
The query for retrieving the total number of objects of the specified type in the prevalent system.
Count(Class) - Constructor for class com.sptci.prevayler.query.Count
Create a new instance of the query for the specified prevalent object type.
count - Variable in class com.sptci.prevayler.query.Search
The maximum number of search results to return.
created - Variable in class com.sptci.prevayler.MetaData
A field used to store the date-time at which an object was created.
createDocument(PrevalentObject) - Method in class com.sptci.prevayler.SearchSystem
Create a document to store the full-text indices for the specified object.

SPT Object Database API
A C D E F G H I L M N O P Q R S T U V W _