| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- package com.genersoft.iot.vmp.gb28181.service;
- import com.genersoft.iot.vmp.gb28181.bean.*;
- import com.github.pagehelper.PageInfo;
- import java.util.Collection;
- import java.util.List;
- public interface IGbChannelService {
- CommonGBChannel queryByDeviceId(String gbDeviceId);
- int add(CommonGBChannel commonGBChannel);
- int delete(int gbId);
- void delete(Collection<Integer> ids);
- int update(CommonGBChannel commonGBChannel);
- int offline(CommonGBChannel commonGBChannel);
- int offline(List<CommonGBChannel> commonGBChannelList);
- int online(CommonGBChannel commonGBChannel);
- int online(List<CommonGBChannel> commonGBChannelList);
- void batchAdd(List<CommonGBChannel> commonGBChannels);
- void updateStatus(List<CommonGBChannel> channelList);
- List<CommonGBChannel> queryByPlatform(Platform platform);
- CommonGBChannel getOne(int id);
- List<IndustryCodeType> getIndustryCodeList();
- List<DeviceType> getDeviceTypeList();
- List<NetworkIdentificationType> getNetworkIdentificationTypeList();
- void reset(int id);
- PageInfo<CommonGBChannel> queryList(int page, int count, String query, Boolean online, Boolean hasCivilCode, Boolean hasGroup);
- void removeCivilCode(List<Region> allChildren);
- void addChannelToRegion(String civilCode, List<Integer> channelIds);
- void deleteChannelToRegion(String civilCode, List<Integer> channelIds);
- void deleteChannelToRegionByCivilCode(String civilCode);
- void deleteChannelToRegionByChannelIds(List<Integer> channelIds);
- void addChannelToRegionByGbDevice(String civilCode, List<Integer> deviceIds);
- void deleteChannelToRegionByGbDevice(List<Integer> deviceIds);
- void removeParentIdByBusinessGroup(String businessGroup);
- void removeParentIdByGroupList(List<Group> groupList);
- void updateBusinessGroup(String oldBusinessGroup, String newBusinessGroup);
- void updateParentIdGroup(String oldParentId, String newParentId);
- void addChannelToGroup(String parentId, String businessGroup, List<Integer> channelIds);
- void deleteChannelToGroup(String parentId, String businessGroup, List<Integer> channelIds);
- void addChannelToGroupByGbDevice(String parentId, String businessGroup, List<Integer> deviceIds);
- void deleteChannelToGroupByGbDevice(List<Integer> deviceIds);
- void batchUpdate(List<CommonGBChannel> commonGBChannels);
- CommonGBChannel queryOneWithPlatform(Integer platformId, String channelDeviceId);
- }
|