IGbChannelService.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.genersoft.iot.vmp.gb28181.service;
  2. import com.genersoft.iot.vmp.gb28181.bean.*;
  3. import com.genersoft.iot.vmp.streamPush.bean.StreamPush;
  4. import com.github.pagehelper.PageInfo;
  5. import java.util.Collection;
  6. import java.util.List;
  7. public interface IGbChannelService {
  8. CommonGBChannel queryByDeviceId(String gbDeviceId);
  9. int add(CommonGBChannel commonGBChannel);
  10. int delete(int gbId);
  11. void delete(Collection<Integer> ids);
  12. int update(CommonGBChannel commonGBChannel);
  13. int offline(CommonGBChannel commonGBChannel);
  14. int offline(List<CommonGBChannel> commonGBChannelList);
  15. int online(CommonGBChannel commonGBChannel);
  16. int online(List<CommonGBChannel> commonGBChannelList);
  17. void batchAdd(List<CommonGBChannel> commonGBChannels);
  18. void updateStatus(List<CommonGBChannel> channelList);
  19. CommonGBChannel getOne(int id);
  20. List<IndustryCodeType> getIndustryCodeList();
  21. List<DeviceType> getDeviceTypeList();
  22. List<NetworkIdentificationType> getNetworkIdentificationTypeList();
  23. void reset(int id);
  24. PageInfo<CommonGBChannel> queryListByCivilCode(int page, int count, String query, Boolean online, Integer channelType, String civilCode);
  25. PageInfo<CommonGBChannel> queryListByParentId(int page, int count, String query, Boolean online, Integer channelType, String groupDeviceId);
  26. void removeCivilCode(List<Region> allChildren);
  27. void addChannelToRegion(String civilCode, List<Integer> channelIds);
  28. void deleteChannelToRegion(String civilCode, List<Integer> channelIds);
  29. void deleteChannelToRegionByCivilCode(String civilCode);
  30. void deleteChannelToRegionByChannelIds(List<Integer> channelIds);
  31. void addChannelToRegionByGbDevice(String civilCode, List<Integer> deviceIds);
  32. void deleteChannelToRegionByGbDevice(List<Integer> deviceIds);
  33. void removeParentIdByBusinessGroup(String businessGroup);
  34. void removeParentIdByGroupList(List<Group> groupList);
  35. void updateBusinessGroup(String oldBusinessGroup, String newBusinessGroup);
  36. void updateParentIdGroup(String oldParentId, String newParentId);
  37. void addChannelToGroup(String parentId, String businessGroup, List<Integer> channelIds);
  38. void deleteChannelToGroup(String parentId, String businessGroup, List<Integer> channelIds);
  39. void addChannelToGroupByGbDevice(String parentId, String businessGroup, List<Integer> deviceIds);
  40. void deleteChannelToGroupByGbDevice(List<Integer> deviceIds);
  41. void batchUpdate(List<CommonGBChannel> commonGBChannels);
  42. CommonGBChannel queryOneWithPlatform(Integer platformId, String channelDeviceId);
  43. void updateCivilCode(String oldCivilCode, String newCivilCode);
  44. List<CommonGBChannel> queryListByStreamPushList(List<StreamPush> streamPushList);
  45. void updateGpsByDeviceIdForStreamPush(List<CommonGBChannel> channels);
  46. PageInfo<CommonGBChannel> queryList(int page, int count, String query, Boolean online, Boolean hasRecordPlan, Integer channelType);
  47. }