Package nxt.ae
Class Asset
java.lang.Object
nxt.ae.Asset
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddListener(Listener<Asset.AssetProperty> listener, Asset.Event eventType) static voiddeleteProperty(long propertyId) longgetAccounts(int from, int to) getAccounts(int height, int from, int to) static DbIterator<Asset>getAllAssets(int from, int to) static AssetgetAsset(long id) static AssetgetAsset(long id, int height) static DbIterator<Asset>getAssetsIssuedBy(long accountId, int from, int to) getAssetTransfers(int from, int to) static intgetCount()bytelonggetId()getName()static DbIterator<Asset.AssetProperty>getProperties(long assetId, long setterId, String property, int firstIndex, int lastIndex) static Asset.AssetPropertygetProperty(long propertyId) getProperty(long setterId, String property) longgetTrades(ChildChain childChain, int from, int to) booleanstatic voidimportAsset(long assetId, long issuerId, String name, String description, byte decimals, long quantityQNT) static voidinit()static booleanremoveListener(Listener<Asset.AssetProperty> listener, Asset.Event eventType) static DbIterator<Asset>searchAssets(String query, int from, int to) voidsetProperty(long transactionId, Account senderAccount, String property, String value)
-
Field Details
-
ASSET_FREEZE_HEIGHT_PROPERTY
- See Also:
-
ASSET_MIGRATE_HEIGHT_PROPERTY
- See Also:
-
-
Method Details
-
getAllAssets
-
getCount
public static int getCount() -
getAsset
-
getAsset
-
getAssetsIssuedBy
-
searchAssets
-
importAsset
-
init
public static void init() -
getId
public long getId() -
getAccountId
public long getAccountId() -
getName
-
getDescription
-
getQuantityQNT
public long getQuantityQNT() -
getDecimals
public byte getDecimals() -
hasPhasingControl
public boolean hasPhasingControl() -
getRoyaltiesPercentage
-
getAccounts
-
getAccounts
-
getTrades
-
getAssetTransfers
-
addListener
-
removeListener
-
setProperty
-
getProperty
-
getProperty
-
getProperties
public static DbIterator<Asset.AssetProperty> getProperties(long assetId, long setterId, String property, int firstIndex, int lastIndex) -
deleteProperty
public static void deleteProperty(long propertyId)
-