public class DialUpDAO extends BillingDAO
dbInfo, transferData, user
Constructor and Description |
---|
DialUpDAO(User user,
DBInfo dbInfo) |
DialUpDAO(User user,
java.lang.String billingId) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DialUpSession> |
getActiveSessionList(int contractId,
int loginId) |
java.util.List<DialUpPeriod> |
getContractAccountingPeriodList(int contractId) |
java.util.List<DialUpError> |
getErrorList(int contractId,
int loginId,
int days) |
static java.lang.String |
getLogin(org.w3c.dom.Document doc,
int moduleId,
int contractId) |
DialUpLogin |
getLogin(int loginId) |
java.util.List<DialUpLogin> |
getLoginList(int contractId) |
java.lang.String |
getLoginPassword(int contractId,
int login) |
java.util.List<IdTitle> |
getLoginStaticIp(int loginId) |
static java.lang.String |
getPassword(org.w3c.dom.Document doc,
int moduleId,
int contractId) |
java.lang.String |
getRadiusLog(java.lang.String radiusSessionId,
java.lang.String radiusSessionStart) |
java.lang.String |
getRadiusLog(java.lang.String radiusSessionId,
java.lang.String radiusSessionStart,
java.lang.String splitter) |
java.util.List<DialUpLoginRestrict> |
getRestrictList(int loginId,
int contractId) |
java.util.List<DialUpSession> |
getSessionList(int contractId,
int loginId,
int days) |
void |
terminateSession(java.lang.String recordId) |
void |
updateContractAccountPeriod(DialUpPeriod period) |
void |
updateLogin(int contractId,
int loginId,
java.lang.String dateFrom,
java.lang.String dateTo,
int access) |
void |
updatePassword(int loginId) |
void |
updatePeriod(int contractId,
java.util.Date dateFrom,
java.util.Date dateTo) |
void |
updatePeriod(int contractId,
java.util.Date dateFrom,
java.util.Date dateTo,
int periodId) |
void |
updateStaticIP(int loginId,
java.lang.String IP,
java.util.Date dateFrom,
java.util.Date dateTo) |
doRequest, getDbInfo, getPage, getParameterId, setPage
public DialUpDAO(User user, java.lang.String billingId) throws BGException
BGException
public DialUpDAO(User user, DBInfo dbInfo) throws BGException
BGException
public static java.lang.String getLogin(org.w3c.dom.Document doc, int moduleId, int contractId)
public static java.lang.String getPassword(org.w3c.dom.Document doc, int moduleId, int contractId)
public java.util.List<DialUpLogin> getLoginList(int contractId) throws BGException
contractId
- dialupModuleId
- BGException
java.lang.Exception
public DialUpLogin getLogin(int loginId)
public java.lang.String getLoginPassword(int contractId, int login) throws BGException
BGException
public java.util.List<DialUpSession> getSessionList(int contractId, int loginId, int days) throws BGException
contractId
- dialupModuleId
- loginId
- days
- java.lang.Exception
BGException
public java.util.List<DialUpError> getErrorList(int contractId, int loginId, int days) throws BGException
BGException
public java.lang.String getRadiusLog(java.lang.String radiusSessionId, java.lang.String radiusSessionStart) throws java.lang.Exception
java.lang.Exception
public java.lang.String getRadiusLog(java.lang.String radiusSessionId, java.lang.String radiusSessionStart, java.lang.String splitter) throws BGException
BGException
public void terminateSession(java.lang.String recordId) throws BGException
BGException
public java.util.List<IdTitle> getLoginStaticIp(int loginId) throws BGException
BGException
public void updateContractAccountPeriod(DialUpPeriod period)
public java.util.List<DialUpPeriod> getContractAccountingPeriodList(int contractId) throws BGException
BGException
public java.util.List<DialUpSession> getActiveSessionList(int contractId, int loginId) throws BGException
BGException
public void updatePassword(int loginId) throws BGException
BGException
public void updateLogin(int contractId, int loginId, java.lang.String dateFrom, java.lang.String dateTo, int access) throws BGException
BGException
public java.util.List<DialUpLoginRestrict> getRestrictList(int loginId, int contractId) throws java.text.ParseException, BGException
java.text.ParseException
BGException
public void updatePeriod(int contractId, java.util.Date dateFrom, java.util.Date dateTo) throws BGException
BGException
public void updatePeriod(int contractId, java.util.Date dateFrom, java.util.Date dateTo, int periodId) throws BGException
BGException
public void updateStaticIP(int loginId, java.lang.String IP, java.util.Date dateFrom, java.util.Date dateTo) throws BGException
BGException