public static class DBMan.SaveResult extends java.lang.Object implements SaveResultI
| Constructor and Description |
|---|
SaveResult() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.RuntimeException |
getFunctionException() |
java.lang.Object |
getFunctionResult()
Contains the result of the function that was passed to the save method.
|
java.lang.RuntimeException |
getSaveException()
FIXME!!
|
TransactionAnswer |
getTransactionAnswer()
If the save-process was successful the TransactionAnswer is available via this method.
|
void |
setFunctionResult(java.lang.Object o) |
void |
setFunctionThrowable(java.lang.Throwable t) |
void |
setSaveException(java.lang.RuntimeException $1) |
void |
setTransactionAnswer(TransactionAnswer $2) |
boolean |
wasSuccessful()
Method which indicates if the result of the saving was successful or not.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSaveOrFunctionException, getTransactionConflictReportpublic void setFunctionThrowable(java.lang.Throwable t)
public java.lang.RuntimeException getFunctionException()
getFunctionException in interface SaveResultIRuntimeException that might have been signalled during the invocation of the function
that was passed to the save methodpublic void setFunctionResult(java.lang.Object o)
public java.lang.Object getFunctionResult()
throws java.lang.RuntimeException
SaveResultIgetFunctionResult in interface SaveResultIjava.lang.RuntimeException - wrapping a Throwable that might have been signalled during the invocation of the function
that was passed to the save methodpublic boolean wasSuccessful()
SaveResultIwasSuccessful in interface SaveResultIpublic java.lang.RuntimeException getSaveException()
getSaveException in interface SaveResultIRuntimeException that might have been signalled during the save-process of the transaction.public void setSaveException(java.lang.RuntimeException $1)
public TransactionAnswer getTransactionAnswer()
SaveResultIgetTransactionAnswer in interface SaveResultITransactionAnswer if the save-process was successful.public void setTransactionAnswer(TransactionAnswer $2)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.