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, setException
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculateResponse, getCommandString, getDefaultExceptionPrefix, getResponseException, getResults, getSlot, initClientSide, initServerSide, isAllowedUnauthenticated, isParallelProcessAndWrite, prepareRequest, receiveResponse, releaseTransport, sendRequest, setException
public 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 BackendRequestSaveI
ObjectNotPersistentException
ObjectsNotPersistentException
SaveException
FeatureNotAvailableException
public void readRequestParameters(SecureObjectInputI in) throws java.io.IOException, java.lang.ClassNotFoundException
readRequestParameters
in interface BackendRequestI
java.io.IOException
java.lang.ClassNotFoundException
public void processRequest()
processRequest
in interface BackendRequestI
public void writeRequestResults(SecureObjectOutputI out) throws java.io.IOException
writeRequestResults
in interface BackendRequestI
java.io.IOException
public java.lang.Object applyBOLoader(java.lang.Object bo)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.