|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.svc.repository.service.CollectionRunner
public abstract class CollectionRunner
Callback interface used for run a method within a transaction that operates on a collection of objects.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
CollectionRunner(java.util.Collection pObjectsToSave)
Creates a save runner with a collection of objects to save. |
Method Summary | |
---|---|
void |
runTransaction()
Runs a series of transactions inside a single transaction. |
abstract void |
runTransaction(java.lang.Object pObject)
Runs a transaction with the given object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public CollectionRunner(java.util.Collection pObjectsToSave)
pObjectsToSave
- The objects to save.Method Detail |
---|
public void runTransaction() throws TransactionException
runTransaction
in interface TransactionRunner
TransactionException
public abstract void runTransaction(java.lang.Object pObject) throws TransactionException
TransactionException
- If an exception occurs in the overriding method call.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |