Package lumis.portal.util
Interface PortalUtilInternal.ITransactionAware<T>
-
- Type Parameters:
T
-
- Enclosing class:
- PortalUtilInternal
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface PortalUtilInternal.ITransactionAware<T>
Piece of code that runs with a transaction.- Since:
- 9.0.0
- Version:
- $Revision: 26318 $ $Date: 2024-04-11 16:45:43 -0300 (Thu, 11 Apr 2024) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
exec(ITransaction transaction)
Executes a piece of code with a given transaction.
-
-
-
Method Detail
-
exec
T exec(ITransaction transaction) throws java.lang.Exception
Executes a piece of code with a given transaction.- Parameters:
transaction
- the transaction.- Returns:
- the code result.
- Throws:
java.lang.Exception
- Since:
- 9.0.0
-
-