public class BackendRequestSave extends ComplexBackendRequest implements BackendRequestSaveI
DEFAULT_TIMEOUT_COMPLEX_COMMANDS, DEFAULT_TIMEOUT_CONCISE_COMMANDS, DEFAULT_TIMEOUT_MEDIUM_COMMANDS, DEFAULT_TIMEOUT_SIMPLE_COMMANDS| Constructor and Description |
|---|
BackendRequestSave() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
applyBOLoader(java.lang.Object bo) |
TransactionAnswer |
getTransactionAnswer() |
void |
initClientSide(java.lang.String _serverAddress,
int _getResultsTimeoutSeconds,
Transaction _tx,
int _lockTimeout,
int _retries) |
void |
processRequest() |
void |
readRequestParameters(SecureObjectInputI in) |
void |
writeRequestResults(SecureObjectOutputI out) |
calculateResponse, getBCH, getCommand, getCommandString, getDefaultExceptionPrefix, getProgressDisplay, getResponseException, getResults, getSession, getSlot, getUtx, initClientSide, initServerSide, isAllowedUnauthenticated, isParallelProcessAndWrite, prepareRequest, receiveResponse, releaseTransport, sendRequest, setExceptionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateResponse, getCommandString, getDefaultExceptionPrefix, getResponseException, getResults, getSlot, initClientSide, initServerSide, isAllowedUnauthenticated, isParallelProcessAndWrite, prepareRequest, receiveResponse, releaseTransport, sendRequest, setExceptionpublic void initClientSide(java.lang.String _serverAddress,
int _getResultsTimeoutSeconds,
Transaction _tx,
int _lockTimeout,
int _retries)
initClientSide in interface BackendRequestSaveI_lockTimeout - 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 getTransactionAnswer() throws ObjectNotPersistentException, ObjectsNotPersistentException, SaveException, FeatureNotAvailableException
getTransactionAnswer in interface BackendRequestSaveIObjectNotPersistentExceptionObjectsNotPersistentExceptionSaveExceptionFeatureNotAvailableExceptionpublic void readRequestParameters(SecureObjectInputI in) throws java.io.IOException, java.lang.ClassNotFoundException
readRequestParameters in interface BackendRequestIjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void processRequest()
processRequest in interface BackendRequestIpublic void writeRequestResults(SecureObjectOutputI out) throws java.io.IOException
writeRequestResults in interface BackendRequestIjava.io.IOExceptionpublic java.lang.Object applyBOLoader(java.lang.Object bo)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.