public interface DBManLocalI extends de.ipcon.db.core.BackendBOLoaderI, DBManEventProviderI, ExpiringTokenStorageProviderI
BOQueryLoaderI.InternalHelper| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
$0 |
rootPaneToLockOnConnectionInterrupt| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(DBManEventListenerI l) |
void |
addEventListener(DBManEventListenerI l,
DBManEventFilter filter) |
void |
addFeatureListener(FeatureListenerI fl) |
void |
addNewIdRange(KeyRange range) |
boolean |
areGratuitousLocalConnectionsAvailable() |
void |
bumpLastSuccessfulSync() |
void |
bumpLastSuccessfulSync(long ts) |
void |
cancelForcedClientDisconnect(ServerAdminAuthorizerI authorizer) |
void |
cancelForcedClientDisconnect(ServerAdminAuthorizerI authorizer,
java.util.Map msgClients) |
void |
checkServerBN(BOLoaderI bol)
checks whether this server's nodeNumber is valid (called only from SyncService)
|
void |
demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer) |
void |
demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer,
int cSecsDelay) |
void |
demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer,
int cSecsDelay,
java.lang.String msg) |
void |
demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer,
int cSecsDelay,
java.lang.String msg,
java.util.Map msgClients) |
static DBManLocalI |
findDBManOrFail(BOLoaderI bol)
Returns the first DBManLocalI of the passed BOLoaderI in its
loader-chain or the passed BOLoaderI if it is a DBManLocalI itself.
|
void |
fireDBManEvent(DBManEvent evt) |
long |
getAvailableIds() |
byte[] |
getBLOB(Benutzer user,
java.lang.Long id) |
long |
getBLOB(Benutzer user,
java.lang.Long id,
java.io.DataOutput os) |
long |
getBLOB(Benutzer user,
java.lang.Long id,
java.io.DataOutput os,
boolean closeOS) |
long |
getBLOB(Benutzer user,
java.lang.Long id,
java.io.DataOutput os,
boolean closeOS,
java.lang.Long backuppingBPId) |
byte[] |
getBLOB(Benutzer user,
java.lang.Long id,
java.lang.Long backuppingBPId) |
long |
getBLOB(Benutzer user,
java.lang.Long id,
java.io.OutputStream os) |
long |
getBLOB(Benutzer user,
java.lang.Long id,
java.io.OutputStream os,
boolean closeOS) |
long |
getBLOB(Benutzer user,
java.lang.Long id,
java.io.OutputStream os,
boolean closeOS,
java.lang.Long backuppingBPId) |
InputStreamWrapper |
getBLOBAsStream(Benutzer user,
java.lang.Long id) |
InputStreamWrapper |
getBLOBAsStream(Benutzer user,
java.lang.Long id,
java.lang.Long backuppingBPId) |
InitialBLOBTransferMetaDataContainer |
getBLOBBOIdsForIntitialBLOBCopy(java.util.Map idsAndVFilesOnSyncNode,
java.util.List pendingBLOBChangeBOIdsOnSyncNode,
java.util.List pendingBLOBChangeBOIdsOnAuthNode) |
VFile |
getBLOBInfo(Benutzer user,
java.lang.Long id) |
VFile |
getBLOBInfo(Benutzer user,
java.lang.Long id,
java.lang.Long backuppingBPId) |
CryptoHandlerI |
getClientCryptoHandler() |
DBManConfigurationHelperI |
getConfiguration() |
long |
getCurrentSyncLag() |
java.lang.String |
getDateKernelBuild() |
FulltextSearcherI |
getFulltextSearcher() |
KeyRange |
getIdRange(long size) |
java.lang.String |
getInstanceName() |
java.lang.String |
getJdbcDriver() |
java.lang.String |
getJdbcPass() |
java.lang.String |
getJdbcUrl() |
java.lang.String |
getJdbcUser() |
BackendL10nProviderI |
getL10nProvider() |
DBManUserContextI |
getNewUserContext() |
java.lang.Long |
getNextId()
get a unique Long id from the backend.
|
default BN |
getNode()
Returns the BN object represented by the NodeNumber of this DBManLocalI or null if no NodeNumber is set or no BN with that Id can be loaded.
|
java.lang.String |
getNodeLocalStatusValue(java.lang.String key)
Returns the value set for the given key or null if no matching entry does exist from the table for "status values"
(see
StatusValueManager for a bit more info). |
java.lang.Long |
getNodeNumber() |
PersistenceHandlerI |
getPersistenceHandler()
Creates and returns a new
PersistenceHandlerI configured strictly for
read-only operations. |
PersistenceHandlerI |
getPersistenceHandlerForSaving()
Creates and returns a new
PersistenceHandlerI configured for
transactional read-write operations. |
DBManBootstrapHelper |
getProjectConfiguration() |
SchemaI |
getSchema()
gets a reference to the schema which is used by this BOLoader.
|
ServerConnectionInfo |
getServerConnectionInfo() |
ServerCryptoHandlerI |
getServerCryptoHandler() |
ServerFileVaultI |
getServerFileVault() |
ServerLocalTransactionI |
getServerLocalTransaction()
Convenience factory creating a new
ServerLocalTransactionI with default parameters. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session)
Creates a
ServerLocalTransactionI bound to an authenticated session and user. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc)
Creates a
ServerLocalTransactionI bound to an authenticated session, user, and description. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout)
Creates a
ServerLocalTransactionI bound to an authenticated session with custom lock timeout. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier)
Creates a
ServerLocalTransactionI with an explicit temporary ID supplier. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema)
Creates a
ServerLocalTransactionI with an optional instrumented schema. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema,
boolean intendedForSaving)
Primary factory creating a new
ServerLocalTransactionI bound to an authenticated user and session. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc)
Convenience factory creating a new
ServerLocalTransactionI with a transaction description. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout)
Convenience factory creating a new
ServerLocalTransactionI with custom lock timeout. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier)
Convenience factory creating a new
ServerLocalTransactionI with a temporary ID supplier. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema)
Convenience factory creating a new
ServerLocalTransactionI with an optional instrumented schema. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema,
boolean intendedForSaving)
Primary factory creating a new
ServerLocalTransactionI prepared for execution on the server. |
BackendSessionI[] |
getSessions() |
java.util.Date |
getShutdownDate() |
boolean |
hasBLOB(Benutzer user,
java.lang.Long id) |
boolean |
hasBLOB(Benutzer user,
java.lang.Long id,
java.lang.Long backuppingBPId) |
java.util.BitSet |
haveBLOB(Benutzer user,
long[] ids) |
void |
initiateShutdown(ServerAdminAuthorizerI authorizer) |
void |
initiateShutdown(ServerAdminAuthorizerI authorizer,
int cSecsDelay) |
void |
initiateShutdown(ServerAdminAuthorizerI authorizer,
int cSecsDelay,
java.lang.String msg) |
boolean |
isAuthoritativeSyncServer() |
boolean |
isAvailable(java.lang.String feature) |
boolean |
isAvailableWithNoise(java.lang.String feature) |
boolean |
isLocked()
Returns whether the server is currently locked.
|
boolean |
isNotificationSystemActivated() |
BO |
loadBO(Benutzer user,
java.lang.Long id) |
BO |
loadBO(Benutzer user,
java.lang.Long id,
java.lang.Class<? extends BOI> classtip) |
BO |
loadBO(Benutzer user,
java.lang.Long id,
java.lang.Class<? extends BOI> classtip,
BOLoaderI injectedBOLoader) |
BO[] |
loadBOs(Benutzer user,
java.lang.Long[] ids) |
BO[] |
loadBOs(Benutzer user,
java.lang.Long[] ids,
java.lang.Class<? extends BOI> classtip) |
BO[] |
loadBOs(Benutzer user,
java.lang.Long[] ids,
java.lang.Class<? extends BOI> classtip,
BOLoaderI injectedBOLoader) |
Benutzer |
login(Anmeldung anmeldung,
boolean localConnection)
Checks if Benutzer with given anmeldung.getName() exists, checks if
anmeldung.getPasswort() is correct, checks if server is not locked (or
Benutzer is allowed to log in to locked server) and returns Benutzer.
|
de.ipcon.db.core.QueryResultsI |
query(Benutzer user,
java.lang.String query) |
de.ipcon.db.core.QueryResultsI |
query(Benutzer user,
java.lang.String query,
java.lang.Object[] pvals) |
de.ipcon.db.core.QueryResultsI |
query(Benutzer user,
java.lang.String query,
java.lang.Object[] pvals,
PermissionHandlerI permissionHandler) |
java.util.List |
queryBO(Benutzer user,
java.lang.String query) |
java.util.List |
queryBO(Benutzer user,
java.lang.String query,
java.lang.Object[] pvals) |
void |
removeEventListener(DBManEventListenerI l) |
void |
removeFeatureListener(FeatureListenerI fl) |
void |
resetPassword(java.lang.String username)
Sends a mail to the user with a new password - the old one will remain valid until the new one is used
|
void |
retryFailedNotifications(java.lang.Long mbaId)
Triggers retry of failed notifications for the
MyTISMBenachrichtigungsAuftrag with the given Id. |
SaveResultI |
save(Benutzer user,
BackendSessionI session,
java.lang.String desc,
groovy.lang.Closure cl)
Method to save a transaction which is handled by a closure in the parameter.
|
SaveResultI |
save(Benutzer user,
BackendSessionI session,
java.lang.String desc,
java.util.function.Consumer<Transaction> fn) |
SaveResultI |
save(Benutzer user,
BackendSessionI session,
java.lang.String desc,
java.util.function.Function<Transaction,? extends java.lang.Object> fn) |
SaveResultI |
save(Benutzer user,
BackendSessionI session,
java.lang.String desc,
ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn) |
SaveResultI |
save(Benutzer user,
java.lang.String desc,
groovy.lang.Closure cl)
Method to save a transaction which is handled by a closure in the parameter.
|
SaveResultI |
save(Benutzer user,
java.lang.String desc,
java.util.function.Consumer<Transaction> fn) |
SaveResultI |
save(Benutzer user,
java.lang.String desc,
java.util.function.Function<Transaction,? extends java.lang.Object> fn) |
SaveResultI |
save(Benutzer user,
java.lang.String desc,
ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn) |
SaveResultI |
save(groovy.lang.Closure cl)
Wrapper method to call
save(String, Closure) without a description for the transaction. |
SaveResultI |
save(java.util.function.Consumer<Transaction> fn) |
SaveResultI |
save(java.util.function.Function<Transaction,? extends java.lang.Object> fn) |
SaveResultI |
save(java.lang.String desc,
groovy.lang.Closure cl)
Same as
save(Benutzer, String, Closure), but without a Benutzer. |
SaveResultI |
save(java.lang.String desc,
java.util.function.Consumer<Transaction> fn) |
SaveResultI |
save(java.lang.String desc,
java.util.function.Function<Transaction,? extends java.lang.Object> fn) |
SaveResultI |
save(java.lang.String desc,
ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn) |
SaveResultI |
save(ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn) |
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx)
Persists the transaction using the default persistence handler.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph)
Persists the transaction without a custom veto handler.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler)
Persists the transaction using default lock timeouts and retries.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler,
int lockTimeout)
Persists the transaction using default retry policies on lock conflict.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler,
int lockTimeout,
int retries)
Persists the transaction without an associated SerializedTransaction.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler,
int lockTimeout,
int retries,
SerializedTransaction stxFromBackendRequestSave)
Persists the transaction without streaming the answer directly to an output channel.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler,
int lockTimeout,
int retries,
SerializedTransaction stxFromBackendRequestSave,
SecureObjectOutputI out)
Persists the changes recorded in the passed Transaction to the database.
|
TransactionAnswer |
saveServerLocalTransaction(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vh,
int lockTimeout,
boolean suppressLogs)
Persists changes recorded in a
ServerLocalTransactionI to the database. |
TransactionAnswer |
saveServerLocalTransaction(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
int lockTimeout,
boolean suppressLogs)
Persists changes recorded in a
ServerLocalTransactionI without an explicit veto handler. |
void |
sendSystemMessage(ServerAdminAuthorizerI authorizer,
java.lang.String msg) |
void |
sendSystemMessage(ServerAdminAuthorizerI authorizer,
java.lang.String msg,
java.util.Map msgClient) |
void |
sendUsernameHint(Benutzer user)
Sends a mail to the user with his username
|
void |
sessionAdded(BackendSessionI session) |
void |
sessionRemoved(BackendSessionI session) |
void |
setLocked(boolean lock,
ServerAdminAuthorizerI authorizer)
Sets the locked or unlocked state of the server.
|
void |
setNodeLocalStatusValue(java.lang.String key,
java.lang.String value)
Sets (inserts or updates) the given value for the given key in the table for "status values" (see
StatusValueManager for a bit more info). |
void |
stopShutdown(ServerAdminAuthorizerI authorizer) |
java.lang.Long |
testAuth(Anmeldung a)
Tests whether given credentials can be verified.
|
boolean |
testAuth(de.ipcon.db.core.PasswortUeberpruefung a)
Tests whether given credentials can be verified.
|
void |
triggerInitialDataCheck() |
void |
triggerIntegrityCheck() |
void |
triggerMetaDataCheck() |
void |
updateStructureReadAccessStatistics(java.util.Map<java.lang.Long,java.lang.Integer> statistics,
Benutzer user)
Updates the read access statistics for Struktur-s.
|
drain, execute, exists, exists, frapBOArrayFromCache, frapBOIArrayFromCache, frapBOsFromCache, frapFromCache, frapFromCache, getBO, getBO, getBOs, getBOs, getBOs, getBOs, getBOT, getBOUncached, getBOUncached, getCryptoHandler, getDefaultLocale, getEventProvider, getFeatureManager, getFileVault, getNonCachingLoader, getParentLoader, getRelationBOs, getRootLoader, isAncestorOf, isCaching, isLoggedIn, isLoggedInNN, isRecording, isRootLoader, isServerSide, isTesting, prepareQuery, prepareQuery, prepareQuery, prepareQuery, query, query, query, query, queryBO, queryBO, queryBO, queryRelationgetBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBInfo, getBLOBInfo, hasBLOB, hasBLOB, haveBLOB, haveBLOB, haveBLOBgetBOByAttr, getBOByAttr, getBOByAttr, getBOByAttrs, getBOByAttrs, getBOByAttrs, getBOsByAttrs, getBOsByAttrs, getBOsByAttrs, getBOsByAttrs, getOneBOByAttr, getUniqueBOByAttrsubscribeEvents, unsubscribeEvents, unsubscribeEventscreateExpiringToken, createExpiringToken, destroyExpiringToken, retrieveExpiringTokenstatic final java.lang.String $0
static DBManLocalI findDBManOrFail(BOLoaderI bol)
java.lang.IllegalStateException - if no DBManLocalI was found in the loader chain.ServerConnectionInfo getServerConnectionInfo()
DBManConfigurationHelperI getConfiguration()
PersistenceHandlerI getPersistenceHandler()
PersistenceHandlerI configured strictly for
read-only operations.
This handler is only for loading/retrieving objects from the database. It does not support transaction commits; any modifications made to objects loaded via this handler cannot be saved back to the database through this instance.
PersistenceHandlerI getPersistenceHandlerForSaving()
PersistenceHandlerI configured for
transactional read-write operations.
This handler supports both loading objects and persisting changes (saving) back to the database. Use this method when the intended logic involves modifying data within a specific transaction context.
boolean isAuthoritativeSyncServer()
DBManBootstrapHelper getProjectConfiguration()
java.lang.Long getNodeNumber()
default BN getNode()
java.lang.String getInstanceName()
java.lang.String getDateKernelBuild()
void bumpLastSuccessfulSync()
void bumpLastSuccessfulSync(long ts)
long getCurrentSyncLag()
boolean isLocked()
void setLocked(boolean lock,
ServerAdminAuthorizerI authorizer)
lock - true to lock the server, false to unlockauthorizer - the authorizer used to check permissions via
checkServerLockActionsAllowed(); must not be nullIRuntimeException - if authorizer is null or permission is deniedjava.util.Date getShutdownDate()
void initiateShutdown(ServerAdminAuthorizerI authorizer, int cSecsDelay, java.lang.String msg)
void initiateShutdown(ServerAdminAuthorizerI authorizer, int cSecsDelay)
void initiateShutdown(ServerAdminAuthorizerI authorizer)
void stopShutdown(ServerAdminAuthorizerI authorizer)
void sendSystemMessage(ServerAdminAuthorizerI authorizer, java.lang.String msg, java.util.Map msgClient)
void sendSystemMessage(ServerAdminAuthorizerI authorizer, java.lang.String msg)
void demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer, int cSecsDelay, java.lang.String msg, java.util.Map msgClients)
void demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer, int cSecsDelay, java.lang.String msg)
void demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer, int cSecsDelay)
void demandForcedClientDisconnect(ServerAdminAuthorizerI authorizer)
void cancelForcedClientDisconnect(ServerAdminAuthorizerI authorizer, java.util.Map msgClients)
void cancelForcedClientDisconnect(ServerAdminAuthorizerI authorizer)
BackendSessionI[] getSessions()
void sessionAdded(BackendSessionI session)
void sessionRemoved(BackendSessionI session)
CryptoHandlerI getClientCryptoHandler()
ServerCryptoHandlerI getServerCryptoHandler()
java.lang.String getJdbcDriver()
java.lang.String getJdbcUrl()
java.lang.String getJdbcUser()
java.lang.String getJdbcPass()
BackendL10nProviderI getL10nProvider()
byte[] getBLOB(Benutzer user, java.lang.Long id)
byte[] getBLOB(Benutzer user, java.lang.Long id, java.lang.Long backuppingBPId)
InputStreamWrapper getBLOBAsStream(Benutzer user, java.lang.Long id)
InputStreamWrapper getBLOBAsStream(Benutzer user, java.lang.Long id, java.lang.Long backuppingBPId)
long getBLOB(Benutzer user, java.lang.Long id, java.io.OutputStream os)
long getBLOB(Benutzer user, java.lang.Long id, java.io.OutputStream os, boolean closeOS)
long getBLOB(Benutzer user, java.lang.Long id, java.io.OutputStream os, boolean closeOS, java.lang.Long backuppingBPId)
long getBLOB(Benutzer user, java.lang.Long id, java.io.DataOutput os)
long getBLOB(Benutzer user, java.lang.Long id, java.io.DataOutput os, boolean closeOS)
long getBLOB(Benutzer user, java.lang.Long id, java.io.DataOutput os, boolean closeOS, java.lang.Long backuppingBPId)
boolean hasBLOB(Benutzer user, java.lang.Long id)
boolean hasBLOB(Benutzer user, java.lang.Long id, java.lang.Long backuppingBPId)
java.util.BitSet haveBLOB(Benutzer user, long[] ids)
InitialBLOBTransferMetaDataContainer getBLOBBOIdsForIntitialBLOBCopy(java.util.Map idsAndVFilesOnSyncNode, java.util.List pendingBLOBChangeBOIdsOnSyncNode, java.util.List pendingBLOBChangeBOIdsOnAuthNode) throws java.io.IOException
java.io.IOExceptionSchemaI getSchema()
BOLoaderIgetSchema in interface BOLoaderIgetSchema in interface SchemaProviderIjava.lang.Long getNextId()
BOLoaderIKeyRange getIdRange(long size)
long getAvailableIds()
void addNewIdRange(KeyRange range)
de.ipcon.db.core.QueryResultsI query(Benutzer user, java.lang.String query, java.lang.Object[] pvals, PermissionHandlerI permissionHandler)
de.ipcon.db.core.QueryResultsI query(Benutzer user, java.lang.String query, java.lang.Object[] pvals)
de.ipcon.db.core.QueryResultsI query(Benutzer user, java.lang.String query)
java.util.List queryBO(Benutzer user, java.lang.String query, java.lang.Object[] pvals)
java.util.List queryBO(Benutzer user, java.lang.String query)
BO loadBO(Benutzer user, java.lang.Long id, java.lang.Class<? extends BOI> classtip, BOLoaderI injectedBOLoader)
BO[] loadBOs(Benutzer user, java.lang.Long[] ids, java.lang.Class<? extends BOI> classtip, BOLoaderI injectedBOLoader)
TransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler, int lockTimeout, int retries, SerializedTransaction stxFromBackendRequestSave, SecureObjectOutputI out)
user - the Benutzer on whose behalf the transaction is committedtx - the Transaction containing modified or newly created business objectsph - the PersistenceHandlerI driving the low-level persistence mappingvetoHandler - the DBManVetoHandlerI verifying authorization and commit preconditionslockTimeout - timeout in seconds when waiting for locked records; 0 indicates no timeout
(wait indefinitely), values > 0 specify an explicit duration in seconds,
and values < 0 retain the underlying persistence default (30 seconds)retries - maximum retry attempts on lock contention or serialization conflicts before abortingstxFromBackendRequestSave - optional SerializedTransaction to be closed upon successful commitout - optional SecureObjectOutputI stream to write the TransactionAnswer toTransactionAnswer, or null if persistence was skippedTransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler, int lockTimeout, int retries, SerializedTransaction stxFromBackendRequestSave)
TransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler, int lockTimeout, int retries)
TransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler, int lockTimeout)
TransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler)
TransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph)
TransactionAnswer saveBO(Benutzer user, Transaction tx)
TransactionAnswer saveServerLocalTransaction(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vh, int lockTimeout, boolean suppressLogs)
ServerLocalTransactionI to the database.
Note on retries: Retries are intentionally unsupported for server-local transactions. If a save fails due to concurrency conflicts or invalid preconditions, the transaction state is invalidated and cannot be resaved. Callers must recreate the transaction and re-evaluate business logic against fresh database state.
user - the Benutzer on whose behalf the transaction is committedtx - the Transaction to commitph - the PersistenceHandlerI to usevh - the DBManVetoHandlerI checking create/update/delete permissionslockTimeout - timeout in seconds when waiting for locked records; 0 indicates no timeout
(wait indefinitely), values > 0 specify an explicit duration in seconds,
and values < 0 retain the underlying persistence default (30 seconds)suppressLogs - if true, suppresses creation of BT and BP audit trail
records generated from TransactionConflictReportTransactionAnswer, or null if persistence was skippedTransactionAnswer saveServerLocalTransaction(Benutzer user, Transaction tx, PersistenceHandlerI ph, int lockTimeout, boolean suppressLogs)
ServerLocalTransactionI without an explicit veto handler.SaveResultI save(groovy.lang.Closure cl)
save(String, Closure) without a description for the transaction.cl - Closure which manipulates the transactionSaveResult containing the resulting values of the save-procedure.SaveResultI save(java.lang.String desc, groovy.lang.Closure cl)
save(Benutzer, String, Closure), but without a Benutzer.desc - Description of the transactioncl - Closure which manipulates the transactionSaveResult containing the resulting values of the save-procedure.SaveResultI save(Benutzer user, java.lang.String desc, groovy.lang.Closure cl)
user - Benutzer object on whose behalf the transaction shall be saveddesc - Description of the transactioncl - Closure which manipulates the transactionSaveResult containing the resulting values of the save-procedure.SaveResultI save(Benutzer user, BackendSessionI session, java.lang.String desc, groovy.lang.Closure cl)
user - Benutzer object on whose behalf the transaction shall be savedsession - the BackendSessionI of the Benutzer to use as TemporaryIdSupplierI during savingdesc - Description of the transactioncl - Closure which manipulates the transactionSaveResult containing the resulting values of the save-procedure.SaveResultI save(java.util.function.Consumer<Transaction> fn)
SaveResultI save(java.lang.String desc, java.util.function.Consumer<Transaction> fn)
SaveResultI save(Benutzer user, java.lang.String desc, java.util.function.Consumer<Transaction> fn)
SaveResultI save(Benutzer user, BackendSessionI session, java.lang.String desc, java.util.function.Consumer<Transaction> fn)
SaveResultI save(java.util.function.Function<Transaction,? extends java.lang.Object> fn)
SaveResultI save(java.lang.String desc, java.util.function.Function<Transaction,? extends java.lang.Object> fn)
SaveResultI save(Benutzer user, java.lang.String desc, java.util.function.Function<Transaction,? extends java.lang.Object> fn)
SaveResultI save(Benutzer user, BackendSessionI session, java.lang.String desc, java.util.function.Function<Transaction,? extends java.lang.Object> fn)
SaveResultI save(ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn)
SaveResultI save(java.lang.String desc, ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn)
SaveResultI save(Benutzer user, java.lang.String desc, ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn)
SaveResultI save(Benutzer user, BackendSessionI session, java.lang.String desc, ThrowingFunction<Transaction,? extends java.lang.Object,? extends java.lang.Throwable> fn)
java.lang.Long testAuth(Anmeldung a)
BOLoaderIboolean testAuth(de.ipcon.db.core.PasswortUeberpruefung a)
BOLoaderIBenutzer login(Anmeldung anmeldung, boolean localConnection) throws AuthenticationException
anmeldung - Anmeldung instance with name of the Benutzer as which one wants to log in and passwordlocalConnection - tell whether the connection is regarded as 'local'AuthenticationExceptionvoid resetPassword(java.lang.String username)
throws AuthenticationException
AuthenticationExceptionvoid sendUsernameHint(Benutzer user)
DBManUserContextI getNewUserContext()
void addEventListener(DBManEventListenerI l)
void addEventListener(DBManEventListenerI l, DBManEventFilter filter)
void removeEventListener(DBManEventListenerI l)
void fireDBManEvent(DBManEvent evt)
java.lang.String getNodeLocalStatusValue(java.lang.String key)
StatusValueManager for a bit more info).
BE AWARE THAT THESE VALUES ARE ONLY SET ON THE NODE WHERE THIS METHOD IS CALLED! They are NOT synchronized by the
normal MyTISM sync mechanism.key - the key for which the value should be retrievedvoid setNodeLocalStatusValue(java.lang.String key,
java.lang.String value)
StatusValueManager for a bit more info).
BE AWARE THAT THESE VALUES ARE ONLY SET ON THE NODE WHERE THIS METHOD IS CALLED! They are NOT synchronized by the
normal MyTISM sync mechanism.key - the key for which the value should be retrievedvalue - the value to set for the given keyFulltextSearcherI getFulltextSearcher()
boolean isNotificationSystemActivated()
void checkServerBN(BOLoaderI bol)
void retryFailedNotifications(java.lang.Long mbaId)
MyTISMBenachrichtigungsAuftrag with the given Id.
This method is for use by the InternalNotificationRetryWV only.ServerLocalTransactionI getServerLocalTransaction()
ServerLocalTransactionI with default parameters.ServerLocalTransactionI instanceServerLocalTransactionI getServerLocalTransaction(java.lang.String desc)
ServerLocalTransactionI with a transaction description.ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout)
ServerLocalTransactionI with custom lock timeout.ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier)
ServerLocalTransactionI with a temporary ID supplier.ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema)
ServerLocalTransactionI with an optional instrumented schema.ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema, boolean intendedForSaving)
ServerLocalTransactionI prepared for execution on the server.desc - optional descriptive label or audit reason for the transactionlockTimeout - timeout in seconds when waiting for locked records; 0 indicates no timeout
(wait indefinitely), values > 0 specify an explicit duration in seconds,
and values < 0 retain the underlying persistence default (30 seconds)temporaryIdSupplier - supplier providing temporary entity IDs; if null, the transaction manages them internallywithInstrumentedSchema - if true, wraps the transaction schema as an InstrumentingSchemaintendedForSaving - if true, pre-allocates a PersistenceHandlerI from this DBManLocalI
configured for saving; if false, only loading operations are supportedServerLocalTransactionI instanceServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session)
ServerLocalTransactionI bound to an authenticated session and user.ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc)
ServerLocalTransactionI bound to an authenticated session, user, and description.ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout)
ServerLocalTransactionI bound to an authenticated session with custom lock timeout.ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier)
ServerLocalTransactionI with an explicit temporary ID supplier.ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema)
ServerLocalTransactionI with an optional instrumented schema.ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema, boolean intendedForSaving)
ServerLocalTransactionI bound to an authenticated user and session.user - the Benutzer on whose behalf the transaction operatessession - the active BackendSessionI providing user session contextdesc - optional descriptive label or audit reason for the transactionlockTimeout - timeout in seconds when waiting for locked records; 0 indicates no timeout
(wait indefinitely), values > 0 specify an explicit duration in seconds,
and values < 0 retain the underlying persistence default (30 seconds)temporaryIdSupplier - supplier providing temporary entity IDs; if null, defaults to the passed sessionwithInstrumentedSchema - if true, wraps the transaction schema as an InstrumentingSchemaintendedForSaving - if true, pre-allocates a PersistenceHandlerI for saving; otherwise read-onlyServerLocalTransactionI instanceServerFileVaultI getServerFileVault()
void triggerInitialDataCheck()
void triggerIntegrityCheck()
void triggerMetaDataCheck()
boolean isAvailable(java.lang.String feature)
boolean isAvailableWithNoise(java.lang.String feature)
void addFeatureListener(FeatureListenerI fl)
void removeFeatureListener(FeatureListenerI fl)
boolean areGratuitousLocalConnectionsAvailable()
void updateStructureReadAccessStatistics(java.util.Map<java.lang.Long,java.lang.Integer> statistics,
Benutzer user)
This method updates the internal access statistics using the provided map, where the keys are structure Ids and the values are read access counts. The user parameter, although not currently utilized beyond the transaction description, is included to facilitate potential future enhancements for a detailed audit log per user.
statistics - a map containing Struktur Ids as keys and their read access counts as values.user - the user that triggered the update. Currently, this parameter is used only for the transaction description, but it is included
for potential future use in creating detailed audit logs.Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.