public class SoftLineSubscriptionDao extends ru.bitel.common.dao.AbstractIdDao<SoftLineSubscription>
Constructor and Description |
---|
SoftLineSubscriptionDao(java.sql.Connection con,
int mid) |
SoftLineSubscriptionDao(java.sql.Connection con,
int moduleId,
java.lang.String tableName) |
Modifier and Type | Method and Description |
---|---|
protected SoftLineSubscription |
getFromRS(java.sql.ResultSet rs) |
void |
searchSubscriptions(SearchResult<SoftLineSubscription> searchResult,
int contractId,
int subscriptionId,
SubscriptionStatus status,
int productId)
Поиск подписок
|
protected void |
updateImpl(SoftLineSubscription subscription) |
delete, get, getAndDelete, getAndUpdate
public SoftLineSubscriptionDao(java.sql.Connection con, int mid)
public SoftLineSubscriptionDao(java.sql.Connection con, int moduleId, java.lang.String tableName)
protected SoftLineSubscription getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<SoftLineSubscription>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(SoftLineSubscription subscription) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<SoftLineSubscription>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public void searchSubscriptions(SearchResult<SoftLineSubscription> searchResult, int contractId, int subscriptionId, SubscriptionStatus status, int productId) throws ru.bitel.bgbilling.common.BGException
searchResult
- contractId
- - id договораsubscriptionId
- - id подпискиstatus
- - статус подпискиproductId
- - id продукта, который был заведён в конфиге модуляru.bitel.bgbilling.common.BGException