public class SubscriptionPeriodDao extends ru.bitel.common.dao.AbstractIdDao<RegistrationPeriod>
Modifier and Type | Field and Description |
---|---|
protected int |
userId |
Constructor and Description |
---|
SubscriptionPeriodDao(java.sql.Connection con,
int moduleId,
int userId) |
Modifier and Type | Method and Description |
---|---|
protected RegistrationPeriod |
getFromRS(java.sql.ResultSet rs) |
java.util.List<RegistrationPeriod> |
list(int subscriptionId) |
java.util.Map<java.lang.Integer,RegistrationPeriod> |
map(java.util.List<java.lang.Integer> registrationPeriodIds) |
protected void |
updateImpl(RegistrationPeriod registrationPeriod) |
delete, get, getAndDelete, getAndUpdate
public SubscriptionPeriodDao(java.sql.Connection con, int moduleId, int userId)
protected RegistrationPeriod getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<RegistrationPeriod>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(RegistrationPeriod registrationPeriod) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<RegistrationPeriod>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<RegistrationPeriod> list(int subscriptionId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Map<java.lang.Integer,RegistrationPeriod> map(java.util.List<java.lang.Integer> registrationPeriodIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException