Package nxt.ms
Class ExchangeOfferHome
java.lang.Object
nxt.ms.ExchangeOfferHome
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classfinal classclassfinal class -
Method Summary
Modifier and TypeMethodDescriptionstatic ExchangeOfferHomeforChain(ChildChain childChain) getAccountBuyOffers(long accountId, boolean availableOnly, int from, int to) getAccountSellOffers(long accountId, boolean availableOnly, int from, int to) getAllBuyOffers(int from, int to) getAllSellOffers(int from, int to) getAvailableToBuy(long currencyId, long unitsQNT) getAvailableToSell(long currencyId, long units) getBuyOffer(long offerId) getBuyOffer(long currencyId, long accountId) getBuyOffer(Currency currency, Account account) intgetBuyOffers(DbClause dbClause, int from, int to) getBuyOffers(DbClause dbClause, int from, int to, String sort) getBuyOffers(Currency currency, int from, int to) getCurrencyBuyOffers(long currencyId, boolean availableOnly, int from, int to) getCurrencySellOffers(long currencyId, boolean availableOnly, int from, int to) getSellOffer(long id) getSellOffer(long currencyId, long accountId) getSellOffer(Currency currency, Account account) intgetSellOffers(DbClause dbClause, int from, int to) getSellOffers(DbClause dbClause, int from, int to, String sort) getSellOffers(Currency currency, int from, int to) voidremoveOffer(AccountLedger.LedgerEvent event, ExchangeOfferHome.BuyOffer buyOffer)
-
Method Details
-
forChain
-
getAvailableToSell
-
getAvailableToBuy
-
removeOffer
-
getBuyOfferCount
public int getBuyOfferCount() -
getBuyOffer
-
getAllBuyOffers
-
getBuyOffers
-
getCurrencyBuyOffers
public DbIterator<ExchangeOfferHome.BuyOffer> getCurrencyBuyOffers(long currencyId, boolean availableOnly, int from, int to) -
getAccountBuyOffers
public DbIterator<ExchangeOfferHome.BuyOffer> getAccountBuyOffers(long accountId, boolean availableOnly, int from, int to) -
getBuyOffer
-
getBuyOffer
-
getBuyOffers
-
getBuyOffers
public DbIterator<ExchangeOfferHome.BuyOffer> getBuyOffers(DbClause dbClause, int from, int to, String sort) -
getSellOfferCount
public int getSellOfferCount() -
getSellOffer
-
getAllSellOffers
-
getSellOffers
-
getCurrencySellOffers
public DbIterator<ExchangeOfferHome.SellOffer> getCurrencySellOffers(long currencyId, boolean availableOnly, int from, int to) -
getAccountSellOffers
public DbIterator<ExchangeOfferHome.SellOffer> getAccountSellOffers(long accountId, boolean availableOnly, int from, int to) -
getSellOffer
-
getSellOffer
-
getSellOffers
-
getSellOffers
public DbIterator<ExchangeOfferHome.SellOffer> getSellOffers(DbClause dbClause, int from, int to, String sort)
-