public class SubscriptionHistoryDao extends ru.bitel.common.dao.AbstractDao<SubscriptionHistory>
Constructor and Description |
---|
SubscriptionHistoryDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
deleteHistoryOfSubscription(int subscriptionId)
Удаление всех записей истории для конкретной подписки
|
protected SubscriptionHistory |
getFromRS(java.sql.ResultSet rs) |
void |
searchHistory(SearchResult<SubscriptionHistory> searchResult,
int contractId,
int subscriptionId,
int productId) |
protected void |
updateImpl(SubscriptionHistory history) |
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
public SubscriptionHistoryDao(java.sql.Connection con, int mid)
protected SubscriptionHistory getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<SubscriptionHistory>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(SubscriptionHistory history) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<SubscriptionHistory>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public void searchHistory(SearchResult<SubscriptionHistory> searchResult, int contractId, int subscriptionId, int productId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteHistoryOfSubscription(int subscriptionId) throws ru.bitel.bgbilling.common.BGException
subscriptionId
- - id подпискиru.bitel.bgbilling.common.BGException