ÎļþÃû´Ó Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java ÐÞ¸Ä |
| | |
| | | package com.vci.web.service; |
| | | package com.vci.web.service.uidataservice; |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.omd.data.BusinessObject; |
| | |
| | | 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; |
| | |
| | | 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{ |
| | | |
| | | /** |
| | | * è°ç¨åç½®äºä»¶ |
| | |
| | | * @return æ§è¡çç»æ |
| | | */ |
| | | BaseResult deleteBusinessObject(String btmname, String oid, int type) throws PLException; |
| | | |
| | | /** |
| | | * åæ´ææè
|
| | | * @param btmname ä¸å¡ç±»å |
| | |
| | | * @return æ§è¡çç»æ |
| | | */ |
| | | BaseResult changeBusinessObjectOwner(String btmname, String oid) throws PLException; |
| | | |
| | | /** |
| | | * ç¶æè·è¿ |
| | | * @param btmname ä¸å¡ç±»å |
| | |
| | | * @return æ§è¡çç»æ |
| | | */ |
| | | BaseResult transferBusinessObject(String btmname, String oid, String toStatus, String releaseStatus) throws PLException; |
| | | |
| | | } |