public interface DBManUserContextI
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$0 |
Modifier and Type | Method and Description |
---|---|
void |
addSubscription(java.lang.String key,
DBManEventFilter filter) |
DBManEvent |
applyFilters(DBManEvent evt) |
boolean |
areGratuitousLocalConnectionsAvailable() |
PermissionHandlerDecisionI |
checkCreateAllowed(BO bo) |
PermissionHandlerDecisionI |
checkDeleteAllowed(BO bo) |
boolean |
checkDemandForcedClientDisconnectAllowed() |
PermissionHandlerDecisionI |
checkReadAllowed(BO bo) |
PermissionHandlerDecisionI |
checkReadAllowed(BO bo,
java.lang.String attributeName) |
boolean |
checkSendingSystemMessagesAllowed() |
boolean |
checkServerLockActionsAllowed() |
boolean |
checkServerShutdownActionsAllowed() |
PermissionHandlerDecisionI |
checkWriteAllowed(BO bo) |
PermissionHandlerDecisionI |
checkWriteAllowed(BO bo,
java.lang.String attributeName) |
boolean |
exists(java.lang.Long id) |
boolean |
exists(java.lang.Long id,
java.lang.Class<? extends BOI> classtip) |
byte[] |
getBLOB(java.lang.Long id) |
long |
getBLOB(java.lang.Long id,
java.io.DataOutput os) |
long |
getBLOB(java.lang.Long id,
java.io.DataOutput os,
boolean closeOS) |
long |
getBLOB(java.lang.Long id,
java.io.DataOutput os,
boolean closeOS,
java.lang.Long backuppingBPId) |
byte[] |
getBLOB(java.lang.Long id,
java.lang.Long backuppingBPId) |
long |
getBLOB(java.lang.Long id,
java.io.OutputStream os) |
long |
getBLOB(java.lang.Long id,
java.io.OutputStream os,
boolean closeOS) |
long |
getBLOB(java.lang.Long id,
java.io.OutputStream os,
boolean closeOS,
java.lang.Long backuppingBPId) |
InputStreamWrapper |
getBLOBAsStream(java.lang.Long id) |
InputStreamWrapper |
getBLOBAsStream(java.lang.Long id,
java.lang.Long backuppingBPId) |
InitialBLOBTransferMetaDataContainer |
getBLOBBOIdsForIntitialBLOBCopy(java.util.Map idsAndVFilesOnSyncNode,
java.util.List pendingBLOBChangeBOIdsOnSyncNode,
java.util.List pendingBLOBChangeBOIdsOnAuthNode) |
VFile |
getBLOBInfo(java.lang.Long id) |
VFile |
getBLOBInfo(java.lang.Long id,
java.lang.Long backuppingBPId) |
DBManConfigurationHelperI |
getConfiguration() |
Benutzer |
getCurrentUser() |
java.lang.String |
getCurrentUserName() |
java.lang.String |
getCurrentUserRemark() |
KeyRange |
getIdRange(long size) |
java.lang.Long |
getNextId() |
PermissionHandlerI |
getPermissionHandler() |
PersistenceHandlerI |
getPersistenceHandler() |
PersistenceHandlerI |
getPersistenceHandlerForSaving() |
SchemaI |
getSchema() |
boolean |
hasBLOB(java.lang.Long id) |
boolean |
hasBLOB(java.lang.Long id,
java.lang.Long backuppingBPId) |
java.util.BitSet |
haveBLOB(long[] ids) |
boolean |
isAuthoritativeSyncServer() |
BO |
loadBO(java.lang.Long id) |
BO |
loadBO(java.lang.Long id,
java.lang.Class<? extends BOI> classtip) |
BO[] |
loadBOs(java.lang.Long[] ids) |
BO[] |
loadBOs(java.lang.Long[] ids,
java.lang.Class<? extends BOI> classtip) |
void |
login(BackendSessionI session) |
java.util.List |
queryBO(java.lang.String t) |
java.util.List |
queryBO(java.lang.String t,
java.lang.Object[] pvals) |
void |
removeSubscription(java.lang.String key) |
TransactionAnswer |
saveBO(Transaction tx,
SerializedTransaction stx,
PersistenceHandlerI ph,
int lockTimeout,
int retries,
SecureObjectOutputI out)
Persists the changes recorded in the passed Transaction tx to the database.
|
static final java.lang.String $0
DBManConfigurationHelperI getConfiguration()
PersistenceHandlerI getPersistenceHandler()
PersistenceHandlerI getPersistenceHandlerForSaving()
boolean isAuthoritativeSyncServer()
Benutzer getCurrentUser()
java.lang.String getCurrentUserName()
java.lang.String getCurrentUserRemark()
PermissionHandlerI getPermissionHandler()
PermissionHandlerDecisionI checkReadAllowed(BO bo, java.lang.String attributeName)
PermissionHandlerDecisionI checkReadAllowed(BO bo)
PermissionHandlerDecisionI checkWriteAllowed(BO bo, java.lang.String attributeName)
PermissionHandlerDecisionI checkWriteAllowed(BO bo)
PermissionHandlerDecisionI checkCreateAllowed(BO bo)
PermissionHandlerDecisionI checkDeleteAllowed(BO bo)
boolean checkServerLockActionsAllowed()
boolean checkServerShutdownActionsAllowed()
boolean checkSendingSystemMessagesAllowed()
boolean checkDemandForcedClientDisconnectAllowed()
byte[] getBLOB(java.lang.Long id)
byte[] getBLOB(java.lang.Long id, java.lang.Long backuppingBPId)
InputStreamWrapper getBLOBAsStream(java.lang.Long id)
InputStreamWrapper getBLOBAsStream(java.lang.Long id, java.lang.Long backuppingBPId)
long getBLOB(java.lang.Long id, java.io.OutputStream os)
long getBLOB(java.lang.Long id, java.io.OutputStream os, boolean closeOS)
long getBLOB(java.lang.Long id, java.io.OutputStream os, boolean closeOS, java.lang.Long backuppingBPId)
long getBLOB(java.lang.Long id, java.io.DataOutput os)
long getBLOB(java.lang.Long id, java.io.DataOutput os, boolean closeOS)
long getBLOB(java.lang.Long id, java.io.DataOutput os, boolean closeOS, java.lang.Long backuppingBPId)
VFile getBLOBInfo(java.lang.Long id)
VFile getBLOBInfo(java.lang.Long id, java.lang.Long backuppingBPId)
boolean hasBLOB(java.lang.Long id)
boolean hasBLOB(java.lang.Long id, java.lang.Long backuppingBPId)
java.util.BitSet haveBLOB(long[] ids)
InitialBLOBTransferMetaDataContainer getBLOBBOIdsForIntitialBLOBCopy(java.util.Map idsAndVFilesOnSyncNode, java.util.List pendingBLOBChangeBOIdsOnSyncNode, java.util.List pendingBLOBChangeBOIdsOnAuthNode) throws java.io.IOException
java.io.IOException
SchemaI getSchema()
java.lang.Long getNextId()
KeyRange getIdRange(long size)
java.util.List queryBO(java.lang.String t, java.lang.Object[] pvals)
java.util.List queryBO(java.lang.String t)
boolean exists(java.lang.Long id)
boolean exists(java.lang.Long id, java.lang.Class<? extends BOI> classtip)
BO loadBO(java.lang.Long id)
BO[] loadBOs(java.lang.Long[] ids)
TransactionAnswer saveBO(Transaction tx, SerializedTransaction stx, PersistenceHandlerI ph, int lockTimeout, int retries, SecureObjectOutputI out)
tx
- the Transaction to savestx
- a SerializedTransaction that shall be closed additionally after
successful savingph
- 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.retries
- an int reflecting the number of retries that shall be attempted
before saving is abortedout
- a SecureObjectOutputI the TransactionAnswer shall be written tovoid login(BackendSessionI session) throws AuthenticationException
AuthenticationException
void addSubscription(java.lang.String key, DBManEventFilter filter)
void removeSubscription(java.lang.String key)
DBManEvent applyFilters(DBManEvent evt)
boolean areGratuitousLocalConnectionsAvailable()
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.