|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Uses of IPersistent in org.jaffa.persistence |
| Classes in org.jaffa.persistence that implement IPersistent | |
class |
Persistent
Base class for all persistent objects. |
| Methods in org.jaffa.persistence that return IPersistent | |
IPersistent |
UOW.newPersistentInstance(Class persistentClass)
Generates an appropriate instance for the input persistentClass. |
protected IPersistent |
Persistent.actualInstance()
This method simply returns the 'this' object. |
| Uses of IPersistent in org.jaffa.persistence.engines |
| Methods in org.jaffa.persistence.engines that return IPersistent | |
IPersistent |
IPersistenceEngine.newPersistentInstance(Class persistentClass)
Generates an appropriate instance for the input persistentClass. |
| Methods in org.jaffa.persistence.engines with parameters of type IPersistent | |
void |
IPersistenceEngine.add(IPersistent object)
Adds an object to the persistent store. |
void |
IPersistenceEngine.update(IPersistent object)
Updates an object from the persistent store. |
void |
IPersistenceEngine.delete(IPersistent object)
Deletes an object from the persistent store. |
void |
IPersistenceEngine.acquireLock(IPersistent object)
This will acquire a lock on the database row corrsponding to the input persistent object. |
| Uses of IPersistent in org.jaffa.persistence.engines.jdbcengine |
| Subinterfaces of IPersistent in org.jaffa.persistence.engines.jdbcengine | |
interface |
IStoredProcedure
This is the interface for a StoredProcedure. |
| Methods in org.jaffa.persistence.engines.jdbcengine that return IPersistent | |
IPersistent |
Engine.newPersistentInstance(Class persistentClass)
Generates an appropriate instance for the input persistentClass. |
| Methods in org.jaffa.persistence.engines.jdbcengine with parameters of type IPersistent | |
void |
Engine.add(IPersistent object)
Adds an object to the persistent store. |
void |
Engine.update(IPersistent object)
Updates an object from the persistent store. |
void |
Engine.delete(IPersistent object)
Deletes an object from the persistent store. |
void |
Engine.acquireLock(IPersistent object)
This will acquire a lock on the database row corrsponding to the input persistent object. |
| Uses of IPersistent in org.jaffa.persistence.engines.jdbcengine.datasource |
| Methods in org.jaffa.persistence.engines.jdbcengine.datasource with parameters of type IPersistent | |
void |
PersistentTransaction.addObject(IPersistent object)
Adds an object to the transaction to be written. |
void |
PersistentTransaction.updateObject(IPersistent object)
Adds an object to the transaction to be updated. |
void |
PersistentTransaction.deleteObject(IPersistent object)
Adds an object to the transaction to be deleted. |
| Uses of IPersistent in org.jaffa.persistence.engines.jdbcengine.proxy |
| Methods in org.jaffa.persistence.engines.jdbcengine.proxy that return IPersistent | |
static IPersistent |
PersistentInstanceFactory.newPersistentInstance(Class persistentClass)
Generates an appropriate instance for the input persistentClass. |
| Methods in org.jaffa.persistence.engines.jdbcengine.proxy with parameters of type IPersistent | |
static Class |
PersistentInstanceFactory.getActualPersistentClass(IPersistent object)
This is a helper method to determine the actual class which was used to create an IPersistent instance. |
static void |
PersistentInstanceFactory.setInstanceValue(IPersistent object,
String attributeName,
Object value)
This is used by the MoldingService to initialize the Persistent instance. |
| Uses of IPersistent in org.jaffa.persistence.engines.jdbcengine.querygenerator |
| Methods in org.jaffa.persistence.engines.jdbcengine.querygenerator with parameters of type IPersistent | |
static String |
StatementHelper.getInsertStatementString(IPersistent object,
String engineType)
Returns a SQL String for use in Statements for inserting records into the table corresponding to the input Persistent object. |
static String |
StatementHelper.getUpdateStatementString(IPersistent object,
String engineType)
Returns a SQL String for use in Statements for updating records in the table corresponding to the input Persistent object. |
static String |
StatementHelper.getDeleteStatementString(IPersistent object,
String engineType)
Returns a SQL String for use in Statements for deleting records from the table corresponding to the input Persistent object. |
static String |
StatementHelper.getLockStatementString(IPersistent object,
String engineType)
Returns a SQL String for use in Statements for locking records in the table corresponding to the input Persistent object. |
static void |
JdbcBridge.executeAdd(IPersistent object,
DataSource dataSource)
Adds the Persistent object to the database. |
static void |
JdbcBridge.executeUpdate(IPersistent object,
DataSource dataSource)
Updates the Persistent object in the database. |
static void |
JdbcBridge.executeDelete(IPersistent object,
DataSource dataSource)
Deletes the Persistent object from the database. |
static void |
JdbcBridge.executeLock(IPersistent object,
DataSource dataSource)
Locks the underlying database row of the Persistent object. |
static void |
JdbcBridge.updatePersistentFlagsOnAdd(IPersistent object)
This method sets the appropriate flags on a Persistent object after being added to the database. |
static void |
JdbcBridge.updatePersistentFlagsOnUpdate(IPersistent object)
This method sets the appropriate flags on a Persistent object after being updated to the database. |
static void |
JdbcBridge.updatePersistentFlagsOnDelete(IPersistent object)
This method sets the appropriate flags on a Persistent object after being deleted from the database. |
static void |
JdbcBridge.updatePersistentFlagsOnQuery(IPersistent object,
Criteria criteria)
This method sets the appropriate flags on a Persistent object after being retrieved from the database. |
static void |
JdbcBridge.updatePersistentFlagsOnLock(IPersistent object)
This method sets the appropriate flags on a Persistent object after the underlying row is locked in the database. |
| Uses of IPersistent in org.jaffa.persistence.engines.jdbcengine.util |
| Methods in org.jaffa.persistence.engines.jdbcengine.util that return IPersistent | |
static IPersistent |
MoldingService.getObject(ClassMetaData classMetaData)
Creates an instance of the persistent class, as defined in the input ClassMetaData defintion. |
static IPersistent |
MoldingService.getObject(ClassMetaData classMetaData,
ResultSet rs,
String engineType)
Creates an instance of the persistent class, as defined in the input ClassMetaData defintion. |
| Methods in org.jaffa.persistence.engines.jdbcengine.util with parameters of type IPersistent | |
static Object |
MoldingService.getInstanceValue(IPersistent object,
ClassMetaData classMetaData,
String attributeName)
This gets the value of the attributeName from the Persistent object, using the accessor method cached in the ClassMetaData defintion. |
static void |
MoldingService.setInstanceValue(IPersistent object,
ClassMetaData classMetaData,
String attributeName,
Object value)
This sets the value of the attribute from the Persistent object, using the mutator method cached in the ClassMetaData defintion. |
| Uses of IPersistent in org.jaffa.persistence.util |
| Methods in org.jaffa.persistence.util that return IPersistent | |
static IPersistent |
PersistentHelper.loadFromSerializedKey(UOW uow,
String serializedKey)
This will load the persistent object from the input serialized key, by invoking the findByPK() method of the persistent class encoded in the input String. |
| Methods in org.jaffa.persistence.util with parameters of type IPersistent | |
static void |
PersistentHelper.checkMandatoryFields(IPersistent object)
This will check all the mandatory fields of the persistent object. |
static boolean |
PersistentHelper.exists(UOW uow,
IPersistent object)
This will query the database to see if the primary-key of the input persistent object is already in use. |
static String |
PersistentHelper.generateSerializedKey(IPersistent object)
This will generate a unique string for the input persistent object, based on the persistent class name and its key values. |
| Uses of IPersistent in org.jaffa.rules.examples.domain |
| Classes in org.jaffa.rules.examples.domain that implement IPersistent | |
class |
ValidFieldValue
Auto Generated Persistent class for the VALID_FIELD_VALUE table. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||