com.activequant.dao
Interface IEntityDao<T extends PersistentEntity>
- All Known Subinterfaces:
- ICountryDao, IInstrumentDao, IMarketDataInstrumentDao, IPortfolioDao, IPositionDao, IRegionDao, ISecurityChainDao, ITradeableInstrumentDao, IVenueDao
- All Known Implementing Classes:
- CountryDao, EntityDao, InstrumentDao, MarketDataInstrumentDao, PortfolioDao, PositionDao, RegionDao, SecurityChainDao, TradeableInstrumentDao, VenueDao
public interface IEntityDao<T extends PersistentEntity>
load
T load(String primaryKey)
throws DaoException
- Throws:
DaoException
loadAll
T[] loadAll()
throws DaoException
- Throws:
DaoException
loadIDs
String[] loadIDs()
throws DaoException
- Throws:
DaoException
create
void create(T t)
throws DaoException
- Throws:
DaoException
delete
void delete(T t)
throws DaoException
- Throws:
DaoException
update
void update(T t)
throws DaoException
- Throws:
DaoException
findIDs
String[] findIDs(String key,
String sValue)
findIDs
String[] findIDs(String key,
Double dValue)
findIDs
String[] findIDs(String key,
Long lValue)
findIDs
String[] findIDs(int startIndex,
int endIndex)
count
int count()
countForAttributeValue
int countForAttributeValue(String key,
String sValue)
countForAttributeValue
int countForAttributeValue(String key,
Double dValue)
countForAttributeValue
int countForAttributeValue(String key,
Long lValue)
findIDsWhereCreationDateBetween
String[] findIDsWhereCreationDateBetween(TimeStamp startTs,
TimeStamp endTs)
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.