public class SubscriptionModeDao extends ru.bitel.common.dao.AbstractIdDao<SubscriptionMode> implements Directory<SubscriptionMode>
Constructor and Description |
---|
SubscriptionModeDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
SubscriptionMode |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected SubscriptionMode |
getFromRS(java.sql.ResultSet rs) |
java.util.List<SubscriptionMode> |
list()
Получение всего списка элементов из справочника
|
java.util.List<SubscriptionMode> |
list(int subscriptionTypeId,
java.util.Date date) |
protected void |
updateImpl(SubscriptionMode b) |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, update
protected SubscriptionMode getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<SubscriptionMode>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(SubscriptionMode b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<SubscriptionMode>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public SubscriptionMode get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
Directory
UnsupportedOperationException
get
in interface Directory<SubscriptionMode>
ru.bitel.bgbilling.common.BGException
public java.util.List<SubscriptionMode> list() throws ru.bitel.bgbilling.common.BGException
Directory
list
in interface Directory<SubscriptionMode>
ru.bitel.bgbilling.common.BGException
public java.util.List<SubscriptionMode> list(int subscriptionTypeId, java.util.Date date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException