Package nxt
Class CurrencySellOffer
- java.lang.Object
-
- nxt.CurrencyExchangeOffer
-
- nxt.CurrencySellOffer
-
public final class CurrencySellOffer extends CurrencyExchangeOffer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class nxt.CurrencyExchangeOffer
CurrencyExchangeOffer.AvailableOffers
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbIterator<CurrencySellOffer>getAccountOffers(long accountId, boolean availableOnly, int from, int to)static DbIterator<CurrencySellOffer>getAll(int from, int to)static intgetCount()CurrencyBuyOffergetCounterOffer()static DbIterator<CurrencySellOffer>getCurrencyOffers(long currencyId, boolean availableOnly, int from, int to)static CurrencySellOffergetOffer(long id)static CurrencySellOffergetOffer(long currencyId, long accountId)static CurrencySellOffergetOffer(Currency currency, Account account)static DbIterator<CurrencySellOffer>getOffers(Currency currency, int from, int to)static DbIterator<CurrencySellOffer>getOffers(DbClause dbClause, int from, int to)static DbIterator<CurrencySellOffer>getOffers(DbClause dbClause, int from, int to, java.lang.String sort)-
Methods inherited from class nxt.CurrencyExchangeOffer
getAccountId, getAvailableToBuy, getAvailableToSell, getCurrencyId, getExpirationHeight, getHeight, getId, getLimit, getRateNQT, getSupply
-
-
-
-
Method Detail
-
getCount
public static int getCount()
-
getOffer
public static CurrencySellOffer getOffer(long id)
-
getAll
public static DbIterator<CurrencySellOffer> getAll(int from, int to)
-
getOffers
public static DbIterator<CurrencySellOffer> getOffers(Currency currency, int from, int to)
-
getCurrencyOffers
public static DbIterator<CurrencySellOffer> getCurrencyOffers(long currencyId, boolean availableOnly, int from, int to)
-
getAccountOffers
public static DbIterator<CurrencySellOffer> getAccountOffers(long accountId, boolean availableOnly, int from, int to)
-
getOffer
public static CurrencySellOffer getOffer(Currency currency, Account account)
-
getOffer
public static CurrencySellOffer getOffer(long currencyId, long accountId)
-
getOffers
public static DbIterator<CurrencySellOffer> getOffers(DbClause dbClause, int from, int to)
-
getOffers
public static DbIterator<CurrencySellOffer> getOffers(DbClause dbClause, int from, int to, java.lang.String sort)
-
getCounterOffer
public CurrencyBuyOffer getCounterOffer()
- Specified by:
getCounterOfferin classCurrencyExchangeOffer
-
-