/*
* Copyright (c) 京北方信息技术股份有限公司 Corporation 2022 . All rights reserved.
*
*/
package net.northking.cctp.scriptcase.api.comLib.service;

import net.northking.cctp.common.db.Pagination;
import net.northking.cctp.common.dto.AdvancedQueryOptions;
import net.northking.cctp.common.http.QueryByPage;
import net.northking.cctp.scriptcase.dto.comLib.LibraryBusComCheckDto;
import net.northking.cctp.scriptcase.dto.comLib.LibraryBusComInfoAddDto;
import net.northking.cctp.scriptcase.dto.comLib.LibraryBusComInfoDetailDto;
import net.northking.cctp.scriptcase.dto.comLib.LibraryBusComInfoQueryDto;

import java.util.List;

/**
 * 业务组件库组件列表Restful逻辑接口
 * @author maven-cctp-plugin
 * @since 1.0
 */
public interface LibraryBusComInfoApiService
{
  /**
   * 查询业务组件库组件列表列表
   *
   * @param queryByPage  查询条件
   * @return 查询结果列表
   */
  Pagination<LibraryBusComInfoDetailDto> pagingQuery(QueryByPage<LibraryBusComInfoQueryDto> queryByPage);

  /**
   * 批量组件库入库
   * @param comList
   * @return
   */
  Integer insertLibComByBatch(List<LibraryBusComInfoAddDto> comList,String treeId);

  int deleteByIds(List<String> ids);

  int checkByIds(LibraryBusComCheckDto target);

  /**
   * 获取高级查询筛选项
   *
   * @return
   */
  AdvancedQueryOptions advancedQueryOptions();
}
