package com.vci.web.service;
|
|
import com.vci.corba.common.PLException;
|
import com.vci.corba.framework.data.PvolumeInfo;
|
import com.vci.dto.*;
|
import com.vci.starter.web.pagemodel.BaseResult;
|
|
import java.util.List;
|
|
/**
|
* 文件柜管理的服务
|
* @author yuxc
|
* @date 2024-10-14
|
*/
|
public interface OsPvolumesServiceI {
|
/**
|
* 分页查询卷
|
* @param pageSize 第几页
|
* @param pageIndex 页数
|
* @return 分页数据
|
*/
|
BaseResult getPvolumesPage(short pageSize, short pageIndex) throws PLException;
|
/**
|
* 增加卷
|
* @param dto 卷的传输信息
|
* @return 保存结果
|
*/
|
BaseResult savePvolume(OsPvolumeDTO dto) throws PLException;
|
/**
|
* 修改卷
|
* @param dto 卷的传输信息
|
* @return 修改结果
|
*/
|
BaseResult updatePvolume(OsPvolumeDTO dto) throws PLException;
|
/**
|
* 删除卷
|
* @param ids 主键集合
|
* @return 删除结果
|
*/
|
BaseResult deletePvolume(String ids) throws PLException;
|
/**
|
* 文件柜导出
|
* @param exportFileName 导出的文件名
|
* @param pvolumeIds 导出选中的卷id
|
* @return
|
* @throws PLException
|
*/
|
String exportPvolumes(String exportFileName,String pvolumeIds) throws PLException;
|
/**
|
* 根据卷id查询卷
|
* @param ids
|
* @return
|
*/
|
List<PvolumeInfo> getPvolumeInfoByIds(List<String> ids) throws PLException;
|
/**
|
* 为文件柜分配成员
|
* @param pvolumId
|
* @param userIds
|
* @return
|
*/
|
boolean savePvolumeUser(String pvolumId ,List<String> userIds) throws PLException;
|
}
|