Interface GatesService
public interface GatesService
Веб-сервис для работы с gate. Изначальн был поделен на 2 интерфейса - WSGates и WSGateType .
Но из-за странного ограничения sun-ской имплементации web-сервисов 2 разных интрефейса в одном пакете не могут
имеить одинаковые имена ..У меня были WSGates.update( Gate gate ) и WSGateType.update ( GateType type ).
Пришлось это объединить.
-
Method Summary
Modifier and Type Method Description voidaddContractGate(int cid, int gateId)voiddeleteContractGate(int cid, int gid)voiddeleteGate(int gateId)voiddeleteType(int id)java.util.List<Gate>getContractGates(int cid)GateTypegetType(int id)java.util.List<Gate>listGates()java.util.List<GateType>listTypes()voidupdateGate(Gate gate)intupdateType(GateType type, boolean checkScript)
-
Method Details
-
listGates
- Throws:
ru.bitel.bgbilling.common.BGException
-
updateGate
- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteGate
void deleteGate(int gateId) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
listTypes
- Throws:
ru.bitel.bgbilling.common.BGException
-
getType
- Throws:
ru.bitel.bgbilling.common.BGException
-
updateType
- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteType
void deleteType(int id) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getContractGates
- Throws:
ru.bitel.bgbilling.common.BGException
-
addContractGate
void addContractGate(int cid, int gateId) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteContractGate
void deleteContractGate(int cid, int gid) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-