IGbChannelService.java 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. List<CommonGBChannel> queryByPlatform(Platform platform);
  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> queryList(int page, int count, String query, Boolean online, Boolean hasCivilCode, Boolean hasGroup);
  25. void removeCivilCode(List<Region> allChildren);
  26. void addChannelToRegion(String civilCode, List<Integer> channelIds);
  27. void deleteChannelToRegion(String civilCode, List<Integer> channelIds);
  28. void deleteChannelToRegionByCivilCode(String civilCode);
  29. void deleteChannelToRegionByChannelIds(List<Integer> channelIds);
  30. void addChannelToRegionByGbDevice(String civilCode, List<Integer> deviceIds);
  31. void deleteChannelToRegionByGbDevice(List<Integer> deviceIds);
  32. void removeParentIdByBusinessGroup(String businessGroup);
  33. void removeParentIdByGroupList(List<Group> groupList);
  34. void updateBusinessGroup(String oldBusinessGroup, String newBusinessGroup);
  35. void updateParentIdGroup(String oldParentId, String newParentId);
  36. void addChannelToGroup(String parentId, String businessGroup, List<Integer> channelIds);
  37. void deleteChannelToGroup(String parentId, String businessGroup, List<Integer> channelIds);
  38. void addChannelToGroupByGbDevice(String parentId, String businessGroup, List<Integer> deviceIds);
  39. void deleteChannelToGroupByGbDevice(List<Integer> deviceIds);
  40. void batchUpdate(List<CommonGBChannel> commonGBChannels);
  41. CommonGBChannel queryOneWithPlatform(Integer platformId, String channelDeviceId);
  42. }