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, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic 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.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected 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.BGExceptionjava.sql.SQLExceptionpublic 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