public final class CurrencySellOffer extends CurrencyExchangeOffer
accountId, creationHeight, currencyId, expirationHeight, id, limit, rateNQT, supply, transactionIndex
Modifier and Type | Method and Description |
---|---|
static DbIterator<CurrencySellOffer> |
getAll(int from,
int to) |
static int |
getCount() |
CurrencyBuyOffer |
getCounterOffer() |
static CurrencySellOffer |
getOffer(Currency currency,
Account account) |
static CurrencySellOffer |
getOffer(long id) |
static DbIterator<CurrencySellOffer> |
getOffers(Account account,
boolean availableOnly,
int from,
int to) |
static DbIterator<CurrencySellOffer> |
getOffers(Account account,
int from,
int to) |
static DbIterator<CurrencySellOffer> |
getOffers(Currency currency,
boolean availableOnly,
int from,
int to) |
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) |
protected void |
save(java.sql.Connection con,
java.lang.String table) |
getAccountId, getCurrencyId, getExpirationHeight, getHeight, getId, getLimit, getRateNQT, getSupply
public static int getCount()
public static CurrencySellOffer getOffer(long id)
public static DbIterator<CurrencySellOffer> getAll(int from, int to)
public static DbIterator<CurrencySellOffer> getOffers(Currency currency, int from, int to)
public static DbIterator<CurrencySellOffer> getOffers(Currency currency, boolean availableOnly, int from, int to)
public static DbIterator<CurrencySellOffer> getOffers(Account account, int from, int to)
public static DbIterator<CurrencySellOffer> getOffers(Account account, boolean availableOnly, int from, int to)
public static CurrencySellOffer getOffer(Currency currency, Account account)
public static DbIterator<CurrencySellOffer> getOffers(DbClause dbClause, int from, int to)
public static DbIterator<CurrencySellOffer> getOffers(DbClause dbClause, int from, int to, java.lang.String sort)
protected void save(java.sql.Connection con, java.lang.String table) throws java.sql.SQLException
save
in class CurrencyExchangeOffer
java.sql.SQLException
public CurrencyBuyOffer getCounterOffer()
getCounterOffer
in class CurrencyExchangeOffer