java.lang.Object
com.hedera.hashgraph.sdk.Executable<SystemUndeleteTransaction,Transaction,TransactionResponse,TransactionResponse>
com.hedera.hashgraph.sdk.Transaction<SystemUndeleteTransaction>
com.hedera.hashgraph.sdk.SystemUndeleteTransaction
@Deprecated
public final class SystemUndeleteTransaction
extends Transaction<SystemUndeleteTransaction>
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Transaction
Transaction.SignableNodeTransactionBodyBytesNested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Executable
Executable.GrpcRequest -
Field Summary
Fields inherited from class com.hedera.hashgraph.sdk.Transaction
customFeeLimits, DEFAULT_AUTO_RENEW_PERIOD, defaultMaxTransactionFee, DUMMY_ACCOUNT_ID, DUMMY_TRANSACTION_ID, frozenBodyBuilder, innerSignedTransactions, outerTransactions, publicKeys, regenerateTransactionId, signers, sigPairLists, sourceTransactionBody, transactionIdsFields inherited from class com.hedera.hashgraph.sdk.Executable
attemptedAllNodes, blockingUnaryCall, grpcDeadline, logger, maxAttempts, maxBackoff, minBackoff, nodeAccountIds, nodes, random, RST_STREAM -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructor.Deprecated.Constructor.Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescription(package private) SystemUndeleteTransactionBody.Builderbuild()Deprecated.Build the transaction body.Deprecated.The contract ID instance to undelete, in the format used in transactionsDeprecated.Extract the file id.(package private) io.grpc.MethodDescriptor<Transaction, TransactionResponse> Deprecated.Called to direct the invocation of the query to the appropriate gRPC service.(package private) voidDeprecated.Initialize from the transaction body.(package private) CompletableFuture<Void> onExecuteAsync(Client client) Deprecated.(package private) voidonFreeze(TransactionBody.Builder bodyBuilder) Deprecated.Called inTransaction.freezeWith(Client)just before the transaction body is built.(package private) voidonScheduled(SchedulableTransactionBody.Builder scheduled) Deprecated.Called inTransaction.schedule()when converting transaction into a scheduled version.setContractId(ContractId contractId) Deprecated.A contract identifier.Deprecated.A file identifier.(package private) voidvalidateChecksums(Client client) Deprecated.Methods inherited from class com.hedera.hashgraph.sdk.Transaction
addSignature, addSignature, batchify, buildAllTransactions, buildTransaction, doSchedule, estimateFee, freeze, freezeWith, fromBytes, fromScheduledTransaction, generateTransactionIds, getBatchKey, getDefaultMaxTransactionFee, getExecutionState, getHighVolume, getMaxTransactionFee, getRegenerateTransactionId, getRequiredChunks, getSignableNodeBodyBytesList, getSignatures, getSignaturesAtOffset, getTransactionBodySize, getTransactionHash, getTransactionHashPerNode, getTransactionId, getTransactionIdInternal, getTransactionMemo, getTransactionSize, getTransactionValidDuration, hash, isBatchedAndNotBatchTransaction, isFrozen, keyAlreadySigned, makeRequest, mapResponse, mapResponseStatus, onExecute, regenerateTransactionId, requireNotFrozen, requireOneNodeAccountId, schedule, setBatchKey, setHighVolume, setMaxTransactionFee, setNodeAccountIds, setRegenerateTransactionId, setTransactionId, setTransactionMemo, setTransactionValidDuration, sign, signTransaction, signWith, signWithOperator, spawnBodyBuilder, toBytes, toString, wipeTransactionListsMethods inherited from class com.hedera.hashgraph.sdk.Executable
advanceRequest, checkNodeAccountIds, execute, execute, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, getGrpcRequest, getMaxAttempts, getMaxBackoff, getMaxRetry, getMinBackoff, getNodeAccountIds, getNodeForExecute, grpcDeadline, logTransaction, mergeFromClient, setGrpcDeadline, setLogger, setMaxAttempts, setMaxBackoff, setMaxRetry, setMinBackoff, setNodesFromNodeAccountIds, setRequestListener, setResponseListener, shouldRetryExceptionally
-
Constructor Details
-
SystemUndeleteTransaction
public SystemUndeleteTransaction()Deprecated.Constructor. -
SystemUndeleteTransaction
SystemUndeleteTransaction(LinkedHashMap<TransactionId, LinkedHashMap<AccountId, throws com.google.protobuf.InvalidProtocolBufferExceptionTransaction>> txs) Deprecated.Constructor.- Parameters:
txs- Compound list of transaction id's list of (AccountId, Transaction) records- Throws:
com.google.protobuf.InvalidProtocolBufferException- when there is an issue with the protobuf
-
SystemUndeleteTransaction
SystemUndeleteTransaction(TransactionBody txBody) Deprecated.Constructor.- Parameters:
txBody- protobuf TransactionBody
-
-
Method Details
-
getFileId
Deprecated.Extract the file id.- Returns:
- the file id
-
setFileId
Deprecated.A file identifier.The identified file MUST exist in the HFS.
The identified file MUST be deleted.
The identified file deletion MUST be a result of a `systemDelete` transaction.
The identified file MUST NOT be a "system" file.
This field is REQUIRED. Mutually exclusive withsetContractId(ContractId).- Parameters:
fileId- The FileId to be set- Returns:
this
-
getContractId
Deprecated.The contract ID instance to undelete, in the format used in transactions- Returns:
- the contractId
-
setContractId
Deprecated.A contract identifier.The identified contract MUST exist in network state.
The identified contract bytecode MUST be deleted.
The identified contract deletion MUST be a result of a `systemDelete` transaction.- Parameters:
contractId- The ContractId to be set- Returns:
this
-
initFromTransactionBody
void initFromTransactionBody()Deprecated.Initialize from the transaction body. -
build
Deprecated.Build the transaction body.- Returns:
SystemUndeleteTransactionBody
-
validateChecksums
Deprecated.- Specified by:
validateChecksumsin classTransaction<SystemUndeleteTransaction>- Throws:
BadEntityIdException
-
onExecuteAsync
Deprecated.- Overrides:
onExecuteAsyncin classTransaction<SystemUndeleteTransaction>
-
getMethodDescriptor
io.grpc.MethodDescriptor<Transaction,TransactionResponse> getMethodDescriptor()Deprecated.Description copied from class:ExecutableCalled to direct the invocation of the query to the appropriate gRPC service.- Specified by:
getMethodDescriptorin classExecutable<SystemUndeleteTransaction,Transaction, TransactionResponse, TransactionResponse>
-
onFreeze
Deprecated.Description copied from class:TransactionCalled inTransaction.freezeWith(Client)just before the transaction body is built. The intent is for the derived class to assign their data variant to the transaction body.- Specified by:
onFreezein classTransaction<SystemUndeleteTransaction>
-
onScheduled
Deprecated.Description copied from class:TransactionCalled inTransaction.schedule()when converting transaction into a scheduled version.- Specified by:
onScheduledin classTransaction<SystemUndeleteTransaction>
-
This transaction MUST be signed by an Hedera administrative ("system") account. ### What is a "system" file A "system" file is any file with a file number less than or equal to the current configuration value for `ledger.numReservedSystemEntities`, typically `750`. ### Block Stream Effects None