package com.vci.web.service;
|
|
import com.vci.corba.common.PLException;
|
import com.vci.corba.portal.data.PLUILayout;
|
import com.vci.dto.RoleRightDTO;
|
import com.vci.dto.UIAuthorDTO;
|
import com.vci.pagemodel.PLUILayoutCloneVO;
|
import com.vci.starter.web.exception.VciBaseException;
|
import com.vci.starter.web.pagemodel.BaseQueryObject;
|
import com.vci.starter.web.pagemodel.BaseResult;
|
import com.vci.starter.web.pagemodel.DataGrid;
|
import com.vci.starter.web.pagemodel.Tree;
|
|
import javax.servlet.http.HttpServletResponse;
|
import java.io.IOException;
|
import java.util.List;
|
|
/**
|
* @author ludc
|
* @date 2024/8/28 17:05
|
*/
|
public interface UIManagerServiceI {
|
|
/**
|
* 通过业务类型name查询ui上下文,支持分页
|
* @param baseQueryObject
|
* @return
|
* @throws PLException
|
*/
|
DataGrid gridUIContextData(BaseQueryObject baseQueryObject) throws PLException;
|
|
/**
|
* 给业务类型下添加ui上下文
|
* @param pluiLayout
|
* @return
|
* @throws PLException
|
*/
|
boolean saveUIContextData(PLUILayout pluiLayout) throws PLException;
|
|
/**
|
* 修改业务类型下添加ui上下文
|
* @param pluiLayout
|
* @return
|
* @throws PLException
|
*/
|
boolean updateUIContextData(PLUILayout pluiLayout) throws PLException;
|
|
/**
|
* 根据主键和业务类型oid删除ui上下文数据
|
* @return
|
*/
|
boolean delUIContextData(String[] oids) throws PLException;
|
|
/**
|
* 克隆ui上下文
|
* @param pluiLayoutCloneVO
|
* @return
|
*/
|
boolean cloneUiContextData(PLUILayoutCloneVO pluiLayoutCloneVO) throws PLException;
|
|
/**
|
* 导出ui上下文(勾选的要导出的控制区的数据)
|
* oids
|
* @return
|
*/
|
void expUiContextData(String[] oids, HttpServletResponse response) throws PLException, IOException;
|
|
/**
|
* 获取UI权限树
|
* @param baseQueryObject
|
* @return
|
* @throws VciBaseException
|
*/
|
List<Tree> getUIAuthor(BaseQueryObject baseQueryObject)throws Exception;
|
|
/***
|
* UI授权
|
* @param uiAuthorDTO
|
* @return
|
* @throws Exception
|
*/
|
public boolean authorizedUI(UIAuthorDTO uiAuthorDTO)throws Exception;
|
}
|