public class AgentAVDManager extends ru.bitel.common.dao.AbstractIdDao<AgentAVD>
Constructor and Description |
---|
AgentAVDManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
checkAgents() |
int |
getActualAgentCount(int cid) |
int |
getAgentCount(int cid) |
protected AgentAVD |
getFromRS(java.sql.ResultSet rs) |
java.util.List<AgentAVD> |
getListAll() |
java.util.List<AgentAVD> |
getListByDate(java.util.Date date)
Список агентов не продленных на дату
|
java.util.List<AgentAVD> |
getListById(int cid) |
java.util.List<AgentAVD> |
getListById(int cid,
java.util.Calendar date) |
java.util.List<AgentAVD> |
getListLockAgent() |
java.util.List<AgentAVD> |
getListWithNextStatus(int nextStatus) |
java.util.List<AgentAVD> |
getListWithStatus(int status,
java.util.Calendar date) |
protected void |
updateImpl(AgentAVD agent) |
void |
updateNotLog(AgentAVD agent) |
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 AgentAVD getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS
in class ru.bitel.common.dao.AbstractDao<AgentAVD>
java.sql.SQLException
public void updateNotLog(AgentAVD agent) throws java.sql.SQLException
java.sql.SQLException
protected void updateImpl(AgentAVD agent) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<AgentAVD>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<AgentAVD> getListById(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getListLockAgent() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getListWithNextStatus(int nextStatus) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getListByDate(java.util.Date date) throws ru.bitel.bgbilling.common.BGException
date
- ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getListAll() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int getAgentCount(int cid) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public int getActualAgentCount(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void checkAgents()
public java.util.List<AgentAVD> getListWithStatus(int status, java.util.Calendar date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getListById(int cid, java.util.Calendar date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException