com.activequant.dao
Interface IMarketDataInstrumentDao

All Superinterfaces:
IEntityDao<MarketDataInstrument>
All Known Implementing Classes:
MarketDataInstrumentDao

public interface IMarketDataInstrumentDao
extends IEntityDao<MarketDataInstrument>


Method Summary
 int countForProvider(String providerId)
           
 MarketDataInstrument findByProvId(String providerId, String provSpecInstId)
           
 MarketDataInstrument[] findFor(Instrument instrument)
           
 MarketDataInstrument findFor(String providerId, Instrument instrument)
           
 MarketDataInstrument[] findForProvider(String providerId)
          fetch all mdinstruments for a specific provider.
 MarketDataInstrument[] findForProvider(String providerId, int startIndex, int maxAmount)
           
 MarketDataInstrument[] findLike(String providerId, String provSpecInstId)
           
 String[] getProviders()
           
 
Methods inherited from interface com.activequant.dao.IEntityDao
count, countForAttributeValue, countForAttributeValue, countForAttributeValue, create, delete, findIDs, findIDs, findIDs, findIDs, findIDsWhereCreationDateBetween, load, loadAll, loadIDs, update
 

Method Detail

findForProvider

MarketDataInstrument[] findForProvider(String providerId)
fetch all mdinstruments for a specific provider.

Parameters:
providerId - f.e. Bloomberg
Returns:

countForProvider

int countForProvider(String providerId)

getProviders

String[] getProviders()

findFor

MarketDataInstrument[] findFor(Instrument instrument)

findFor

MarketDataInstrument findFor(String providerId,
                             Instrument instrument)
Parameters:
providerId - for example BBGT
instrument - any instrument
Returns:
the MDI, in case it exists. if not, then null.

findByProvId

MarketDataInstrument findByProvId(String providerId,
                                  String provSpecInstId)

findLike

MarketDataInstrument[] findLike(String providerId,
                                String provSpecInstId)

findForProvider

MarketDataInstrument[] findForProvider(String providerId,
                                       int startIndex,
                                       int maxAmount)


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.