package com.vci.web.service;
|
|
import com.vci.corba.common.PLException;
|
import com.vci.dto.*;
|
import com.vci.starter.web.pagemodel.BaseResult;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import javax.servlet.http.HttpServletResponse;
|
import java.io.IOException;
|
import java.util.List;
|
|
/**
|
* Action管理的服务
|
* @author yuxc
|
* @date 2024-8-16
|
*/
|
public interface OsActionServiceI {
|
/**
|
* 保存Action分类信息
|
* @param pLActionCls Action分类信息
|
* @return 保存结果
|
*/
|
BaseResult saveActionCls(PLActionClsDTO pLActionCls) throws PLException;
|
/**
|
* 修改Action分类信息
|
* @param pLActionCls Action分类信息
|
* @return 修改结果
|
*/
|
BaseResult updateActionCls(PLActionClsDTO pLActionCls) throws PLException;
|
/**
|
* 获取Action分类树
|
* isExp 是否用户导出 true是,false否
|
* @return 查询结果
|
*/
|
BaseResult getActionTree(boolean isExp) throws PLException;
|
/**
|
* 获取Action表格数据
|
* dto 查询条件
|
* @return 查询结果
|
*/
|
BaseResult getActionTableData(PLActionQueryDTO dto) throws PLException;
|
/**
|
* 保存Action数据
|
* dto action传输对象
|
* @return 保存结果
|
*/
|
BaseResult saveAction(PLActionDTO dto) throws PLException;
|
/**
|
* 修改Action数据
|
* dto action传输对象
|
* @return 修改结果
|
*/
|
BaseResult updateAction(PLActionDTO dto) throws PLException;
|
/**
|
* 删除Action数据
|
* dto action传输对象
|
* @return 删除结果
|
*/
|
BaseResult deleteAction(PLActionDTO dto) throws PLException;
|
/**
|
* 导出Action
|
* @return
|
*/
|
void exportBeans(List<String> actionOid, HttpServletResponse response) throws PLException, IOException;
|
/**
|
* 导入Action
|
* @param file 上传的文件
|
* @return
|
*/
|
BaseResult impData(MultipartFile file) throws IOException, PLException;
|
/**
|
* 导出Action
|
* @param plActionExpDTO 导出属性设置对象
|
*/
|
void exportAction(PLActionExpDTO plActionExpDTO, HttpServletResponse response) throws PLException, IOException;
|
/**
|
* 保存Action参数数据
|
* dto action传输对象
|
* @return 保存结果
|
*/
|
BaseResult savePLActionParam(PLActionParamDTO dto) throws PLException;
|
/**
|
* 修改Action参数数据
|
* dto action传输对象
|
* @return 保存结果
|
*/
|
BaseResult updatePLActionParam(PLActionParamDTO dto) throws PLException;
|
/**
|
* 删除Action参数数据
|
* oid 参数主键
|
* @return 保存结果
|
*/
|
BaseResult deletePLActionParam(String oid) throws PLException;
|
/**
|
* 查询Action参数列表数据
|
* actionOid 参数主键
|
* @return 保存结果
|
*/
|
BaseResult getPLActionParam(String actionOid) throws PLException;
|
/**
|
* 删除分类
|
* @param dto 分类对象
|
* @return 处理结果
|
* @throws PLException
|
*/
|
BaseResult deleteActionCls(PLActionClsDTO dto) throws PLException;
|
}
|