Class OmegaManager
java.lang.Object
ru.bitel.bgbilling.modules.omega.server.bean.OmegaManager
public class OmegaManager
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description OmegaManager(java.sql.Connection con, int moduleId)
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OmegaManager
public OmegaManager(java.sql.Connection con, int moduleId)
-
-
Method Details
-
getHash
public java.lang.String getHash(Contract contract, java.lang.String key) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getContract
-
getStatusCredit
-
setCredit
-
changeTarif
public java.lang.String changeTarif(Contract contract, java.lang.String proceeddate, java.lang.String newTarif) -
getActiveTariff
-
getInetStatus
-
getActiveServices
-
deactivateService
-
getServicesAvailableToActivate
-
createNewService
-