public abstract class AbstractBackendConnection extends java.lang.Object implements ServerConnectionI
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
Anmeldung |
authenticate(java.lang.String username,
java.lang.String pass) |
abstract Anmeldung |
authenticateImpl(java.lang.String username,
java.lang.String pass) |
void |
connect()
This method is called when connecting or reconnecting to a server.
|
void |
disconnect() |
void |
endUOW(java.lang.Object ref)
FIXME not implemented yet: ProgressAnimator: "Serververbindung zurueck."
|
BatchedBackendRequestI |
execute(BatchedBackendRequestI sr) |
abstract boolean |
exists(java.lang.Long id,
java.lang.Class<? extends BOI> classtip) |
abstract BO |
getBO(java.lang.Long id,
java.lang.Class<? extends BOI> classtip) |
abstract BO[] |
getBOs(long[] ids,
java.lang.Class<? extends BOI> classtip) |
abstract BO[] |
getBOs(java.lang.Long[] ids,
java.lang.Class<? extends BOI> classtip) |
L10nPack |
getL10nPack(java.lang.String bundleName,
java.lang.String locale) |
long |
getLatency() |
BackendConnectionManagerI |
getManager() |
java.lang.Long |
getNodeNumber() |
abstract BO[] |
getRelationBOs(java.lang.Long id,
java.lang.Class<? extends BOI> classtip,
java.lang.String attributeName) |
ServerConnectionInfoReceiverI |
getServerConnectionInfoReceiver() |
abstract java.lang.String |
getServerName(boolean evenIfNoActiveConnection) |
java.lang.String |
getServerUrl() |
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) |
long |
getToken() |
void |
handleDBManEvent(DBManEvent evt) |
boolean |
hasIncompatibleServerProtocolVersion() |
boolean |
isConnected() |
boolean |
isDead() |
boolean |
isDisconnected() |
boolean |
isLoggedIn() |
void |
markConnected() |
void |
markDead() |
void |
markDisconnected() |
void |
markUsable() |
de.ipcon.db.core.QueryResultsI |
query(BOQuery eq) |
java.util.List |
queryBO(BOQuery eq) |
java.util.List |
queryBO(java.lang.String s) |
java.util.List |
queryBO(java.lang.String s,
java.lang.Object[] o) |
abstract de.ipcon.db.core.QueryResultsI |
queryRelation(long id,
java.lang.Class<? extends BOI> classtip,
java.lang.String attributeName) |
void |
receiving(java.lang.Object ref)
FIXME not implemented yet: ProgressAnimator: "Daten kommen an."
|
void |
reregisterEventsAtBackend() |
void |
setLatency(int i) |
void |
setProgressAnimator(ProgressAnimatorI pa) |
void |
startUOW(java.lang.Object ref)
FIXME not implemented yet: ProgressAnimator: "Verbindung zum Server angefordert, Parameter werden zum Server uebertragen."
|
void |
subscribeEvents(DBManEventListenerI listener,
DBManEventFilter filter) |
void |
unsubscribeEvents(DBManEventListenerI listener) |
void |
unsubscribeEvents(DBManEventListenerI listener,
DBManEventFilter filter) |
void |
waiting(java.lang.Object ref)
FIXME not implemented yet: ProgressAnimator: "Wartet auf Serverantwort."
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelForcedClientDisconnect, cancelForcedClientDisconnect, checkServerConnectivity, checkServerConnectivity, copyRemoteBLOBsToLocalFileVault, demandForcedClientDisconnect, demandForcedClientDisconnect, demandForcedClientDisconnect, execute, exists, getAddress, getAvailableLocalesForUserInterface, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBInfo, getBLOBInfo, getBO, getBOs, getBOs, getClientSessionInfos, getComplexCommandsTimeoutSeconds, getConciseCommandsTimeoutSeconds, getCryptoHandler, getDBManInfo, getDomain, getIdRange, getInitialAvailableLocalesForUserInterface, getInstanceName, getL10nPackPreload, getL10nViaString, getLazyStruktur, getLoggedInUser, getMaxPool, getMediumCommandsTimeoutSeconds, getMinPool, getNextId, getPermissionHandler, getPort, getRemoteSchema, getRemoteSchemaFingerprint, getRemoteSchemaUIDs, getRemoteSchemaVersion, getRoundTrips, getServerInetAddress, getServerName, getSessionId, getSessionInfos, getSimpleCommandsTimeoutSeconds, getSubVersion, getURLPrefix, hasBLOB, hasBLOB, haveBLOB, initiateServerShutdown, initiateServerShutdown, initiateServerShutdown, initSession, isFTSAvailable, isMemoryTightClient, isNotificationSystemActivated, isServerAuthoritativeSyncServer, isTls, lockServer, prepareQuery, prepareQuery, query, query, resetPassword, saveBO, saveBO, saveBO, sendSystemMessage, sendSystemMessage, setSessionLocale, skipRecheckConnection, stopServerShutdown, subscribeEventsAtBackend, testAuth, testAuth, toString, unlockServer, unsubscribeEventsAtBackend, updateServerConnectionInfo, updateStructureReadAccessStatistics, useOnlyDefaultPlafThemes
getL10nPacks, getL10nPath, isOperational, prefetchL10nPacks
getIdList, getIdList, getIdListAsString, getIdListAsString, getTermSuggestions, getTermSuggestions, getTermSuggestions, getTermSuggestions, getTermSuggestions, getTermSuggestions, getTermSuggestions, isFTSActive
getTermsRaw, getTermsRaw, getTermsRaw, getTermsRaw, getTermsRaw, getTermsRaw, getTermsRaw, isFTSActive
createExpiringToken, createExpiringToken, destroyExpiringToken, retrieveExpiringToken
public abstract BO getBO(java.lang.Long id, java.lang.Class<? extends BOI> classtip)
getBO
in interface ServerConnectionI
public abstract BO[] getBOs(java.lang.Long[] ids, java.lang.Class<? extends BOI> classtip)
getBOs
in interface ServerConnectionI
public abstract BO[] getBOs(long[] ids, java.lang.Class<? extends BOI> classtip)
getBOs
in interface ServerConnectionI
public abstract BO[] getRelationBOs(java.lang.Long id, java.lang.Class<? extends BOI> classtip, java.lang.String attributeName)
getRelationBOs
in interface ServerConnectionI
public abstract boolean exists(java.lang.Long id, java.lang.Class<? extends BOI> classtip)
exists
in interface ServerConnectionI
public abstract de.ipcon.db.core.QueryResultsI queryRelation(long id, java.lang.Class<? extends BOI> classtip, java.lang.String attributeName)
queryRelation
in interface ServerConnectionI
public BackendConnectionManagerI getManager()
getManager
in interface ServerConnectionI
public ServerConnectionInfoReceiverI getServerConnectionInfoReceiver()
getServerConnectionInfoReceiver
in interface ServerConnectionI
public long getToken()
getToken
in interface ServerConnectionI
public boolean hasIncompatibleServerProtocolVersion()
hasIncompatibleServerProtocolVersion
in interface ServerConnectionI
public long getLatency()
public void handleDBManEvent(DBManEvent evt)
handleDBManEvent
in interface ServerConnectionI
public void subscribeEvents(DBManEventListenerI listener, DBManEventFilter filter)
public void unsubscribeEvents(DBManEventListenerI listener)
public void unsubscribeEvents(DBManEventListenerI listener, DBManEventFilter filter)
unsubscribeEvents
in interface ServerConnectionI
public void reregisterEventsAtBackend()
reregisterEventsAtBackend
in interface ServerConnectionI
public java.lang.String getServerUrl()
getServerUrl
in interface ServerConnectionI
public java.lang.Long getNodeNumber()
getNodeNumber
in interface ServerConnectionI
public abstract java.lang.String getServerName(boolean evenIfNoActiveConnection)
getServerName
in interface ServerConnectionI
public boolean isDisconnected()
public boolean isConnected()
isConnected
in interface ServerConnectionI
public boolean isDead()
isDead
in interface ServerConnectionI
public void connect() throws ServerConnectionException
ServerConnectionI
connect
in interface ServerConnectionI
ServerConnectionException
public void disconnect()
disconnect
in interface ServerConnectionI
public void markConnected()
public void markDisconnected()
public void markDead()
markDead
in interface ServerConnectionI
public void markUsable()
public void setLatency(int i)
public boolean isLoggedIn()
isLoggedIn
in interface ServerConnectionI
public Anmeldung authenticate(java.lang.String username, java.lang.String pass) throws ServerConnectionException, java.lang.IllegalStateException, AuthenticationException
authenticate
in interface ServerConnectionI
ServerConnectionException
java.lang.IllegalStateException
AuthenticationException
public abstract Anmeldung authenticateImpl(java.lang.String username, java.lang.String pass) throws AuthenticationException
AuthenticationException
public L10nPack getL10nPack(java.lang.String bundleName, java.lang.String locale)
getL10nPack
in interface L10nPackProviderI
public BatchedBackendRequestI execute(BatchedBackendRequestI sr)
execute
in interface ServerConnectionI
public java.util.List queryBO(java.lang.String s)
queryBO
in interface ServerConnectionI
public java.util.List queryBO(java.lang.String s, java.lang.Object[] o)
queryBO
in interface ServerConnectionI
public de.ipcon.db.core.QueryResultsI query(BOQuery eq)
query
in interface ServerConnectionI
public java.util.List queryBO(BOQuery eq)
queryBO
in interface ServerConnectionI
public TermInfoI[] getTerms()
getTerms
in interface FulltextSearcherI
public TermInfoI[] getTerms(EntityI entity)
getTerms
in interface FulltextSearcherI
public TermInfoI[] getTerms(EntityI entity, java.lang.String regex)
getTerms
in interface FulltextSearcherI
public TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size)
getTerms
in interface FulltextSearcherI
public TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted)
getTerms
in interface FulltextSearcherI
public TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted, java.lang.String[] propertyNames)
getTerms
in interface FulltextSearcherI
public TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted, java.lang.String[] propertyNames, boolean sortByName)
getTerms
in interface FulltextSearcherI
public TermInfoI[] getTerms(EntityI entity, java.lang.String regex, int size, boolean includeDeleted, java.lang.String[] propertyNames, boolean sortByName, boolean withSubEntities)
getTerms
in interface FulltextSearcherI
public void setProgressAnimator(ProgressAnimatorI pa)
setProgressAnimator
in interface ServerConnectionI
public void startUOW(java.lang.Object ref)
public void waiting(java.lang.Object ref)
public void receiving(java.lang.Object ref)
public void endUOW(java.lang.Object ref)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.