public class OmegaManager
extends java.lang.Object
Constructor and Description |
---|
OmegaManager(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
changeTarif(Contract contract,
java.lang.String proceeddate,
java.lang.String newTarif) |
int |
createNewService(Contract contract,
java.lang.String serviceTypeId) |
int |
deactivateService(Contract contract,
java.lang.String serviceId) |
org.json.JSONArray |
getActiveServices(Contract contract) |
org.json.JSONArray |
getActiveTariff(Contract contract) |
Contract |
getContract(java.lang.String hash) |
java.lang.String |
getHash(Contract contract,
java.lang.String key) |
org.json.JSONObject |
getInetStatus(Contract contract) |
org.json.JSONArray |
getServicesAvailableToActivate(Contract contract) |
int |
getStatusCredit(Contract contract) |
java.lang.String |
setCredit(Contract contract,
int days) |
public java.lang.String getHash(Contract contract, java.lang.String key) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Contract getContract(java.lang.String hash)
public int getStatusCredit(Contract contract)
public java.lang.String setCredit(Contract contract, int days)
public java.lang.String changeTarif(Contract contract, java.lang.String proceeddate, java.lang.String newTarif)
public org.json.JSONArray getActiveTariff(Contract contract)
public org.json.JSONObject getInetStatus(Contract contract)
public org.json.JSONArray getActiveServices(Contract contract)
public int deactivateService(Contract contract, java.lang.String serviceId)
public org.json.JSONArray getServicesAvailableToActivate(Contract contract)
public int createNewService(Contract contract, java.lang.String serviceTypeId)