ludc
2024-10-15 aecacfb404d19749260189ab1d4ee90efc92ae24
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIManagerServiceI.java
@@ -1,17 +1,19 @@
package com.vci.web.service;
import com.vci.corba.common.PLException;
import com.vci.corba.omd.btm.BizType;
import com.vci.corba.omd.ltm.LinkType;
import com.vci.corba.omd.qtm.QTInfo;
import com.vci.corba.portal.data.PLUILayout;
import com.vci.corba.portal.data.PLTabPage;
import com.vci.pagemodel.PLTabButtonVO;
import com.vci.pagemodel.PLUILayoutCloneVO;
import com.vci.corba.portal.data.PortalVI;
import com.vci.pagemodel.*;
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.dto.UIAuthorDTO;
import com.vci.starter.web.pagemodel.Tree;
import com.vci.pagemodel.PLDefinationVO;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
@@ -159,14 +161,14 @@
     * @param tabButtonVO
     * @return
     */
    BaseResult addTapButton(PLTabButtonVO tabButtonVO);
    BaseResult addTabButton(PLTabButtonVO tabButtonVO);
    /**
     * 修改按钮配置信息
     * @param tabButtonVO
     * @return
     */
    BaseResult updateTapButton(PLTabButtonVO tabButtonVO);
    BaseResult updateTabButton(PLTabButtonVO tabButtonVO);
    /**
     * 保存或修改按钮配置信息
@@ -180,7 +182,7 @@
     * @param tabButtonVO
     * @return
     */
    boolean deleteTapButton(PLTabButtonVO tabButtonVO) throws PLException;
    boolean deleteTabButton(PLTabButtonVO tabButtonVO) throws PLException;
    /**
     * 调整为下级按钮
@@ -205,6 +207,14 @@
    List<Tree> getUIAuthor(BaseQueryObject baseQueryObject)throws Exception;
    /**
     * 根据角色主键获取已授权的信息
     * @param roleId
     * @return
     * @throws PLException
     */
    List<RoleRightVO> getRightListByRoleId(String roleId) throws PLException;
    /**
     * UI授权
     * @param uiAuthorDTO
     * @return
@@ -212,4 +222,76 @@
     */
    boolean authorizedUI(UIAuthorDTO uiAuthorDTO)throws Exception;
    /**
     * 业务类型、源对象类型、顶层节点显示类型等都调用这个接口查询
     * @param baseQueryObject
     * @return
     * @throws PLException
     */
    DataGrid<BizType> getBtmDatasByPage(BaseQueryObject baseQueryObject) throws Throwable;
    /**
     * 查询链接类型下拉
     * @param baseQueryObject
     * @return
     * @throws PLException
     */
    DataGrid<LinkType> getLinkDatasByPage(BaseQueryObject baseQueryObject) throws Throwable;
    /**
     * UI定义下拉查询(templateType为UI定义时的选择对象下拉查询)
     * @param baseQueryObject selectBtmType 选择的源对象,带分页信息
     * @return
     * @throws PLException
     */
    DataGrid<PLUILayout> getUILayoutDatasByPage(BaseQueryObject baseQueryObject)throws Throwable;
    /**
     * 选择模板下拉查询(templateType为表格、表单、树表时的选择对象下拉查询)
     * @param baseQueryObject
     * @return
     * @throws PLException
     */
    DataGrid<PortalVI> getPortalVIDatasByPage(BaseQueryObject baseQueryObject) throws Throwable;
    /**
     * 查询模板下拉查询
     * @param baseQueryObject
     * @return
     * @throws PLException
     */
    DataGrid<QTInfo> getQTInfoDatasByPage(BaseQueryObject baseQueryObject)throws Throwable;
    /**
     * 通过业务类型获取UI上下文包含其下关联的区域定义>页面定义等所有关联数据,归纳成tree结构
     * @param btmName 业务类型名称
     * @param level 查询到那个层级为止(ui、tap、pageDef)
     * @return
     */
    Tree getAllLevelTreeByBtm(String btmName,String level) throws PLException;
    /**
     * 克隆按钮
     * @param uiCloneVO
     * @return
     * @throws Throwable
     */
    BaseResult cloneTabButton(UICloneVO uiCloneVO)throws Throwable;
    /**
     * 克隆页签
     * @param uiCloneVO
     * @return
     * @throws Throwable
     */
    BaseResult clonetabPage(UICloneVO uiCloneVO)throws Throwable;
    /**
     * 克隆页面定义
     * @param uiCloneVO
     * @return
     * @throws Throwable
     */
    BaseResult clonePageDef(UICloneVO uiCloneVO)throws Throwable;
}