using PMS.BusinessModels.ExternalManage;
using PMS.EntityModels.ExternalManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PMS.Interface.ExternalManage
{
public interface IExternalManage
{
///
/// 关键字查询外部服务分类
///
/// 关键字
///
string GetMenu(string keyword, string productId, int type);
///
/// 根据产品ID获取分类
///
///
///
string GetMenuByProduct(List productIds);
///
/// 获取服务分类最大编码
///
///
string GetMaxClassCode(string parent_id, int type, string productId);
///
/// 保存服务分类
///
///
///
bool SaveExternalClass(ExternalClass model);
///
/// 删除服务分类
///
///
///
bool DeleteClass(string id);
////
/// 获取服务目录
///
/// 分类id
/// 关键字
///
string GetExternal(string class_id, string keyword, int pageSize, int pageNum);
///
/// 保存服务
///
///
///
bool SaveExternal(External model);
///
/// 获取参数
///
///
///
///
string GetParameter(string tyep, string id);
///
/// 参数设置
///
///
///
string GetExternalParameter(string id);
///
/// 保存参数设置
///
///
///
bool SavaExternalSet(v_parameter model);
///
/// 删除服务和出入参信息
///
///
///
bool deleteExternal(string id);
///
/// 复制
///
///
///
bool CopyExternalByClass(dto_copy_class model);
///
/// 复制
///
///
///
bool CopyExternal(dto_copy_external model);
///
/// 查询授权接口
///
///
///
///
///
string GetAccredit(string keyword, int pageSize, int pageNum, int is_stop);
///
/// 保存授权信息
///
///
///
bool SavaAccredit(ExternalAccredit model);
///
/// 获取授权验证码信息
///
///
///
///
///
///
///
///
string GetAccredView(string id, string channel_id, string project_id, int pageSize, int pageNum, int is_stop);
string GetRecords(dto_records_in model);
}
}