|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ObjectKey | |
---|---|
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. |
Uses of ObjectKey in org.apache.torque.manager |
---|
Methods in org.apache.torque.manager with parameters of type ObjectKey | |
---|---|
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 abstract T |
AbstractBaseManager.retrieveStoredOM(ObjectKey id)
Retrieve an object from persistent storage |
Method parameters in org.apache.torque.manager with type arguments of type ObjectKey | |
---|---|
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. |
Uses of ObjectKey in org.apache.torque.om |
---|
Subclasses of ObjectKey in org.apache.torque.om | |
---|---|
class |
BooleanKey
This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a Boolean. |
class |
ComboKey
This 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 |
DateKey
This class can be used as an ObjectKey to uniquely identify an object within an application where the id is a Date. |
class |
NumberKey
This 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
This empty class marks an ObjectKey as being capable of being represented as a single column in a database. |
class |
StringKey
This 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. |
Methods in org.apache.torque.om that return ObjectKey | |
---|---|
ObjectKey |
Persistent.getPrimaryKey()
getter for the object primaryKey. |
Methods in org.apache.torque.om with parameters of type ObjectKey | |
---|---|
void |
Persistent.setPrimaryKey(ObjectKey primaryKey)
Sets the PrimaryKey for the object. |
Uses of ObjectKey in org.apache.torque.util |
---|
Methods in org.apache.torque.util that return ObjectKey | |
---|---|
ObjectKey |
BasePeerImpl.doInsert(ColumnValues insertValues)
Inserts a record into a database table. |
static ObjectKey |
BasePeer.doInsert(ColumnValues insertValues)
Deprecated. Inserts a record into a database table. |
ObjectKey |
BasePeerImpl.doInsert(ColumnValues insertValues,
Connection connection)
Inserts a record into a database table. |
static ObjectKey |
BasePeer.doInsert(ColumnValues insertValues,
Connection connection)
Deprecated. Inserts a record into a database table. |
ObjectKey |
Criteria.getObjectKey(Column column)
Deprecated. Convenience method to return an ObjectKey. |
ObjectKey |
Criteria.getObjectKey(String table,
String column)
Deprecated. Convenience method to return an ObjectKey. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |