|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface CpoTrxAdapter
CpoTrxAdapter adds commit, rollback, and close functionality to the methods already in CpoAdapter. This allows the user to control the transaction boundries of CPO.
| Field Summary |
|---|
| Fields inherited from interface org.synchronoss.cpo.CpoAdapter |
|---|
CREATE, DELETE, EXECUTE, EXIST, INSERT, LIST, PERSIST, RETRIEVE, UPDATE |
| Method Summary | |
|---|---|
void |
close()
Closes the current transaction behind the CpoTrxAdapter. |
void |
commit()
Commits the current transaction behind the CpoTrxAdapter |
boolean |
isClosed()
Returns true if the TrxAdapter has been closed, false if it is still active |
void |
rollback()
Rollback the current transaction behind the CpoTrxAdapter |
| Methods inherited from interface org.synchronoss.cpo.CpoAdapter |
|---|
clearMetaClass, clearMetaClass, clearMetaClass, deleteObject, deleteObject, deleteObjects, deleteObjects, executeObject, executeObject, executeObject, existsObject, existsObject, getCpoTrxAdapter, insertObject, insertObject, insertObjects, insertObjects, newOrderBy, newOrderBy, newWhere, newWhere, newWhere, persistObject, persistObject, persistObjects, persistObjects, retrieveObject, retrieveObject, retrieveObject, retrieveObjects, retrieveObjects, transactObjects, updateObject, updateObject, updateObjects, updateObjects |
| Method Detail |
|---|
void commit()
throws CpoException
CpoException
void rollback()
throws CpoException
CpoException
void close()
throws CpoException
CpoException
boolean isClosed()
throws CpoException
CpoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||