public class BackendConnectionManager extends java.lang.Object implements BackendConnectionManagerI, BOLoaderI, TransactionBuilderI, DBManEventProviderI, DBManEventListenerI, ExpiringTokenStorageProviderI, FulltextSearcherI, L10nPackProviderI, SaveBOImplementationI, SessionScopedCacheProviderI, ConnectionEventProviderI, ConnectionEventListenerI, AutomatikStrukturLoaderI
BOQueryLoaderI.InternalHelperrootPaneToLockOnConnectionInterrupt| Constructor and Description |
|---|
BackendConnectionManager(boolean _noReconnect,
boolean _noInitialConnectionRetries,
java.lang.String serverUrl) |
BackendConnectionManager(boolean _noReconnect,
boolean _noInitialConnectionRetries,
java.lang.String serverUrl,
SchemaI _preloadedSchema) |
BackendConnectionManager(java.lang.String serverUrl) |
BackendConnectionManager(java.lang.String[] _serverUrls,
boolean _initDefaultFeatureManager,
boolean _activateL10nProvider,
java.lang.String _localSchemaPath,
BasicClientContextI _bcc,
boolean _noReconnect,
boolean _noInitialConnectionRetries,
SchemaI _preloadedSchema) |
BackendConnectionManager(java.lang.String serverUrl,
boolean _initDefaultFeatureManager,
boolean _activateL10nProvider,
java.lang.String _localSchemaPath,
BasicClientContextI _bcc,
boolean _noReconnect,
boolean _noInitialConnectionRetries) |
| Modifier and Type | Method and Description |
|---|---|
void |
_execute(BatchedBackendRequestI[] srs) |
L10nPack[] |
_getL10nPacks(java.lang.String[] bundles,
java.lang.String locale) |
BO[] |
_getRelationBOs(java.lang.Long id,
java.lang.Class<? extends BOI> classtip,
java.lang.String attributeName) |
void |
_subscribeEvents(DBManEventListenerI listener,
DBManEventFilter filter) |
void |
applyDefaults(electric.xml.Element el,
java.lang.Object[] l10nPaths) |
void |
callInitEnvironmentOnClient(SchemaI _schema) |
void |
cancelForcedClientDisconnect() |
void |
cancelForcedClientDisconnect(java.util.Map _msgClients) |
boolean |
canReconnect()
Returns true, if this BackendConnectionManager can create connections, that are able to reconnect, false otherwise.
|
void |
checkSchema(java.lang.String rfp) |
boolean |
checkServerConnectivity() |
boolean |
connect()
Assures that a connection is (re-)established and starts the EventDispatcher-daemon if not already running.
|
void |
copyRemoteBLOBsToLocalFileVault(ServerFileVaultI _fileVault,
java.util.List<java.lang.Long> pendingBLOBChangeBOIdsLocal,
java.lang.Long lastAuthNodeBTId) |
java.lang.String |
createExpiringToken(java.lang.String serviceName,
byte[] value,
long expiryms)
Works like @see #createExpiringToken(String,String,byte[],long), but creates a non-conflicting tokenName
within the store, stores the value and returns the chosen tokenName.
|
void |
createExpiringToken(java.lang.String serviceName,
java.lang.String tokenName,
byte[] value,
long expiryms)
Creates a time limited association of the given service and token name to a byte array value (usually a key).
|
void |
demandForcedClientDisconnect() |
void |
demandForcedClientDisconnect(int _cSecsDelay) |
void |
demandForcedClientDisconnect(int _cSecsDelay,
java.lang.String _msg) |
void |
demandForcedClientDisconnect(int _cSecsDelay,
java.lang.String _msg,
java.util.Map _msgClients) |
byte[] |
destroyExpiringToken(java.lang.String serviceName,
java.lang.String tokenName)
Destroys a time limited token immediately
|
void |
disableReconnect()
Switches off reconnect ability.
|
void |
disconnect() |
void |
drain()
If this BOLoader has a cache, we request it to empty it.
|
void |
enableReconnect()
Switches on reconnect ability.
|
void |
execute(BatchedBackendRequestI[] srs) |
boolean |
exists(java.lang.Long id)
wrapper for exists(id, null).
|
boolean |
exists(java.lang.Long id,
java.lang.Class<? extends BOI> classtip)
Returns true if a BO with the given id exists.
|
void |
fireConnectionEvent(java.lang.String connHash,
java.lang.String serverURL,
int eventid,
EventMessage reason) |
void |
flushCache() |
boolean |
forcedClientDisconnectEventFits(DBManServerEvent se) |
BO |
frapFromCache(BO bo)
Put a BO instance to further use in this BOLoader, cloning it in case it's unknown,
giving back a cached instance in case it's cached,
in any way returning an instance without making further reloads (which would make
the effort of caching it useless).
|
Anmeldung |
getAnmeldungUsed() |
Struktur |
getAutomatikStrukturForPath(java.lang.String path)
Returns the automatically generated structure element for a given path.
|
Struktur |
getAutomatikStrukturForPath(java.lang.String path,
boolean reload)
Returns the automatically generated structure element for a given path.
|
Struktur |
getAutomatikStrukturForPath(java.lang.String path,
boolean reload,
boolean directOnly)
Returns the automatically generated structure element for a given path.
|
Struktur |
getAutomatikStrukturForPath(java.lang.String path,
boolean reload,
boolean directOnly,
EntityI[] entitiesOnly)
Returns the automatically generated structure element for a given path.
|
java.lang.String[] |
getAvailableLocalesForUserInterface() |
Benutzer |
getBen() |
byte[] |
getBLOB(java.lang.Long id)
get the BLOB belonging to BO[id].
|
long |
getBLOB(java.lang.Long id,
java.io.DataOutput oo)
Writes the BLOB belonging to BO[id] to the passed DataOutput.
|
long |
getBLOB(java.lang.Long id,
java.io.DataOutput oo,
boolean closeOS)
Writes the BLOB belonging to BO[id] to the passed DataOutput.
|
long |
getBLOB(java.lang.Long id,
java.io.DataOutput oo,
boolean closeOS,
java.lang.Long backuppingBPId)
Writes the BLOB belonging to BO[id] to the passed DataOutput.
|
byte[] |
getBLOB(java.lang.Long id,
java.lang.Long backuppingBPId)
get the BLOB belonging to BO[id].
|
long |
getBLOB(java.lang.Long id,
java.io.OutputStream os)
Writes the BLOB belonging to BO[id] to the passed OutputStream.
|
long |
getBLOB(java.lang.Long id,
java.io.OutputStream os,
boolean closeOS)
Writes the BLOB belonging to BO[id] to the passed OutputStream.
|
long |
getBLOB(java.lang.Long id,
java.io.OutputStream os,
boolean closeOS,
java.lang.Long backuppingBPId)
Writes the BLOB belonging to BO[id] to the passed OutputStream.
|
VFile |
getBLOBInfo(java.lang.Long id)
gathers information about the BLOB belonging to BO[i].
|
VFile |
getBLOBInfo(java.lang.Long id,
java.lang.Long backuppingBPId)
gathers information about the BLOB belonging to BO[i].
|
BO |
getBO(java.lang.Long id)
wrapper for getBO(id, null).
|
BO |
getBO(java.lang.Long id,
java.lang.Class<? extends BOI> classtip)
Returns the BO with the given id.
|
BO[] |
getBOs(long[] ids)
wrapper for getBOs(ids, null)
|
BO[] |
getBOs(java.lang.Long[] ids)
wrapper for getBOs(ids, null)
|
BO[] |
getBOs(long[] ids,
java.lang.Class<? extends BOI> classtip)
returns the BOs with the given ids.
|
BO[] |
getBOs(java.lang.Long[] ids,
java.lang.Class<? extends BOI> classtip)
returns the BOs with the given ids.
|
BOT |
getBOT(java.lang.Class<? extends BOI> clazz) |
BO |
getBOUncached(java.lang.Long id) |
BO |
getBOUncached(java.lang.Long id,
java.lang.Class<? extends BOI> classtip)
Loads and returns the BO with this Id with a non caching BOLoader.
|
CacheI |
getCache(java.lang.String title,
java.lang.Class clazz,
java.lang.String fetchQuery,
CacheKeyCalculatorI cacheKeyCalculator,
java.lang.Class mapClass) |
CacheI |
getCache(java.lang.String title,
java.lang.Class clazz,
java.lang.String fetchQuery,
java.lang.Class mapClass) |
ClientSessionInfo[] |
getClientSessionInfos() |
java.util.ArrayList |
getConnectionEventListeners() |
CryptoHandlerI |
getCryptoHandler()
get a reference to the CryptoHandler used.
|
DBManInfo |
getDBManInfo()
Retrieves information about the server.
|
DBManEventDemuxer |
getEventDemuxer()
Returns the current DBManEventDemuxer for this BackendConnectionManagerI.
|
DBManEventProviderI |
getEventProvider()
Returns the DBManEventProviderI of this BOLoader, if any.
|
FeatureManagerI |
getFeatureManager() |
FileVaultI |
getFileVault() |
long[] |
getIdList(java.lang.String _ftClauses) |
long[] |
getIdList(java.lang.String _ftClauses,
java.lang.String _classname) |
java.lang.String |
getIdListAsString(java.lang.String _ftClauses) |
java.lang.String |
getIdListAsString(java.lang.String _ftClauses,
java.lang.String _classname) |
KeyRange |
getIdRange(long size) |
java.lang.String[] |
getInitialAvailableLocalesForUserInterface() |
java.lang.String |
getInstanceName() |
L10nPack |
getL10nPack(java.lang.String bundle) |
L10nPack |
getL10nPack(java.lang.String bundle,
java.util.Locale locale) |
L10nPack |
getL10nPack(java.lang.String bundle,
java.lang.String locale)
Retrieves a specific
L10nPack by its bundle name and locale. |
L10nPack[] |
getL10nPackPreload(java.lang.String locale) |
L10nPack[] |
getL10nPacks(java.lang.String[] bundles) |
L10nPack[] |
getL10nPacks(java.lang.String[] bundles,
java.util.Locale locale) |
L10nPack[] |
getL10nPacks(java.lang.String[] bundles,
java.lang.String locale)
Retrieves an array of
L10nPack objects for multiple specified bundle names and a single locale. |
L10nPathEntry[] |
getL10nPath()
Retrieves the localization path entries provided by this pack provider.
|
L10nPathEntry |
getL10nPath(int $37) |
java.lang.String |
getL10nViaString()
Provides a descriptive string indicating the means by which localization (L10n) data was delivered.
|
Struktur[] |
getLazyStruktur(java.lang.Long botId) |
SchemaI |
getLocalSchema() |
Transaction |
getNewTransaction()
Convenience method for getting a new
Transaction instance. |
Transaction |
getNewTransaction(SchemaI customSchema) |
Transaction |
getNewTransaction(SchemaI customSchema,
java.lang.String desc) |
Transaction |
getNewTransaction(SchemaI customSchema,
java.lang.String desc,
TemporaryIdSupplierI tempIdSupplier) |
Transaction |
getNewTransaction(java.lang.String desc)
Convenience method for getting a new
Transaction instance. |
Transaction |
getNewTransaction(java.lang.String desc,
TemporaryIdSupplierI tempIdSupplier) |
Transaction |
getNewTransaction(TemporaryIdSupplierI tempIdSupplier) |
Transaction |
getNewTransactionWithInstrumentedSchema() |
Transaction |
getNewTransactionWithInstrumentedSchema(java.lang.String desc) |
Transaction |
getNewTransactionWithInstrumentedSchema(java.lang.String desc,
TemporaryIdSupplierI tempIdSupplier) |
Transaction |
getNewTransactionWithInstrumentedSchema(TemporaryIdSupplierI tempIdSupplier) |
java.lang.Long |
getNextId()
get a unique Long id from the backend.
|
java.lang.Long |
getNodeNumber()
Expose the current node number to allow the client to do some node-specific checks, e.g. is a needed BU available with the current connection.
|
BOLoaderI |
getParentLoader()
returns the BOLoader which this BOLoader uses to load its objects.
|
BO[] |
getRelationBOs(java.lang.Long id,
java.lang.Class<? extends BOI> classtip,
java.lang.String attributeName)
this method is used by the lazy loading map/list implementation to load related
objects when needed.
|
BOLoaderI |
getRootLoader()
Returns the root BOLoader of this BOLoader or this if there is no more parent loader.
|
SchemaI |
getSchema()
gets a reference to the schema which is used by this BOLoader.
|
java.lang.String |
getServerName() |
java.lang.String |
getServerUrl() |
java.lang.Long |
getSessid() |
BackendSessionInfo[] |
getSessionInfos() |
TermInfoI[] |
getTerms() |
TermInfoI[] |
getTerms(EntityI entity) |
TermInfoI[] |
getTerms(EntityI entity,
java.lang.String regex) |
TermInfoI[] |
getTerms(EntityI entity,
java.lang.String regex,
int size) |
TermInfoI[] |
getTerms(EntityI entity,
java.lang.String regex,
int size,
boolean includeDeleted) |
TermInfoI[] |
getTerms(EntityI entity,
java.lang.String regex,
int size,
boolean includeDeleted,
java.lang.String[] propertyNames) |
TermInfoI[] |
getTerms(EntityI entity,
java.lang.String regex,
int size,
boolean includeDeleted,
java.lang.String[] propertyNames,
boolean sortByName) |
TermInfoI[] |
getTerms(EntityI entity,
java.lang.String regex,
int size,
boolean includeDeleted,
java.lang.String[] propertyNames,
boolean sortByName,
boolean withSubEntities) |
java.lang.String[] |
getTermSuggestions(EntityI entity,
java.lang.String term) |
java.lang.String[] |
getTermSuggestions(EntityI entity,
java.lang.String term,
int size) |
java.lang.String[] |
getTermSuggestions(EntityI entity,
java.lang.String term,
int size,
boolean includeDeleted) |
java.lang.String[] |
getTermSuggestions(EntityI entity,
java.lang.String term,
int size,
boolean includeDeleted,
boolean morePopular) |
java.lang.String[] |
getTermSuggestions(EntityI entity,
java.lang.String term,
int size,
boolean includeDeleted,
boolean morePopular,
float accuracy) |
java.lang.String[] |
getTermSuggestions(EntityI entity,
java.lang.String term,
int size,
boolean includeDeleted,
boolean morePopular,
float accuracy,
java.lang.String propertyName) |
java.lang.String[] |
getTermSuggestions(EntityI entity,
java.lang.String term,
int size,
boolean includeDeleted,
boolean morePopular,
float accuracy,
java.lang.String propertyName,
boolean withSubEntities) |
java.lang.String |
getURLPrefix() |
void |
handleDBManEvent(DBManEvent evt) |
boolean |
hasBLOB(java.lang.Long id) |
boolean |
hasBLOB(java.lang.Long id,
java.lang.Long backuppingBPId) |
java.util.BitSet |
haveBLOB(long[] ids) |
void |
initiateServerShutdown() |
void |
initiateServerShutdown(int _cSecsDelay) |
void |
initiateServerShutdown(int _cSecsDelay,
java.lang.String _msg) |
boolean |
isActivateL10nProvider() |
boolean |
isCaching()
If true, then this BOLoaderI uses an internal cache, holding all BOs hat were loaded or frapped into it.
|
boolean |
isConnected() |
boolean |
isConnected(boolean failfast) |
boolean |
isDisconnected() |
boolean |
isDisconnected(boolean failfast) |
boolean |
isFTSActive() |
boolean |
isFTSAvailable() |
boolean |
isInitDefaultFeatureManager() |
boolean |
isLoggedIn() |
java.lang.Boolean |
isLoggedIn(Benutzer ben)
Tells if the given Benutzer is currently logged in.
|
boolean |
isLoggedInNN(Benutzer ben)
Tells if the given Benutzer is currently logged in.
|
boolean |
isMemoryTightClient() |
boolean |
isMemoryTightClient(boolean failfast) |
boolean |
isNotificationSystemActivated() |
boolean |
isOperational()
Checks if this L10n pack provider is currently operational and ready to serve requests.
|
boolean |
isRecording()
Returns true if this BOLoaderI records changes.
|
boolean |
isServerAuthoritativeSyncServer() |
SchemaI |
loadLocalSchema() |
SchemaI |
loadSchema() |
void |
lockServer()
Puts the server in the "locked" state which denies logging in for
everybody excepts users with special permission.
|
Benutzer |
login(java.lang.String username,
java.lang.String pass) |
Benutzer |
login(java.lang.String username,
java.lang.String pass,
boolean inhibitInitFeatureManager) |
Benutzer |
login(java.lang.String username,
java.lang.String pass,
boolean inhibitInitFeatureManager,
java.lang.String originHash) |
BatchedBackendRequestI |
prepareQuery(java.lang.String query) |
BatchedBackendRequestI |
prepareQuery(java.lang.String query,
java.lang.Object[] parms) |
void |
processConnectionEvent(ConnectionEvent ce)
This is the central point where connections are cleanly terminated based on incoming connection events.
|
void |
processDBManEvent(DBManEvent event)
Invoked when a subscribed DBManEvent occurs.
|
de.ipcon.db.core.QueryResultsI |
query(BOQuery eq)
query objects in an iterative way to hide backend processing time.
|
de.ipcon.db.core.QueryResultsI |
query(java.lang.String query)
wrapper for query(t, Object[0])
|
de.ipcon.db.core.QueryResultsI |
query(java.lang.String query,
java.lang.Object[] parms)
query objects in an iterative way to hide backend processing time.
|
java.util.List |
queryBO(BOQuery eq)
query objects and block until all objects are transferred, returns Objects as a List.
|
java.util.List |
queryBO(java.lang.String query)
wrapper for queryBO(String, Object[0])
|
java.util.List |
queryBO(java.lang.String query,
java.lang.Object[] parms)
query objects and block until all objects are transferred, returns Objects as a List.
|
de.ipcon.db.core.QueryResultsI |
queryRelation(long id,
java.lang.Class<? extends BOI> classtip,
java.lang.String attributeName)
does the same as @see #getRelationBOs, but returns a QueryResultsI like @see #query.
|
void |
resetPassword(java.lang.String username) |
byte[] |
retrieveExpiringToken(java.lang.String serviceName,
java.lang.String tokenName)
Retrieves a time limited token
|
TransactionAnswer |
saveBO(Transaction _tx) |
TransactionAnswer |
saveBO(Transaction _tx,
boolean _ignoreConflicts) |
TransactionAnswer |
saveBO(Transaction _tx,
boolean _ignoreConflicts,
int lockTimeout) |
TransactionAnswer |
saveBO(Transaction _tx,
boolean _ignoreConflicts,
int lockTimeout,
int retries) |
TransactionAnswer |
saveBO(Transaction _tx,
SaveBOListenerI _sbi) |
TransactionAnswer |
saveBO(Transaction _tx,
SaveBOListenerI _sbi,
boolean _ignoreConflicts) |
TransactionAnswer |
saveBO(Transaction _tx,
SaveBOListenerI _sbi,
boolean _ignoreConflicts,
int lockTimeout) |
TransactionAnswer |
saveBO(Transaction _tx,
SaveBOListenerI _sbi,
boolean _ignoreConflicts,
int lockTimeout,
int retries) |
TransactionAnswer |
saveBOImpl(Transaction tx)
Persists the changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBOImpl(Transaction tx,
int lockTimeout)
Persists the changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBOImpl(Transaction tx,
int lockTimeout,
int retries)
Persists the changes recorded in the passed Transaction tx to the database.
|
TransactionAnswer |
saveBOImpl(Transaction tx,
int lockTimeout,
int retries,
Benutzer onBehalfOf)
Persists the changes recorded in the passed Transaction tx to the database.
|
void |
sendSystemMessage(java.lang.String _msg) |
void |
sendSystemMessage(java.lang.String _msg,
java.util.Map _msgClients) |
void |
setActivateL10nProvider(boolean $34) |
void |
setAnmeldungUsed(Anmeldung $32) |
void |
setConnectionEventListeners(java.util.ArrayList $40) |
void |
setFeatureManager(FeatureManagerI fm) |
void |
setInitDefaultFeatureManager(boolean $35) |
void |
setL10nPath(int $38,
L10nPathEntry $39) |
void |
setL10nPath(L10nPathEntry[] $36) |
void |
setProgressAnimator(ProgressAnimatorI pa) |
void |
setSessid(java.lang.Long $33) |
void |
setSessionLocale(java.util.Locale locale) |
void |
skipRecheckConnection() |
void |
stopServerShutdown() |
void |
subscribeConnectionEvents(ConnectionEventListenerI l) |
void |
subscribeEvents(DBManEventListenerI listener,
DBManEventFilter filter)
Subscribe a listener to events matching the filter
|
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 |
unlockServer()
Puts the server in the "unlocked" state where everybody may log in.
|
void |
unsubscribeConnectionEvents(ConnectionEventListenerI l) |
void |
unsubscribeEvents(DBManEventListenerI listener)
Unsubscribe the given listener from event notification
|
void |
unsubscribeEvents(DBManEventListenerI listener,
DBManEventFilter filter) |
void |
updateStructureReadAccessStatistics(java.util.Map<java.lang.Long,java.lang.Integer> statistics)
Pushes the passed read access statistics for structures to the server
This method pushes the passed read access statistics map to the server using the current server connection.
|
boolean |
useOnlyDefaultPlafThemes() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrapBOArrayFromCache, frapBOIArrayFromCache, frapBOsFromCache, frapFromCache, isAncestorOf, isRootLoader, isServerSide, isTesting, prepareQueryhaveBLOB, haveBLOBgetBOByAttr, getBOByAttr, getBOByAttr, getBOByAttrs, getBOByAttrs, getBOByAttrs, getBOsByAttrs, getBOsByAttrs, getBOsByAttrs, getBOsByAttrs, getOneBOByAttr, getUniqueBOByAttrprefetchL10nPackspublic BackendConnectionManager(boolean _noReconnect,
boolean _noInitialConnectionRetries,
java.lang.String serverUrl)
public BackendConnectionManager(boolean _noReconnect,
boolean _noInitialConnectionRetries,
java.lang.String serverUrl,
SchemaI _preloadedSchema)
public BackendConnectionManager(java.lang.String serverUrl)
public BackendConnectionManager(java.lang.String serverUrl,
boolean _initDefaultFeatureManager,
boolean _activateL10nProvider,
java.lang.String _localSchemaPath,
BasicClientContextI _bcc,
boolean _noReconnect,
boolean _noInitialConnectionRetries)
public BackendConnectionManager(java.lang.String[] _serverUrls,
boolean _initDefaultFeatureManager,
boolean _activateL10nProvider,
java.lang.String _localSchemaPath,
BasicClientContextI _bcc,
boolean _noReconnect,
boolean _noInitialConnectionRetries,
SchemaI _preloadedSchema)
public CacheI getCache(java.lang.String title, java.lang.Class clazz, java.lang.String fetchQuery, java.lang.Class mapClass)
getCache in interface SessionScopedCacheProviderIpublic CacheI getCache(java.lang.String title, java.lang.Class clazz, java.lang.String fetchQuery, CacheKeyCalculatorI cacheKeyCalculator, java.lang.Class mapClass)
getCache in interface SessionScopedCacheProviderIpublic void flushCache()
public boolean canReconnect()
BackendConnectionManagerIcanReconnect in interface BackendConnectionManagerIpublic void enableReconnect()
BackendConnectionManagerIenableReconnect in interface BackendConnectionManagerIpublic void disableReconnect()
BackendConnectionManagerIdisableReconnect in interface BackendConnectionManagerIpublic void skipRecheckConnection()
skipRecheckConnection in interface BackendConnectionManagerIpublic void setProgressAnimator(ProgressAnimatorI pa)
public void processDBManEvent(DBManEvent event)
DBManEventListenerIDBManBOChangeEvent for events triggered after modification on BOs.processDBManEvent in interface DBManEventListenerIpublic boolean forcedClientDisconnectEventFits(DBManServerEvent se)
public void subscribeEvents(DBManEventListenerI listener, DBManEventFilter filter)
DBManEventProviderIsubscribeEvents in interface DBManEventProviderIpublic void _subscribeEvents(DBManEventListenerI listener, DBManEventFilter filter)
public void unsubscribeEvents(DBManEventListenerI listener)
DBManEventProviderIunsubscribeEvents in interface DBManEventProviderIpublic void unsubscribeEvents(DBManEventListenerI listener, DBManEventFilter filter)
unsubscribeEvents in interface DBManEventProviderIpublic DBManEventDemuxer getEventDemuxer()
BackendConnectionManagerIgetEventDemuxer in interface BackendConnectionManagerIpublic void subscribeConnectionEvents(ConnectionEventListenerI l)
subscribeConnectionEvents in interface ConnectionEventProviderIpublic void unsubscribeConnectionEvents(ConnectionEventListenerI l)
unsubscribeConnectionEvents in interface ConnectionEventProviderIpublic void fireConnectionEvent(java.lang.String connHash,
java.lang.String serverURL,
int eventid,
EventMessage reason)
fireConnectionEvent in interface BackendConnectionManagerIpublic void processConnectionEvent(ConnectionEvent ce)
processConnectionEvent in interface ConnectionEventListenerIpublic SchemaI getLocalSchema()
getLocalSchema in interface BackendConnectionManagerIpublic SchemaI loadLocalSchema()
public FileVaultI getFileVault()
getFileVault in interface BOLoaderIpublic BO getBOUncached(java.lang.Long id)
getBOUncached in interface BOLoaderIpublic BO getBOUncached(java.lang.Long id, java.lang.Class<? extends BOI> classtip)
BOLoaderIBOLoaderI.isCaching() BOLoaderI instances.getBOUncached in interface BOLoaderIpublic java.lang.Boolean isLoggedIn(Benutzer ben)
BOLoaderIisLoggedIn in interface BOLoaderIben - the Benutzer for which the logged in state should be checkedpublic boolean isLoggedInNN(Benutzer ben)
BOLoaderIisLoggedInNN in interface BOLoaderIben - the Benutzer for which the logged in state should be checkedpublic void drain()
BOLoaderIBOLoaderI.isCaching() returns false, this is a nop.public boolean isCaching()
BOLoaderIpublic boolean isRecording()
BOLoaderIisRecording in interface BOLoaderIpublic BO frapFromCache(BO bo)
BOLoaderIfrapFromCache in interface BOLoaderIpublic BOLoaderI getParentLoader()
BOLoaderIgetParentLoader in interface BOLoaderIpublic BOLoaderI getRootLoader()
BOLoaderIgetRootLoader in interface BOLoaderIpublic DBManEventProviderI getEventProvider()
BOLoaderIgetEventProvider in interface BOLoaderIpublic Transaction getNewTransaction(SchemaI customSchema)
public Transaction getNewTransaction(SchemaI customSchema, java.lang.String desc)
public Transaction getNewTransaction(SchemaI customSchema, java.lang.String desc, TemporaryIdSupplierI tempIdSupplier)
public Transaction getNewTransaction(java.lang.String desc)
SaveBOImplementationITransaction instance.getNewTransaction in interface TransactionBuilderIgetNewTransaction in interface SaveBOImplementationIdesc - the description to use for the new Transactionpublic Transaction getNewTransaction(java.lang.String desc, TemporaryIdSupplierI tempIdSupplier)
getNewTransaction in interface TransactionBuilderIpublic Transaction getNewTransaction()
SaveBOImplementationITransaction instance.getNewTransaction in interface TransactionBuilderIgetNewTransaction in interface SaveBOImplementationIpublic Transaction getNewTransaction(TemporaryIdSupplierI tempIdSupplier)
getNewTransaction in interface TransactionBuilderIpublic Transaction getNewTransactionWithInstrumentedSchema(java.lang.String desc)
getNewTransactionWithInstrumentedSchema in interface TransactionBuilderIpublic Transaction getNewTransactionWithInstrumentedSchema(java.lang.String desc, TemporaryIdSupplierI tempIdSupplier)
getNewTransactionWithInstrumentedSchema in interface TransactionBuilderIpublic Transaction getNewTransactionWithInstrumentedSchema()
getNewTransactionWithInstrumentedSchema in interface TransactionBuilderIpublic Transaction getNewTransactionWithInstrumentedSchema(TemporaryIdSupplierI tempIdSupplier)
getNewTransactionWithInstrumentedSchema in interface TransactionBuilderIpublic void setFeatureManager(FeatureManagerI fm)
public java.lang.String getServerUrl()
public java.lang.String getServerName()
public java.lang.String getInstanceName()
getInstanceName in interface BackendConnectionManagerIpublic DBManInfo getDBManInfo()
public java.lang.Long getNodeNumber()
BackendConnectionManagerIgetNodeNumber in interface BackendConnectionManagerIpublic boolean isServerAuthoritativeSyncServer()
public boolean isNotificationSystemActivated()
public BackendSessionInfo[] getSessionInfos()
public boolean connect()
public boolean isConnected()
public boolean isConnected(boolean failfast)
public boolean isMemoryTightClient()
public boolean isMemoryTightClient(boolean failfast)
public void disconnect()
public boolean isDisconnected()
public boolean isDisconnected(boolean failfast)
public boolean checkServerConnectivity()
public Benutzer login(java.lang.String username, java.lang.String pass) throws AuthenticationException
AuthenticationExceptionpublic Benutzer login(java.lang.String username, java.lang.String pass, boolean inhibitInitFeatureManager) throws AuthenticationException
AuthenticationExceptionpublic Benutzer login(java.lang.String username, java.lang.String pass, boolean inhibitInitFeatureManager, java.lang.String originHash) throws AuthenticationException
AuthenticationExceptionpublic boolean isLoggedIn()
public Benutzer getBen()
public void resetPassword(java.lang.String username)
public java.lang.Long testAuth(Anmeldung a)
BOLoaderIpublic boolean testAuth(de.ipcon.db.core.PasswortUeberpruefung a)
BOLoaderIpublic void handleDBManEvent(DBManEvent evt)
handleDBManEvent in interface BackendConnectionManagerIpublic CryptoHandlerI getCryptoHandler()
BOLoaderIgetCryptoHandler in interface BOLoaderIpublic void checkSchema(java.lang.String rfp)
throws ServerConnectionException,
SchemaIncompatibleException
checkSchema in interface BackendConnectionManagerIServerConnectionExceptionSchemaIncompatibleExceptionpublic SchemaI getSchema()
BOLoaderIgetSchema in interface BOLoaderIgetSchema in interface SaveBOImplementationIgetSchema in interface SchemaProviderIpublic SchemaI loadSchema()
public void callInitEnvironmentOnClient(SchemaI _schema)
public Struktur[] getLazyStruktur(java.lang.Long botId)
public java.lang.String[] getAvailableLocalesForUserInterface()
public java.lang.String[] getInitialAvailableLocalesForUserInterface()
public boolean useOnlyDefaultPlafThemes()
public L10nPack[] getL10nPackPreload(java.lang.String locale)
public java.lang.String getL10nViaString()
L10nPackProviderIgetL10nViaString in interface L10nPackProviderIpublic void setSessionLocale(java.util.Locale locale)
public long getBLOB(java.lang.Long id,
java.io.DataOutput oo)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs tooo - the DataOutput to write the BLOB-bytes topublic long getBLOB(java.lang.Long id,
java.io.DataOutput oo,
boolean closeOS)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs tooo - the DataOutput to write the BLOB-bytes tocloseOS - a boolean designating if the DataOutput shall be closed afterwards or not.public long getBLOB(java.lang.Long id,
java.io.DataOutput oo,
boolean closeOS,
java.lang.Long backuppingBPId)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs tooo - the DataOutput to write the BLOB-bytes tocloseOS - a boolean designating if the DataOutput shall be closed afterwards or not.backuppingBPId - instead of the current BLOB get and stream
the backup-BLOB that was stored because of this BP-Id from the backup-dirpublic long getBLOB(java.lang.Long id,
java.io.OutputStream os)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs toos - the OutputStream to write the BLOB-bytes topublic long getBLOB(java.lang.Long id,
java.io.OutputStream os,
boolean closeOS)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs toos - the OutputStream to write the BLOB-bytes tocloseOS - a boolean designating if the OutputStream shall be closed afterwards or not.public long getBLOB(java.lang.Long id,
java.io.OutputStream os,
boolean closeOS,
java.lang.Long backuppingBPId)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs toos - the OutputStream to write the BLOB-bytes tocloseOS - a boolean designating if the OutputStream shall be closed afterwards or not.backuppingBPId - instead of the current BLOB get and stream
the backup-BLOB that was stored because of this BP-Id from the backup-dirpublic byte[] getBLOB(java.lang.Long id)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs to.public byte[] getBLOB(java.lang.Long id,
java.lang.Long backuppingBPId)
BLOBLoaderIgetBLOB in interface BLOBLoaderIid - the id of the BO the BLOB belongs to.backuppingBPId - instead of the current BLOB get and stream
the backup-BLOB that was stored because of this BP-Id from the backup-dirpublic VFile getBLOBInfo(java.lang.Long id)
BLOBLoaderIgetBLOBInfo in interface BLOBLoaderIid - the id of the BO the BLOB-info belongs to.public VFile getBLOBInfo(java.lang.Long id, java.lang.Long backuppingBPId)
BLOBLoaderIgetBLOBInfo in interface BLOBLoaderIid - the id of the BO the BLOB-info belongs to.backuppingBPId - instead of the current BLOB get the VFile for
the backup-BLOB that was stored because of this BP-Id from the backup-dirpublic boolean hasBLOB(java.lang.Long id)
hasBLOB in interface BLOBLoaderIid - the id of the BO the check for existence of a BLOB on the server.public boolean hasBLOB(java.lang.Long id,
java.lang.Long backuppingBPId)
hasBLOB in interface BLOBLoaderIid - the id of the BO the check for existence of a BLOB on the server.backuppingBPId - instead of the current BLOB get the VFile for
the backup-BLOB that was stored because of this BP-Id from
the backup-dirpublic java.util.BitSet haveBLOB(long[] ids)
haveBLOB in interface BLOBLoaderIids - an array of ids of BOs the check for existence of a BLOB on the server.public void copyRemoteBLOBsToLocalFileVault(ServerFileVaultI _fileVault, java.util.List<java.lang.Long> pendingBLOBChangeBOIdsLocal, java.lang.Long lastAuthNodeBTId)
public TransactionAnswer saveBOImpl(Transaction tx)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - the Transaction to savepublic TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - the Transaction to savelockTimeout - 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.public TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout, int retries)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - the Transaction to savelockTimeout - 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 abortedpublic TransactionAnswer saveBOImpl(Transaction tx, int lockTimeout, int retries, Benutzer onBehalfOf)
SaveBOImplementationIsaveBOImpl in interface SaveBOImplementationItx - the Transaction to savelockTimeout - 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 abortedonBehalfOf - the Benutzer on whose behalf to savepublic TransactionAnswer saveBO(Transaction _tx) throws TransactionConflictException
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction _tx, boolean _ignoreConflicts) throws TransactionConflictException
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction _tx, boolean _ignoreConflicts, int lockTimeout) throws TransactionConflictException
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction _tx, boolean _ignoreConflicts, int lockTimeout, int retries) throws TransactionConflictException
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction _tx, SaveBOListenerI _sbi) throws TransactionConflictException
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction _tx, SaveBOListenerI _sbi, boolean _ignoreConflicts) throws TransactionConflictException
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction _tx, SaveBOListenerI _sbi, boolean _ignoreConflicts, int lockTimeout) throws TransactionConflictException
TransactionConflictExceptionpublic TransactionAnswer saveBO(Transaction _tx, SaveBOListenerI _sbi, boolean _ignoreConflicts, int lockTimeout, int retries) throws TransactionConflictException
TransactionConflictExceptionpublic KeyRange getIdRange(long size)
public java.lang.Long getNextId()
BOLoaderIpublic de.ipcon.db.core.QueryResultsI query(java.lang.String query)
BOLoaderIquery in interface BOLoaderIquery in interface BOQueryLoaderIBOLoaderI.query(String, Object[])public de.ipcon.db.core.QueryResultsI query(java.lang.String query,
java.lang.Object[] parms)
BOLoaderIThis sample shows how to query bla BOs though this method
do
it = bol.query("bla from pack.bo bla where not Ldel limit 2")
loop while it.hasNext()
bo = BO it.getCurrentObject() -- hopefully this IS a BO, depends on the query.
-- do whatever you have to do with the bo
finally
it.close()
end
The finally clause is very important to free up database and backend resources,
so please don't forget this step!query in interface BOLoaderIquery in interface BOQueryLoaderIquery in interface GrooqlBOLoaderIquery - the query to fetch, written in OQLparms - an object array corresponding with $n entries, $1 is pvals[0] and so forth. Must not be null.public de.ipcon.db.core.QueryResultsI queryRelation(long id,
java.lang.Class<? extends BOI> classtip,
java.lang.String attributeName)
BOLoaderIqueryRelation in interface BOLoaderIpublic BatchedBackendRequestI prepareQuery(java.lang.String query)
prepareQuery in interface BOLoaderIpublic BatchedBackendRequestI prepareQuery(java.lang.String query, java.lang.Object[] parms)
prepareQuery in interface BOLoaderIpublic void execute(BatchedBackendRequestI[] srs)
public void _execute(BatchedBackendRequestI[] srs)
public java.util.List queryBO(java.lang.String query)
BOLoaderIqueryBO in interface BOLoaderIqueryBO in interface BOQueryLoaderIBOLoaderI.queryBO(String, Object[])public java.util.List queryBO(java.lang.String query,
java.lang.Object[] parms)
BOLoaderIqueryBO in interface BOLoaderIqueryBO in interface BOQueryLoaderIqueryBO in interface GrooqlBOLoaderIquery - the query to fetch, written in OQLparms - an object array corresponding with $n entries, $1 is pvals[0] and so forth. Must not be null.BOLoaderI.query(String, Object[])public de.ipcon.db.core.QueryResultsI query(BOQuery eq)
BOLoaderIpublic java.util.List queryBO(BOQuery eq)
BOLoaderIpublic boolean exists(java.lang.Long id)
BOLoaderIexists in interface BOLoaderIBOLoaderI.exists(Long, Class)public boolean exists(java.lang.Long id,
java.lang.Class<? extends BOI> classtip)
BOLoaderIpublic BO getBO(java.lang.Long id)
BOLoaderIgetBO in interface BOLoaderIBOLoaderI.getBO(Long, Class)public BO getBO(java.lang.Long id, java.lang.Class<? extends BOI> classtip)
BOLoaderIpublic BO[] getBOs(java.lang.Long[] ids)
BOLoaderIgetBOs in interface BOLoaderIBOLoaderI.getBOs(Long[],Class)public BO[] getBOs(java.lang.Long[] ids, java.lang.Class<? extends BOI> classtip)
BOLoaderIgetBOs in interface BOLoaderIids - array of Longs with ids for the requested BOs.classtip - guess for classes which the BOs belong to, may be null.Transactionpublic BO[] getBOs(long[] ids)
BOLoaderIgetBOs in interface BOLoaderIBOLoaderI.getBOs(long[],Class)public BO[] getBOs(long[] ids, java.lang.Class<? extends BOI> classtip)
BOLoaderIgetBOs in interface BOLoaderIids - array of longs with ids for the requested BOs.classtip - guess for classes which the BOs belong to, may be null.Transactionpublic BO[] getRelationBOs(java.lang.Long id, java.lang.Class<? extends BOI> classtip, java.lang.String attributeName)
BOLoaderIgetRelationBOs in interface BOLoaderIid - id of the BO which the requested BOs has a relation toclasstip - common superclass of the requested bosattributeName - name of the relation from the BO to the requested onespublic BO[] _getRelationBOs(java.lang.Long id, java.lang.Class<? extends BOI> classtip, java.lang.String attributeName)
public void lockServer()
Puts the server in the "locked" state which denies logging in for everybody excepts users with special permission. Useful e.g. when trying to get the system "clear" for shutdown.
Only checks if current user is allowed for lock actions; to actually send the command this method must be overwritten by subclasses! The server actually (re)checks the permission itself so the check here only serves as a failfast option to avoid unnecessary roundtrips.
public void unlockServer()
Puts the server in the "unlocked" state where everybody may log in.
Only checks if current user is allowed for lock actions; to actually send the command this method must be overwritten by subclasses! The server actually (re)checks the permission itself so the check here only serves as a failfast option to avoid unnecessary roundtrips.
public void initiateServerShutdown()
public void initiateServerShutdown(int _cSecsDelay)
public void initiateServerShutdown(int _cSecsDelay,
java.lang.String _msg)
public void stopServerShutdown()
public void sendSystemMessage(java.lang.String _msg)
public void sendSystemMessage(java.lang.String _msg,
java.util.Map _msgClients)
public void demandForcedClientDisconnect()
public void demandForcedClientDisconnect(int _cSecsDelay)
public void demandForcedClientDisconnect(int _cSecsDelay,
java.lang.String _msg)
public void demandForcedClientDisconnect(int _cSecsDelay,
java.lang.String _msg,
java.util.Map _msgClients)
public void cancelForcedClientDisconnect()
public void cancelForcedClientDisconnect(java.util.Map _msgClients)
public ClientSessionInfo[] getClientSessionInfos()
public java.lang.String getURLPrefix()
public boolean isOperational()
L10nPackProviderIisOperational in interface L10nPackProviderItrue if the provider is operational, false otherwise.public L10nPack getL10nPack(java.lang.String bundle, java.lang.String locale)
L10nPackProviderIL10nPack by its bundle name and locale.getL10nPack in interface L10nPackProviderIbundle - The name of the L10n bundle to retrieve.locale - The name of the Locale for which to retrieve the pack.L10nPack, or null if not found.public L10nPack[] getL10nPacks(java.lang.String[] bundles, java.lang.String locale)
L10nPackProviderIL10nPack objects for multiple specified bundle names and a single locale.getL10nPacks in interface L10nPackProviderIbundles - An array of String names of the L10n bundles to retrieve.locale - The name of the Locale for which to retrieve the packs.L10nPacks corresponding to the requested bundle names,
or an empty array if none are found.public L10nPack[] _getL10nPacks(java.lang.String[] bundles, java.lang.String locale)
public L10nPack getL10nPack(java.lang.String bundle, java.util.Locale locale)
public L10nPack getL10nPack(java.lang.String bundle)
public L10nPack[] getL10nPacks(java.lang.String[] bundles, java.util.Locale locale)
public L10nPack[] getL10nPacks(java.lang.String[] bundles)
public void createExpiringToken(java.lang.String serviceName,
java.lang.String tokenName,
byte[] value,
long expiryms)
ExpiringTokenStorageProviderIcreateExpiringToken in interface ExpiringTokenStorageProviderIserviceName - name (fqn) of the service who provided the valuetokenName - name of the token variable which in conjunction with the service name provides a key to the valuevalue - the actual value, as byte arrayexpiryms - the time the value will be valid. After that time, the value is removed from the storepublic java.lang.String createExpiringToken(java.lang.String serviceName,
byte[] value,
long expiryms)
ExpiringTokenStorageProviderIcreateExpiringToken in interface ExpiringTokenStorageProviderIserviceName - name (fqn) of the service who provided the valuevalue - the actual value, as byte arrayexpiryms - the time the value will be valid. After that time, the value is removed from the storepublic byte[] retrieveExpiringToken(java.lang.String serviceName,
java.lang.String tokenName)
ExpiringTokenStorageProviderIretrieveExpiringToken in interface ExpiringTokenStorageProviderIserviceName - name (fqn) of the service who provided the valuetokenName - name of the token variable which in conjunction with the service name provides a key to the valuepublic byte[] destroyExpiringToken(java.lang.String serviceName,
java.lang.String tokenName)
ExpiringTokenStorageProviderIdestroyExpiringToken in interface ExpiringTokenStorageProviderIserviceName - name (fqn) of the service who provided the valuetokenName - name of the token variable which in conjunction with the service name provides a key to the valuepublic boolean isFTSActive()
isFTSActive in interface FulltextSearcherIpublic java.lang.String getIdListAsString(java.lang.String _ftClauses)
getIdListAsString in interface FulltextSearcherIpublic java.lang.String getIdListAsString(java.lang.String _ftClauses,
java.lang.String _classname)
getIdListAsString in interface FulltextSearcherIpublic long[] getIdList(java.lang.String _ftClauses)
getIdList in interface FulltextSearcherIpublic long[] getIdList(java.lang.String _ftClauses,
java.lang.String _classname)
getIdList in interface FulltextSearcherIpublic TermInfoI[] getTerms()
getTerms in interface FulltextSearcherIpublic TermInfoI[] getTerms(EntityI entity)
getTerms in interface FulltextSearcherIpublic TermInfoI[] getTerms(EntityI entity, java.lang.String regex)
getTerms in interface FulltextSearcherIpublic TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size)
getTerms in interface FulltextSearcherIpublic TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted)
getTerms in interface FulltextSearcherIpublic TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted, java.lang.String[] propertyNames)
getTerms in interface FulltextSearcherIpublic TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted, java.lang.String[] propertyNames, boolean sortByName)
getTerms in interface FulltextSearcherIpublic TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted, java.lang.String[] propertyNames, boolean sortByName, boolean withSubEntities)
getTerms in interface FulltextSearcherIpublic java.lang.String[] getTermSuggestions(EntityI entity, java.lang.String term)
getTermSuggestions in interface FulltextSearcherIpublic java.lang.String[] getTermSuggestions(EntityI entity, java.lang.String term, int size)
getTermSuggestions in interface FulltextSearcherIpublic java.lang.String[] getTermSuggestions(EntityI entity, java.lang.String term, int size, boolean includeDeleted)
getTermSuggestions in interface FulltextSearcherIpublic java.lang.String[] getTermSuggestions(EntityI entity, java.lang.String term, int size, boolean includeDeleted, boolean morePopular)
getTermSuggestions in interface FulltextSearcherIpublic java.lang.String[] getTermSuggestions(EntityI entity, java.lang.String term, int size, boolean includeDeleted, boolean morePopular, float accuracy)
getTermSuggestions in interface FulltextSearcherIpublic java.lang.String[] getTermSuggestions(EntityI entity, java.lang.String term, int size, boolean includeDeleted, boolean morePopular, float accuracy, java.lang.String propertyName)
getTermSuggestions in interface FulltextSearcherIpublic java.lang.String[] getTermSuggestions(EntityI entity, java.lang.String term, int size, boolean includeDeleted, boolean morePopular, float accuracy, java.lang.String propertyName, boolean withSubEntities)
getTermSuggestions in interface FulltextSearcherIpublic boolean isFTSAvailable()
public void applyDefaults(electric.xml.Element el,
java.lang.Object[] l10nPaths)
public Struktur getAutomatikStrukturForPath(java.lang.String path)
AutomatikStrukturLoaderIgetAutomatikStrukturForPath in interface AutomatikStrukturLoaderIpath - a String containing the path to the automatically generated structure element that shall be loadedpublic Struktur getAutomatikStrukturForPath(java.lang.String path, boolean reload)
AutomatikStrukturLoaderIgetAutomatikStrukturForPath in interface AutomatikStrukturLoaderIpath - a String containing the path to the automatically generated structure element that shall be loadedreload - force a reloadpublic Struktur getAutomatikStrukturForPath(java.lang.String path, boolean reload, boolean directOnly)
AutomatikStrukturLoaderIgetAutomatikStrukturForPath in interface AutomatikStrukturLoaderIpath - a String containing the path to the automatically generated structure element that shall be loadedreload - force a reloaddirectOnly - only return structure that is for the entity directly, that is resolved from the path, no parent class structurepublic Struktur getAutomatikStrukturForPath(java.lang.String path, boolean reload, boolean directOnly, EntityI[] entitiesOnly)
AutomatikStrukturLoaderIgetAutomatikStrukturForPath in interface AutomatikStrukturLoaderIpath - a String containing the path to the automatically generated structure element that shall be loadedreload - force a reloaddirectOnly - only return structure that is for the entity directly, that is resolved from the path, no parent class structureentitiesOnly - only returns structure of the passed EntityI; no restriction if nullpublic void updateStructureReadAccessStatistics(java.util.Map<java.lang.Long,java.lang.Integer> statistics)
This method pushes the passed read access statistics map to the server using the current server connection. The keys are structure Ids and the values are read access counts. If no server connection is available, an IllegalArgumentException is raised.
statistics - a map containing structure Ids as keys and their read access counts as values.java.lang.IllegalArgumentException - if no server connection is availablepublic Anmeldung getAnmeldungUsed()
getAnmeldungUsed in interface BackendConnectionManagerIpublic void setAnmeldungUsed(Anmeldung $32)
public java.lang.Long getSessid()
public void setSessid(java.lang.Long $33)
public boolean isActivateL10nProvider()
public void setActivateL10nProvider(boolean $34)
public FeatureManagerI getFeatureManager()
getFeatureManager in interface BOLoaderIpublic boolean isInitDefaultFeatureManager()
public void setInitDefaultFeatureManager(boolean $35)
public L10nPathEntry[] getL10nPath()
L10nPackProviderIThese path entries define the locations or priorities for searching localization resources within the overall L10n system.
getL10nPath in interface BackendConnectionManagerIgetL10nPath in interface L10nPackProviderIL10nPathEntry objects.public void setL10nPath(L10nPathEntry[] $36)
public L10nPathEntry getL10nPath(int $37)
public void setL10nPath(int $38,
L10nPathEntry $39)
public java.util.ArrayList getConnectionEventListeners()
public void setConnectionEventListeners(java.util.ArrayList $40)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.