Constructor and Description |
---|
AgentManager(java.sql.Connection con,
int mid) |
AgentManager(Setup setup) |
Modifier and Type | Method and Description |
---|---|
void |
deleteAgent(int id) |
Agent |
getAgent(int id) |
java.util.List<Agent> |
getAgentList(java.lang.String title) |
protected Agent |
getLogin(javax.servlet.http.HttpServletRequest request,
java.sql.Connection con,
java.lang.Integer mid,
Conf conf,
java.lang.String[] baseAuth) |
protected boolean |
isNeedBaseAuth(Agent a,
java.sql.Connection b,
java.lang.Integer c,
Conf d) |
protected boolean |
isNeedCertificateAuth(Agent a,
java.sql.Connection b,
java.lang.Integer c,
Conf d) |
protected boolean |
isNeedSecureConnection(Agent a,
java.sql.Connection b,
java.lang.Integer c,
Conf conf) |
void |
updateAgent(Agent agent) |
public AgentManager(java.sql.Connection con, int mid)
public AgentManager(Setup setup)
public Agent getAgent(int id)
public java.util.List<Agent> getAgentList(java.lang.String title)
public void deleteAgent(int id)
public void updateAgent(Agent agent) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected Agent getLogin(javax.servlet.http.HttpServletRequest request, java.sql.Connection con, java.lang.Integer mid, Conf conf, java.lang.String[] baseAuth) throws bitel.billing.server.admin.auth.AuthException
protected boolean isNeedBaseAuth(Agent a, java.sql.Connection b, java.lang.Integer c, Conf d)
protected boolean isNeedCertificateAuth(Agent a, java.sql.Connection b, java.lang.Integer c, Conf d)