public class SubscriberManager extends ru.bitel.common.dao.AbstractIdDao<Subscriber>
| Constructor and Description |
|---|
SubscriberManager(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
void |
deactivateSubscriber(int subscriberId) |
java.util.List<Subscriber> |
find(java.lang.String subcriberId) |
Subscriber |
get(int id,
int cid) |
protected Subscriber |
getFromRS(java.sql.ResultSet rs) |
int |
getNextSubscriberId(int startValue) |
java.util.List<Subscriber> |
list(int cid) |
protected void |
updateImpl(Subscriber subscriber) |
delete, get, getAndDelete, getAndUpdateprotected Subscriber getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS in class ru.bitel.common.dao.AbstractDao<Subscriber>java.sql.SQLExceptionprotected void updateImpl(Subscriber subscriber) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<Subscriber>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic java.util.List<Subscriber> list(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<Subscriber> find(java.lang.String subcriberId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic Subscriber get(int id, int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void deactivateSubscriber(int subscriberId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic int getNextSubscriberId(int startValue)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException