public abstract class AbstractPersistenceHandler extends Object implements StorePersistenceHandler
StorePersistenceHandler.PersistenceBatchType| Modifier and Type | Field and Description |
|---|---|
protected StoreManager |
storeMgr |
| Constructor and Description |
|---|
AbstractPersistenceHandler(StoreManager storeMgr) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertReadOnlyForUpdateOfObject(ObjectProvider op)
Convenience method to assert when this StoreManager is read-only and the specified object is attempting to be updated.
|
Object |
findObjectForUnique(ExecutionContext ec,
AbstractClassMetaData cmd,
String[] memberNames,
Object[] values)
Method to find the object with the specified value(s) for the member(s) of the specified type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchEnd, batchStart, close, deleteObject, deleteObjects, fetchObject, fetchObjects, findObject, findObjects, insertObject, insertObjects, locateObject, locateObjects, updateObjectprotected StoreManager storeMgr
public AbstractPersistenceHandler(StoreManager storeMgr)
public Object findObjectForUnique(ExecutionContext ec, AbstractClassMetaData cmd, String[] memberNames, Object[] values)
StorePersistenceHandlerfindObjectForUnique in interface StorePersistenceHandlerec - ExecutionContextcmd - Metadata for the class in questionmemberNames - Member(s) that define the objectvalues - Value(s) for the member(s)public void assertReadOnlyForUpdateOfObject(ObjectProvider op)
op - ObjectProvider for the objectCopyright © 2019. All rights reserved.