ludc
2024-12-05 90c86c95de1d20a3c3a44cab3482388a8c221a5e
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/uidataservice/UIDataCommonServiceI.java
ÎļþÃû´Ó Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java ÐÞ¸Ä
@@ -1,4 +1,4 @@
package com.vci.web.service;
package com.vci.web.service.uidataservice;
import com.vci.corba.common.PLException;
import com.vci.corba.omd.data.BusinessObject;
@@ -8,10 +8,6 @@
import com.vci.dto.*;
import com.vci.pagemodel.OsBtmTypeVO;
import com.vci.pagemodel.ReferConfigVO;
import com.vci.pagemodel.UIFormDataVO;
import com.vci.query.UIDataGridQuery;
import com.vci.query.UIFormQuery;
import com.vci.query.UITreeQuery;
import com.vci.starter.web.enumpck.VciChangeDocumentTypeEnum;
import com.vci.starter.web.exception.VciBaseException;
import com.vci.starter.web.model.BaseModel;
@@ -22,43 +18,11 @@
import java.util.Map;
/**
 * é€šè¿‡UI定义的数据操作服务,包括增删改查 ,升版,跃迁等
 * é€šè¿‡UI定义的数据操作服务,包括增删改 ,升版,跃迁等
 * @author weidy
 * @date 2021-2-16
 */
public interface UIDataServiceI {
    /**
     * èŽ·å–è¡¨æ ¼çš„æ•°æ®
     * @param dataGridQuery è¡¨æ ¼æŸ¥è¯¢ï¼Œå¿…须有业务类型名称和 è¡¨æ ¼çš„编号
     * @return DataGrid中data为Map<String,String>格式
     * @throws VciBaseException æŸ¥è¯¢å‡ºé”™çš„æ—¶å€™ä¼šæŠ›å‡ºå¼‚常
     */
    DataGrid getDataForGrid(UIDataGridQuery dataGridQuery) throws VciBaseException, PLException;
    /**
     * èŽ·å–è¡¨å•çš„æ•°æ®
     * @param formQuery è¡¨å•的查询条件
     * @return è¡¨å•的数据
     * @throws VciBaseException æŸ¥è¯¢å‡ºé”™çš„æ—¶å€™ä¼šæŠ›å‡ºå¼‚常
     */
    UIFormDataVO getDataForForm(UIFormQuery formQuery) throws VciBaseException, PLException;
    /**
     * èŽ·å–æ ‘å½¢æ•°æ®
     * @param treeQuery æ ‘形查询条件
     * @return æ ‘形数据
     * @throws VciBaseException æŸ¥è¯¢å‡ºé”™çš„æ—¶å€™ä¼šæŠ›å‡ºå¼‚常
     */
    List<UIDataTree> getDataForTree(UITreeQuery treeQuery) throws Exception;
    /**
     * èŽ·å–æ ‘å½¢æ•°æ®(根据查询模板查询对象)
     * @param treeQuery æ ‘形查询条件
     * @return æ ‘形数据
     * @throws VciBaseException æŸ¥è¯¢å‡ºé”™çš„æ—¶å€™ä¼šæŠ›å‡ºå¼‚常
     */
    BaseResult getDataByTemp(UITreeQuery treeQuery) throws Exception;
public interface UIDataCommonServiceI extends UIDataBaseServiceI{
    /**
     * è°ƒç”¨å‰ç½®äº‹ä»¶
@@ -266,6 +230,7 @@
     * @return æ‰§è¡Œçš„结果
     */
    BaseResult deleteBusinessObject(String btmname, String oid, int type) throws PLException;
    /**
     * å˜æ›´æ‰€æœ‰è€…
     * @param btmname ä¸šåŠ¡ç±»åž‹
@@ -273,6 +238,7 @@
     * @return æ‰§è¡Œçš„结果
     */
    BaseResult changeBusinessObjectOwner(String btmname, String oid) throws PLException;
    /**
     * çŠ¶æ€è·ƒè¿
     * @param btmname ä¸šåŠ¡ç±»åž‹
@@ -281,4 +247,5 @@
     * @return æ‰§è¡Œçš„结果
     */
    BaseResult transferBusinessObject(String btmname, String oid, String toStatus, String releaseStatus) throws PLException;
}