public class MetadataTransactionServiceImpl extends java.lang.Object implements MetadataTransactionService
MetadataTransactionService
Constructor and Description |
---|
MetadataTransactionServiceImpl(RepositoryFactory factory) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<AccountMetadataTransactionFactory> |
createAccountMetadataTransactionFactory(Address targetAddress,
java.math.BigInteger key,
java.lang.String value,
Address sourceAddress)
Create an Account Metadata Transaction that knows how to set or update a value.
|
io.reactivex.Observable<MosaicMetadataTransactionFactory> |
createMosaicMetadataTransactionFactory(Address targetAddress,
java.math.BigInteger key,
java.lang.String value,
Address sourceAddress,
UnresolvedMosaicId unresolvedTargetId)
Create an Mosaic Metadata Transaction that knows how to set or update a value.
|
io.reactivex.Observable<NamespaceMetadataTransactionFactory> |
createNamespaceMetadataTransactionFactory(Address targetAddress,
java.math.BigInteger key,
java.lang.String value,
Address sourceAddress,
NamespaceId targetId)
Create an Namespace Metadata Transaction that knows how to set or update a value.
|
public MetadataTransactionServiceImpl(RepositoryFactory factory)
public io.reactivex.Observable<AccountMetadataTransactionFactory> createAccountMetadataTransactionFactory(Address targetAddress, java.math.BigInteger key, java.lang.String value, Address sourceAddress)
MetadataTransactionService
createAccountMetadataTransactionFactory
in interface MetadataTransactionService
targetAddress
- the target addresskey
- the key of the metadatavalue
- the value of the metadata.sourceAddress
- the address of the account creating the metadata.public io.reactivex.Observable<MosaicMetadataTransactionFactory> createMosaicMetadataTransactionFactory(Address targetAddress, java.math.BigInteger key, java.lang.String value, Address sourceAddress, UnresolvedMosaicId unresolvedTargetId)
MetadataTransactionService
createMosaicMetadataTransactionFactory
in interface MetadataTransactionService
targetAddress
- the target public accountkey
- the key of the metadatavalue
- the value of the metadata.sourceAddress
- the address of the account creating the metadata.unresolvedTargetId
- the mosaic id of the attached metadata.public io.reactivex.Observable<NamespaceMetadataTransactionFactory> createNamespaceMetadataTransactionFactory(Address targetAddress, java.math.BigInteger key, java.lang.String value, Address sourceAddress, NamespaceId targetId)
MetadataTransactionService
createNamespaceMetadataTransactionFactory
in interface MetadataTransactionService
targetAddress
- the target addresskey
- the key of the metadatavalue
- the value of the metadata.sourceAddress
- the address of the account creating the metadata.targetId
- the namespace id of the attached metadata.