public interface SaveBOImplementationI
Implemented by database coordinators and server gateways (such as ServerAccessGateway
or local persistence managers) to execute the physical commit of recorded modifications
within a Transaction, handle optimistic/pessimistic lock retries, and provide
access to schema metadata and transaction factory methods.
Transaction,
TransactionAnswer,
SaveBOListenerI| Modifier and Type | Method and Description |
|---|---|
Transaction |
getNewTransaction()
Creates and initializes a new empty
Transaction bound to this persistence provider. |
Transaction |
getNewTransaction(java.lang.String desc)
Creates and initializes a new empty
Transaction with a descriptive label. |
SchemaI |
getSchema()
Returns the active database schema definition associated with this persistence provider.
|
TransactionAnswer |
saveBOImpl(Transaction tx)
Persists all modifications recorded within the specified transaction using default lock timeouts
and retry policies.
|
TransactionAnswer |
saveBOImpl(Transaction tx,
int lockTimeout)
Persists all modifications recorded within the specified transaction using default retry policies.
|
TransactionAnswer |
saveBOImpl(Transaction tx,
int lockTimeout,
int retries)
Persists all modifications recorded within the specified transaction, using default user credentials.
|
TransactionAnswer |
saveBOImpl(Transaction tx,
int lockTimeout,
int retries,
Benutzer onBehalfOf)
Persists all modifications recorded within the specified transaction to the database,
executing on behalf of an explicit user.
|
TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout, int retries, Benutzer onBehalfOf)
tx - the Transaction containing modified, inserted, or deleted business objectslockTimeout - timeout duration in seconds when waiting for locked database records;
0 indicates no timeout (wait indefinitely), values > 0 specify
an explicit duration in seconds, and values < 0 retain the underlying
persistence layer's default timeout (30 seconds)retries - the maximum number of retry attempts upon transient lock contention or serialization
failures before abortingonBehalfOf - the Benutzer whose authorization and audit identity govern this commit operation,
or null to use the default session userTransactionAnswer containing execution results, conflict details, and ID mappings;
or null if persistence was bypassedTransactionAnswer saveBOImpl(Transaction tx, int lockTimeout, int retries)
tx - the Transaction containing modified, inserted, or deleted business objectslockTimeout - timeout duration in seconds when waiting for locked database records;
0 indicates no timeout (wait indefinitely), values > 0 specify
an explicit duration in seconds, and values < 0 retain the underlying
persistence layer's default timeout (30 seconds)retries - the maximum number of retry attempts before abortingTransactionAnswer containing execution results, or null if bypassedsaveBOImpl(Transaction, int, int, Benutzer)TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout)
tx - the Transaction containing modified, inserted, or deleted business objectslockTimeout - timeout duration in seconds when waiting for locked database records;
0 indicates no timeout (wait indefinitely), values > 0 specify
an explicit duration in seconds, and values < 0 retain the underlying
persistence layer's default timeout (30 seconds)TransactionAnswer containing execution results, or null if bypassedsaveBOImpl(Transaction, int, int, Benutzer)TransactionAnswer saveBOImpl(Transaction tx)
tx - the Transaction containing modified, inserted, or deleted business objectsTransactionAnswer containing execution results, or null if bypassedsaveBOImpl(Transaction, int, int, Benutzer)Transaction getNewTransaction()
Transaction bound to this persistence provider.Transaction instanceTransaction getNewTransaction(java.lang.String desc)
Transaction with a descriptive label.desc - an optional diagnostic label or audit description for the transactionTransaction instanceCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.