Package ru.bitel.bgbilling.modules.smarthouse.common.service

# Interface SmartHouseIntercomService

public interface SmartHouseIntercomService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addIntercomFlatForContractAddress(int contractId)`
  `void`
  `doGetIntercomFlats(int id)`
  `List<String>`
  `getContractData(List<Integer> contractIds)`
  `SmartHouseIntercomFlat`
  `getSmartHouseIntercomFlatByContractId(int contractId)`
  `org.json.JSONObject`
  `houseInfoData(List<Integer> houseIds)`
  `List<ContractIdTitleComment>`
  `searchContractByAddress(int intercomId)`
  `List<ContractIdTitleComment>`
  `searchContractByMask(String text)`
  `List<String>`
  `searchHouse(String text)`
  `SearchResult<String>`
  `searchIntercomFlatStatusLogs(int intercomFlatId, Page page)`
  `void`
  `setIntercomFlatStatus(int contractId, int intercomFlatId, boolean status)`
  `List<SmartHouseIntercomFlat>`
  `smartHouseIntercomFlatList(int intercomId)`
  `void`
  `smartHouseIntercomFlatUpdate(SmartHouseIntercomFlat data)`
  `SmartHouseIntercom`
  `smartHouseIntercomGet(int id)`
  `List<SmartHouseIntercom>`
  `smartHouseIntercomList()`
  `SearchResult<SmartHouseIntercom>`
  `smartHouseIntercomSearch(String title, String[] sort, Page page)`
  `int`
  `smartHouseIntercomUpdate(SmartHouseIntercom smartHouseIntercom)`

- ## Method Details

  - ### smartHouseIntercomSearch

    SearchResult<SmartHouseIntercom> smartHouseIntercomSearch(String title, String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### smartHouseIntercomList

    List<SmartHouseIntercom> smartHouseIntercomList() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### houseInfoData

    org.json.JSONObject houseInfoData(List<Integer> houseIds) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### doGetIntercomFlats

    void doGetIntercomFlats(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### smartHouseIntercomGet

    SmartHouseIntercom smartHouseIntercomGet(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### smartHouseIntercomUpdate

    int smartHouseIntercomUpdate(SmartHouseIntercom smartHouseIntercom) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### smartHouseIntercomFlatList

    List<SmartHouseIntercomFlat> smartHouseIntercomFlatList(int intercomId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### smartHouseIntercomFlatUpdate

    void smartHouseIntercomFlatUpdate(SmartHouseIntercomFlat data) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getContractData

    List<String> getContractData(List<Integer> contractIds) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### searchHouse

    List<String> searchHouse(String text) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### searchContractByMask

    List<ContractIdTitleComment> searchContractByMask(String text) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### searchContractByAddress

    List<ContractIdTitleComment> searchContractByAddress(int intercomId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### setIntercomFlatStatus

    void setIntercomFlatStatus(int contractId, int intercomFlatId, boolean status) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getSmartHouseIntercomFlatByContractId

    SmartHouseIntercomFlat getSmartHouseIntercomFlatByContractId(int contractId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### addIntercomFlatForContractAddress

    void addIntercomFlatForContractAddress(int contractId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### searchIntercomFlatStatusLogs

    SearchResult<String> searchIntercomFlatStatusLogs(int intercomFlatId, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`