public class BOSaver extends java.lang.Object implements SaveBOImplementationI
| Constructor and Description |
|---|
BOSaver(DBManLocalI _dbm) |
BOSaver(DBManLocalI _dbm,
Benutzer _user) |
| 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.
|
boolean |
isStubCloneOnSave() |
TransactionAnswer |
saveBO(Transaction tx)
Saves (the BOs of) a Transaction.
|
TransactionAnswer |
saveBO(Transaction tx,
boolean ignoreConflicts)
Saves (the BOs of) a Transaction.
|
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl) |
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl,
boolean ignoreConflicts) |
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl,
boolean ignoreConflicts,
Benutzer onBehalfOf) |
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl,
de.ipcon.db.core.SaveBOListenerI saveBOListener)
Saves (the BOs of) a Transaction.
|
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl,
de.ipcon.db.core.SaveBOListenerI saveBOListener,
boolean ignoreConflicts)
Saves (the BOs of) a Transaction.
|
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl,
de.ipcon.db.core.SaveBOListenerI saveBOListener,
boolean ignoreConflicts,
int lockTimeout)
Saves (the BOs of) a Transaction.
|
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl,
de.ipcon.db.core.SaveBOListenerI saveBOListener,
boolean ignoreConflicts,
int lockTimeout,
int retries)
Saves (the BOs of) a Transaction.
|
static TransactionAnswer |
saveBO(Transaction tx,
SaveBOImplementationI saveBOImpl,
de.ipcon.db.core.SaveBOListenerI saveBOListener,
boolean ignoreConflicts,
int lockTimeout,
int retries,
Benutzer onBehalfOf)
Saves (the BOs of) a Transaction.
|
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.
|
void |
setStubCloneOnSave(boolean $13) |
public BOSaver(DBManLocalI _dbm)
public BOSaver(DBManLocalI _dbm, Benutzer _user)
public static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl) throws TransactionConflictException
TransactionConflictExceptionpublic static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl, boolean ignoreConflicts) throws TransactionConflictException
TransactionConflictExceptionpublic static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl, boolean ignoreConflicts, Benutzer onBehalfOf) throws TransactionConflictException
TransactionConflictExceptionpublic static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl, de.ipcon.db.core.SaveBOListenerI saveBOListener) throws TransactionConflictException
Saves (the BOs of) a Transaction.
TransactionConflictExceptionpublic static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl, de.ipcon.db.core.SaveBOListenerI saveBOListener, boolean ignoreConflicts) throws TransactionConflictException
Saves (the BOs of) a Transaction.
TransactionConflictExceptionpublic static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl, de.ipcon.db.core.SaveBOListenerI saveBOListener, boolean ignoreConflicts, int lockTimeout) throws TransactionConflictException
Saves (the BOs of) a Transaction.
TransactionConflictExceptionpublic static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl, de.ipcon.db.core.SaveBOListenerI saveBOListener, boolean ignoreConflicts, int lockTimeout, int retries) throws TransactionConflictException
Saves (the BOs of) a Transaction.
TransactionConflictExceptionpublic static TransactionAnswer saveBO(Transaction tx, SaveBOImplementationI saveBOImpl, de.ipcon.db.core.SaveBOListenerI saveBOListener, boolean ignoreConflicts, int lockTimeout, int retries, Benutzer onBehalfOf) throws TransactionConflictException
Saves (the BOs of) a Transaction.
TransactionConflictExceptionpublic Transaction getNewTransaction()
SaveBOImplementationITransaction bound to this persistence provider.getNewTransaction in interface SaveBOImplementationITransaction instancepublic Transaction getNewTransaction(java.lang.String desc)
SaveBOImplementationITransaction with a descriptive label.getNewTransaction in interface SaveBOImplementationIdesc - an optional diagnostic label or audit description for the transactionTransaction instancepublic SchemaI getSchema()
SaveBOImplementationIgetSchema in interface SaveBOImplementationISchemaI metadata instancepublic TransactionAnswer saveBO(Transaction tx) throws TransactionConflictException
Saves (the BOs of) a Transaction.
Does some stuff normally done by the *Clients but we have to do it ourselves because we're using the "low-level" DBManLocalI.
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction tx, boolean ignoreConflicts) throws TransactionConflictException
Saves (the BOs of) a Transaction.
Does some stuff normally done by the *Clients but we have to do it ourselves because we're using the "low-level" DBManLocalI.
TransactionConflictExceptionpublic TransactionAnswer saveBOImpl(Transaction tx)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - the Transaction containing modified, inserted, or deleted business objectsTransactionAnswer containing execution results, or null if bypassedSaveBOImplementationI.saveBOImpl(Transaction, int, int, Benutzer)public TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - 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 bypassedSaveBOImplementationI.saveBOImpl(Transaction, int, int, Benutzer)public TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout, int retries)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - 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 bypassedSaveBOImplementationI.saveBOImpl(Transaction, int, int, Benutzer)public TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout, int retries, Benutzer onBehalfOf)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - 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 bypassedpublic boolean isStubCloneOnSave()
public void setStubCloneOnSave(boolean $13)
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.