com.activequant.dao.mybatis
Class InstrumentDao

java.lang.Object
  extended by com.activequant.dao.mybatis.GenericMapperDao<Instrument>
      extended by com.activequant.dao.mybatis.InstrumentDao
All Implemented Interfaces:
IEntityDao<Instrument>, IInstrumentDao

public class InstrumentDao
extends GenericMapperDao<Instrument>
implements IInstrumentDao


Field Summary
 
Fields inherited from class com.activequant.dao.mybatis.GenericMapperDao
mapper
 
Constructor Summary
InstrumentDao(GenericRowMapper mapper)
           
 
Method Summary
 String[] getNonExpiredInstruments(long date8)
           
 String[] searchById(String idsLikeString, int resultAmount)
           
 void update(Instrument instrument)
          Due to the use of arrays, i have to delete the entire instrument.
 
Methods inherited from class com.activequant.dao.mybatis.GenericMapperDao
count, countForAttributeValue, countForAttributeValue, countForAttributeValue, create, delete, findIDs, findIDs, findIDs, findIDs, findIDsLike, findIDsWhereCreationDateBetween, findIDsWhereLongValGreater, load, loadAll, loadIDs, selectDistinctDoubleVal, selectDistinctLongVal, selectDistinctStringVal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.activequant.dao.IEntityDao
count, countForAttributeValue, countForAttributeValue, countForAttributeValue, create, delete, findIDs, findIDs, findIDs, findIDs, findIDsWhereCreationDateBetween, load, loadAll, loadIDs
 

Constructor Detail

InstrumentDao

public InstrumentDao(GenericRowMapper mapper)
Method Detail

getNonExpiredInstruments

public String[] getNonExpiredInstruments(long date8)
Specified by:
getNonExpiredInstruments in interface IInstrumentDao

update

public void update(Instrument instrument)
Due to the use of arrays, i have to delete the entire instrument.

Specified by:
update in interface IEntityDao<Instrument>
Overrides:
update in class GenericMapperDao<Instrument>

searchById

public String[] searchById(String idsLikeString,
                           int resultAmount)
Specified by:
searchById in interface IInstrumentDao


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.