Package nxt.ms
Class ExchangeHome
java.lang.Object
nxt.ms.ExchangeHome
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumfinal class -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddListener(Listener<ExchangeHome.Exchange> listener, ExchangeHome.Event eventType) static ExchangeHomeforChain(ChildChain childChain) getAccountCurrencyExchanges(long accountId, long currencyId, int from, int to) getAccountExchanges(long accountId, int from, int to) getAllExchanges(int from, int to) intgetCount()getCurrencyExchanges(long currencyId, int from, int to) intgetExchangeCount(long currencyId) getExchanges(long transactionId) getLastExchanges(long[] currencyIds) getOfferExchanges(long offerId, int from, int to) static booleanremoveListener(Listener<ExchangeHome.Exchange> listener, ExchangeHome.Event eventType)
-
Method Details
-
forChain
-
addListener
public static boolean addListener(Listener<ExchangeHome.Exchange> listener, ExchangeHome.Event eventType) -
removeListener
public static boolean removeListener(Listener<ExchangeHome.Exchange> listener, ExchangeHome.Event eventType) -
getAllExchanges
-
getCount
public int getCount() -
getCurrencyExchanges
-
getLastExchanges
-
getAccountExchanges
-
getAccountCurrencyExchanges
public DbIterator<ExchangeHome.Exchange> getAccountCurrencyExchanges(long accountId, long currencyId, int from, int to) -
getExchanges
-
getOfferExchanges
-
getExchangeCount
public int getExchangeCount(long currencyId)
-