IGbChannelService.java 2.4 KB

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