| Package | Description | 
|---|---|
| org.apache.torque.manager | A manager/factory API for use with Torque-generated data beans. | 
| org.apache.torque.om | API for the classic Torque-generated object model. | 
| org.apache.torque.util | Misc. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.commons.jcs.access.CacheAccess<ObjectKey<?>,T> | AbstractBaseManager. cacheused to cache the om objects. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected T | AbstractBaseManager. cacheGet(ObjectKey<?> key)Get an object from cache | 
| protected T | AbstractBaseManager. getOMInstance(ObjectKey<?> id)Return an instance of an om based on the id | 
| protected T | AbstractBaseManager. getOMInstance(ObjectKey<?> key,
             boolean fromCache)Return an instance of an om based on the id | 
| protected List<T> | AbstractBaseManager. getOMs(ObjectKey<?>... ids)Gets a list of om's based on id's. | 
| protected T | AbstractBaseManager. putInstanceImpl(ObjectKey<?> key,
               T om)Put an object into the cache | 
| protected T | AbstractBaseManager. removeInstanceImpl(ObjectKey<?> key)Remove an object from the cache | 
| protected abstract T | AbstractBaseManager. retrieveStoredOM(ObjectKey<?> id)Retrieve an object from persistent storage | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<T> | AbstractBaseManager. getOMs(List<? extends ObjectKey<?>> ids)Gets a list of om's based on id's. | 
| protected List<T> | AbstractBaseManager. getOMs(List<? extends ObjectKey<?>> ids,
      boolean fromCache)Gets a list of om's based on id's. | 
| protected abstract List<T> | AbstractBaseManager. retrieveStoredOMs(List<? extends ObjectKey<?>> ids)Gets a list of om's based on id's. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BooleanKeyThis class can be used as an ObjectKey to uniquely identify an
 object within an application where the id consists
 of a Boolean. | 
| class  | ComboKeyThis class can be used as an ObjectKey to uniquely identify an
 object within an application where the key consists of multiple
 entities (such a String[] representing a multi-column primary key). | 
| class  | DateKeyThis class can be used as an ObjectKey to uniquely identify an
 object within an application where the id is a Date. | 
| class  | NumberKeyThis class can be used as an ObjectKey to uniquely identify an
 object within an application where the id  consists
 of a single entity such a GUID or the value of a db row's primary key. | 
| class  | SimpleKey<T>This empty class marks an ObjectKey as being capable of being
 represented as a single column in a database. | 
| class  | StringKeyThis class can be used as an ObjectKey to uniquely identify an
 object within an application where the id  consists
 of a single entity such a GUID or the value of a db row's primary key. | 
| Modifier and Type | Method and Description | 
|---|---|
| <O extends ObjectKey<T>> | ObjectKey. setValue(O key)Sets the internal representation to the same object used by key. | 
| Modifier and Type | Method and Description | 
|---|---|
| ObjectKey<?> | ObjectModel. getPrimaryKey()getter for the object primaryKey. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ObjectModel. setPrimaryKey(ObjectKey<?> primaryKey)Sets the PrimaryKey for the object. | 
| Modifier and Type | Method and Description | 
|---|---|
| ObjectKey<?> | BasePeerImpl. doInsert(ColumnValues insertValues)Inserts a record into a database table. | 
| ObjectKey<?> | AbstractPeerImpl. doInsert(ColumnValues columnValues,
        Connection con)Method to do inserts. | 
| ObjectKey<?> | BasePeerImpl. doInsert(ColumnValues insertValues,
        Connection connection)Inserts a record into a database table. | 
| Modifier and Type | Method and Description | 
|---|---|
| Criteria | AbstractPeerImpl. buildCriteria(ObjectKey<?> pk)Build a Criteria object which selects all objects which have a given
 primary key. | 
| int | AbstractPeerImpl. doDelete(ObjectKey<?> pk)Deletes a row in the database. | 
| int | AbstractPeerImpl. doDelete(ObjectKey<?> pk,
        Connection con)Deletes a row in the database. | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.