public class MicTransactable extends java.lang.Object implements Transactable
Constructor and Description |
---|
MicTransactable() |
Modifier and Type | Method and Description |
---|---|
void |
commitTransaction(MXTransaction txn)
This method will be called during commit of the transaction
|
void |
fireEventsAfterDB(MXTransaction txn)
This method will be called during save of the transaction
|
void |
fireEventsAfterDBCommit(MXTransaction txn)
This method will be called during save of the transaction
|
void |
fireEventsBeforeDB(MXTransaction txn)
This method will be called during save of the transaction
|
MboSetRemote |
getMboSet()
This method will get MboSet of the object
|
void |
rollbackTransaction(MXTransaction txn)
This method will be called during rollback of the transaction
|
void |
saveTransaction(MXTransaction txn)
This method will be called during save of the transaction
|
void |
setMboSet(MboSetRemote set)
This method will save MboSet as instance variable
|
void |
undoTransaction(MXTransaction txn)
This method will be called during undo of the transaction
|
boolean |
validateTransaction(MXTransaction txn)
validate transaction.
|
public void setMboSet(MboSetRemote set)
set
- Give reference to MboSet.public MboSetRemote getMboSet()
public void saveTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
saveTransaction
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void commitTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
commitTransaction
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void rollbackTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
rollbackTransaction
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void undoTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
undoTransaction
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic boolean validateTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
validateTransaction
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void fireEventsBeforeDB(MXTransaction txn) throws MXException, java.rmi.RemoteException
fireEventsBeforeDB
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void fireEventsAfterDB(MXTransaction txn) throws MXException, java.rmi.RemoteException
fireEventsAfterDB
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void fireEventsAfterDBCommit(MXTransaction txn) throws MXException, java.rmi.RemoteException
fireEventsAfterDBCommit
in interface Transactable
txn
- Give reference to transaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exception