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()
Retrieves the resulting transaction answer once processing completes.
|
void |
initClientSide(java.lang.String _serverAddress,
int _getResultsTimeoutSeconds,
Transaction _tx,
int _lockTimeout,
int _retries)
Initializes the client-side save request with connection coordinates, payload, and retry policy.
|
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)
BackendRequestSaveIinitClientSide in interface BackendRequestSaveI_serverAddress - the target server endpoint address_getResultsTimeoutSeconds - maximum duration in seconds to wait for the server to return the save result_tx - the Transaction containing entities to persist_lockTimeout - timeout in seconds when waiting for locked database records; 0 indicates no timeout
(wait indefinitely), values > 0 specify an explicit duration in seconds,
and values < 0 retain the underlying persistence layer default (30 seconds)_retries - maximum retry attempts on lock contention or serialization conflicts before abortingpublic TransactionAnswer getTransactionAnswer() throws ObjectNotPersistentException, ObjectsNotPersistentException, SaveException, FeatureNotAvailableException
BackendRequestSaveIgetTransactionAnswer in interface BackendRequestSaveITransactionAnswer containing persistence status, conflict reports, and ID mappingsObjectNotPersistentException - if an entity expected to be persistent could not be resolvedObjectsNotPersistentException - if multiple entities expected to be persistent could not be resolvedSaveException - if a persistence, constraint, or database conflict error occurs during saveFeatureNotAvailableException - if a required backend persistence feature or capability is disabledpublic 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-2026 OAshi S.à r.l. All Rights Reserved.