public interface DBManLocalI extends 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(DBManUserContextI utx) |
void |
cancelForcedClientDisconnect(DBManUserContextI utx,
java.util.Map msgClients) |
void |
checkServerBN(BOLoaderI bol)
checks whether this server's nodeNumber is valid (called only from SyncService)
|
void |
demandForcedClientDisconnect(DBManUserContextI utx) |
void |
demandForcedClientDisconnect(DBManUserContextI utx,
int cSecsDelay) |
void |
demandForcedClientDisconnect(DBManUserContextI utx,
int cSecsDelay,
java.lang.String msg) |
void |
demandForcedClientDisconnect(DBManUserContextI utx,
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() |
PersistenceHandlerI |
getPersistenceHandlerForSaving() |
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 method for getting a new
ServerLocalTransactionI instance
which is prepared for saving on server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session)
Convenience method for getting a new
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc)
Convenience method for getting a new
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout)
Convenience method for getting a new
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier)
Convenience method for getting a new
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema)
Convenience method for getting a new
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(Benutzer user,
BackendSessionI session,
java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema,
boolean intendedForSaving)
Convenience method for getting a new
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc)
Convenience method for getting a new
ServerLocalTransactionI instance
which is prepared for saving on server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout)
Convenience method for getting a new
ServerLocalTransactionI instance
which is prepared for saving on server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier)
Convenience method for getting a new
ServerLocalTransactionI instance
which is prepared for saving on server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema)
Convenience method for getting a new
ServerLocalTransactionI instance
which is prepared for saving on server-side. |
ServerLocalTransactionI |
getServerLocalTransaction(java.lang.String desc,
int lockTimeout,
TemporaryIdSupplierI temporaryIdSupplier,
boolean withInstrumentedSchema,
boolean intendedForSaving)
Convenience method for getting a new
ServerLocalTransactionI instance
which is prepared for saving on server-side. |
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(DBManUserContextI utx) |
void |
initiateShutdown(DBManUserContextI utx,
int cSecsDelay) |
void |
initiateShutdown(DBManUserContextI utx,
int cSecsDelay,
java.lang.String msg) |
boolean |
isAuthoritativeSyncServer() |
boolean |
isAvailable(java.lang.String feature) |
boolean |
isAvailableWithNoise(java.lang.String feature) |
boolean |
isLocked()
Tells if the server is in the "locked" state.
|
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) |
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 changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph)
Persists the changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler)
Persists the changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler,
int lockTimeout)
Persists the changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler,
int lockTimeout,
int retries)
Persists the changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBO(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
DBManVetoHandlerI vetoHandler,
int lockTimeout,
int retries,
SerializedTransaction stxFromBackendRequestSave)
Persists the changes recorded in the passed Transaction tx to the database.
|
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 tx to the database.
|
TransactionAnswer |
saveServerLocalTransaction(Benutzer user,
Transaction tx,
PersistenceHandlerI ph,
int lockTimeout,
boolean suppressLogs)
Persists the changes recorded in the passed Transaction tx, that is part of a
ServerLocalTransactionI to the database. |
void |
sendSystemMessage(DBManUserContextI utx,
java.lang.String msg) |
void |
sendSystemMessage(DBManUserContextI utx,
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,
DBManUserContextI utx)
Sets the "locked/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(DBManUserContextI utx) |
java.lang.Long |
testAuth(Anmeldung a)
Tests wether given credentials can be verified.
|
boolean |
testAuth(de.ipcon.db.core.PasswortUeberpruefung a)
Tests wether 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.
|
find, isServerSidedrain, execute, exists, exists, frapBOArrayFromCache, frapBOIArrayFromCache, frapBOsFromCache, frapFromCache, frapFromCache, getBO, getBO, getBOs, getBOs, getBOs, getBOs, getBOT, getBOUncached, getBOUncached, getCryptoHandler, getEventProvider, getFeatureManager, getFileVault, getParentLoader, getRelationBOs, getRootLoader, isAncestorOf, isCaching, isLoggedIn, isLoggedInNN, isRecording, isRootLoader, isServerSide, isTesting, prepareQuery, prepareQuery, prepareQuery, 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 getPersistenceHandlerForSaving()
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,
DBManUserContextI utx)
lock - the state to set, true to lock, false to unlock the serverutx - the current DBManUserContextIjava.util.Date getShutdownDate()
void initiateShutdown(DBManUserContextI utx, int cSecsDelay, java.lang.String msg)
void initiateShutdown(DBManUserContextI utx, int cSecsDelay)
void initiateShutdown(DBManUserContextI utx)
void stopShutdown(DBManUserContextI utx)
void sendSystemMessage(DBManUserContextI utx, java.lang.String msg, java.util.Map msgClient)
void sendSystemMessage(DBManUserContextI utx, java.lang.String msg)
void demandForcedClientDisconnect(DBManUserContextI utx, int cSecsDelay, java.lang.String msg, java.util.Map msgClients)
void demandForcedClientDisconnect(DBManUserContextI utx, int cSecsDelay, java.lang.String msg)
void demandForcedClientDisconnect(DBManUserContextI utx, int cSecsDelay)
void demandForcedClientDisconnect(DBManUserContextI utx)
void cancelForcedClientDisconnect(DBManUserContextI utx, java.util.Map msgClients)
void cancelForcedClientDisconnect(DBManUserContextI utx)
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)
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 to savetx - the Transaction to saveph - the PersistenceHandlerI to use for persisting the changesvetoHandler - the DBManVetoHandlerI to use while persisting the changeslockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.retries - an int reflecting the number of retries that shall be attempted
before saving is abortedstxFromBackendRequestSave - a SerializedTransaction that shall be closed
additionally after successful savingout - a SecureObjectOutputI the TransactionAnswer shall be written toTransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler, int lockTimeout, int retries, SerializedTransaction stxFromBackendRequestSave)
user - the Benutzer on whose behalf to savetx - the Transaction to saveph - the PersistenceHandlerI to use for persisting the changesvetoHandler - the DBManVetoHandlerI to use while persisting the changeslockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.retries - an int reflecting the number of retries that shall be attempted
before saving is abortedstxFromBackendRequestSave - a SerializedTransaction that shall be closed
additionally after successful savingTransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler, int lockTimeout, int retries)
user - the Benutzer on whose behalf to savetx - the Transaction to saveph - the PersistenceHandlerI to use for persisting the changesvetoHandler - the DBManVetoHandlerI to use while persisting the changeslockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.retries - an int reflecting the number of retries that shall be attempted
before saving is abortedTransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler, int lockTimeout)
user - the Benutzer on whose behalf to savetx - the Transaction to saveph - the PersistenceHandlerI to use for persisting the changesvetoHandler - the DBManVetoHandlerI to use while persisting the changeslockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.TransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph, DBManVetoHandlerI vetoHandler)
user - the Benutzer on whose behalf to savetx - the Transaction to saveph - the PersistenceHandlerI to use for persisting the changesvetoHandler - the DBManVetoHandlerI to use while persisting the changesTransactionAnswer saveBO(Benutzer user, Transaction tx, PersistenceHandlerI ph)
user - the Benutzer on whose behalf to savetx - the Transaction to saveph - the PersistenceHandlerI to use for persisting the changesTransactionAnswer saveBO(Benutzer user, Transaction tx)
user - the Benutzer on whose behalf to savetx - the Transaction to saveTransactionAnswer saveServerLocalTransaction(Benutzer user, Transaction tx, PersistenceHandlerI ph, int lockTimeout, boolean suppressLogs)
ServerLocalTransactionI to the database.user - the Benutzer on whose behalf to savetx - the Transaction to saveph - the PersistenceHandlerI to use for persisting the changeslockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.suppressLogs - if true, no BT nor ary BP
instances will be created from a TransactionConflictReport.
Retries are not supported, as a failed save is broken and can and must not be retried.
You need to recreate the Transaction and try saving again with a fresh ServerLocalTransactionI.
It is discouraged to retry saving the same procs again, as they were based on outdated data.
Simply saving those procs would probably be wrong, as operating on a different state will most
probably yield a different result to save. So it is much better and safer to operate on the
obviously modified new database state. Thus the core does not support retries and you need
to care for that in your own code.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.ServerLocalTransactionI getServerLocalTransaction()
ServerLocalTransactionI instance
which is prepared for saving on server-side.ServerLocalTransactionIServerLocalTransactionI getServerLocalTransaction(java.lang.String desc)
ServerLocalTransactionI instance
which is prepared for saving on server-side.desc - the description to use in the contained Transaction within the ServerLocalTransactionIServerLocalTransactionI having a Transaction with the given description
(if one was given)ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout)
ServerLocalTransactionI instance
which is prepared for saving on server-side.desc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.ServerLocalTransactionI having a Transaction with the given description
(if one was given)ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier)
ServerLocalTransactionI instance
which is prepared for saving on server-side.desc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.temporaryIdSupplier - a TemporaryIdSupplier supplying temporary Ids
for our Transaction; if null is passed, the Transaction will manage that on its ownServerLocalTransactionI having a Transaction with the given description
(if one was given)ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema)
ServerLocalTransactionI instance
which is prepared for saving on server-side.desc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.temporaryIdSupplier - a TemporaryIdSupplier supplying temporary Ids
for our Transaction; if null is passed, the Transaction will manage that on its ownwithInstrumentedSchema - if true, the SchemaI of the SLTX's Transaction will be wrapped as an InstrumentingSchemaServerLocalTransactionI having a Transaction with the given description
(if one was given)ServerLocalTransactionI getServerLocalTransaction(java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema, boolean intendedForSaving)
ServerLocalTransactionI instance
which is prepared for saving on server-side.desc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.temporaryIdSupplier - a TemporaryIdSupplier supplying temporary Ids
for our Transaction; if null is passed, the Transaction will manage that on its ownwithInstrumentedSchema - if true, the SchemaI of the SLTX's Transaction will be wrapped as an InstrumentingSchemaintendedForSaving - if true, a PersistenceHandlerI for saving will be acquired from the passed DBManLocalI,
otherwise only loading objects will be supportedServerLocalTransactionI having a Transaction with the given description
(if one was given)ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session)
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side.user - the Benutzer to save on behalf ofsession - the relevant BackendSessionI of the passed BenutzerServerLocalTransactionI having a Transaction.ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc)
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side.user - the Benutzer to save on behalf ofsession - the relevant BackendSessionI of the passed Benutzerdesc - the description to use in the contained Transaction within the ServerLocalTransactionIServerLocalTransactionI having a Transaction with the given description
(if one was given).ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout)
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side.user - the Benutzer to save on behalf ofsession - the relevant BackendSessionI of the passed Benutzerdesc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.ServerLocalTransactionI having a Transaction with the given description
(if one was given).ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier)
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side.user - the Benutzer to save on behalf ofsession - the relevant BackendSessionI of the passed Benutzerdesc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.temporaryIdSupplier - a TemporaryIdSupplier supplying temporary Ids
for our Transaction; if null is passed, the passed session will be used instead, if that is null
as well, the Transaction will manage that on its ownServerLocalTransactionI having a Transaction with the given description
(if one was given).ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema)
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side.user - the Benutzer to save on behalf ofsession - the relevant BackendSessionI of the passed Benutzerdesc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.temporaryIdSupplier - a TemporaryIdSupplier supplying temporary Ids
for our Transaction; if null is passed, the passed session will be used instead, if that is null
as well, the Transaction will manage that on its ownwithInstrumentedSchema - if true, the SchemaI of the SLTX's Transaction will be wrapped as an InstrumentingSchemaServerLocalTransactionI having a Transaction with the given description
(if one was given).ServerLocalTransactionI getServerLocalTransaction(Benutzer user, BackendSessionI session, java.lang.String desc, int lockTimeout, TemporaryIdSupplierI temporaryIdSupplier, boolean withInstrumentedSchema, boolean intendedForSaving)
ServerLocalTransactionI instance
for the passed Benutzer and BackendSessionI which is prepared for saving on
server-side.user - the Benutzer to save on behalf ofsession - the relevant BackendSessionI of the passed Benutzerdesc - the description to use in the contained Transaction within the ServerLocalTransactionIlockTimeout - time to wait in seconds until a locking error is reported in case some
object is already locked by another thread; defaults to -1.
Zero or less for no waiting, i.e. immediate timeout (or rather the defined lock-timeout
of JDO, which defaults to 30s), an infinite value for no timeout.temporaryIdSupplier - a TemporaryIdSupplier supplying temporary Ids
for our Transaction; if null is passed, the passed session will be used instead, if that is null
as well, the Transaction will manage that on its ownwithInstrumentedSchema - if true, the SchemaI of the SLTX's Transaction will be wrapped as an InstrumentingSchemaintendedForSaving - if true, a PersistenceHandlerI for saving will be acquired from the passed DBManLocalI,
otherwise only loading objects will be supportedServerLocalTransactionI having a Transaction with the given description
(if one was given).ServerFileVaultI 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-2025 OAshi S.à r.l. All Rights Reserved.