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, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
protected Subscriber getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS
in class ru.bitel.common.dao.AbstractDao<Subscriber>
java.sql.SQLException
protected 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.BGException
java.sql.SQLException
public java.util.List<Subscriber> list(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Subscriber> find(java.lang.String subcriberId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Subscriber get(int id, int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deactivateSubscriber(int subscriberId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int getNextSubscriberId(int startValue) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException