Uses of Class
org.apache.torque.om.ObjectKey
Packages that use ObjectKey
Package
Description
A manager/factory API for use with Torque-generated data beans.
API for the classic Torque-generated object model.
Misc. utility classes.
-
Uses of ObjectKey in org.apache.torque.manager
Fields in org.apache.torque.manager with type parameters of type ObjectKeyModifier and TypeFieldDescriptionAbstractBaseManager.cacheused to cache the om objects. cache is set by the region propertyMethods in org.apache.torque.manager with parameters of type ObjectKeyModifier and TypeMethodDescriptionprotected TGet an object from cacheprotected TAbstractBaseManager.getOMInstance(ObjectKey<?> id) Return an instance of an om based on the idprotected TAbstractBaseManager.getOMInstance(ObjectKey<?> key, boolean fromCache) Return an instance of an om based on the idGets a list of om's based on id's.protected TAbstractBaseManager.putInstanceImpl(ObjectKey<?> key, T om) Put an object into the cacheprotected TAbstractBaseManager.removeInstanceImpl(ObjectKey<?> key) Remove an object from the cacheprotected abstract TAbstractBaseManager.retrieveStoredOM(ObjectKey<?> id) Retrieve an object from persistent storageMethod parameters in org.apache.torque.manager with type arguments of type ObjectKeyModifier and TypeMethodDescriptionGets a list of om's based on id's.Gets a list of om's based on id's.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.omModifier and TypeClassDescriptionclassThis class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a Boolean.classThis 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).classThis class can be used as an ObjectKey to uniquely identify an object within an application where the id is a Date.classThis 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.classSimpleKey<T>This empty class marks an ObjectKey as being capable of being represented as a single column in a database.classThis 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 with type parameters of type ObjectKeyModifier and TypeMethodDescriptionObjectKey.setValue(O key) Sets the internal representation to the same object used by key.Methods in org.apache.torque.om that return ObjectKeyModifier and TypeMethodDescriptionObjectKey<?> ObjectModel.getPrimaryKey()getter for the object primaryKey.Methods in org.apache.torque.om with parameters of type ObjectKeyModifier and TypeMethodDescriptionvoidObjectModel.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 ObjectKeyModifier and TypeMethodDescriptionObjectKey<?> AbstractPeerImpl.doInsert(ColumnValues columnValues, Connection con) Method to do inserts.ObjectKey<?> BasePeerImpl.doInsert(ColumnValues insertValues) Inserts a record into a database table.ObjectKey<?> BasePeerImpl.doInsert(ColumnValues insertValues, Connection connection) Inserts a record into a database table.Methods in org.apache.torque.util with parameters of type ObjectKeyModifier and TypeMethodDescriptionAbstractPeerImpl.buildCriteria(ObjectKey<?> pk) Build a Criteria object which selects all objects which have a given primary key.intDeletes a row in the database.intAbstractPeerImpl.doDelete(ObjectKey<?> pk, Connection con) Deletes a row in the database.