| | |
| | | package com.vci.web.service; |
| | | |
| | | import com.vci.client.bof.RevisionValueObject; |
| | | import com.vci.client.bof.VersionValueObject; |
| | | import com.vci.corba.omd.data.BusinessObject; |
| | | import com.vci.corba.omd.data.LinkObject; |
| | | import com.vci.corba.omd.data.RevisionDataInfo; |
| | | import com.vci.corba.omd.data.VersionDataInfo; |
| | | import com.vci.starter.web.enumpck.VciChangeDocumentTypeEnum; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.model.BaseModel; |
| | |
| | | * @return 执行的结果 |
| | | * @throws VciBaseException 执行出错的会抛出异常,或者事件直接返回了异常 |
| | | */ |
| | | BaseResult callPostEvent(Collection<com.vci.client.bof.ClientBusinessObject> cbos, Collection<com.vci.client.bof.ClientLinkObject> clos, String postEvent, VciChangeDocumentTypeEnum businessType) throws VciBaseException; |
| | | BaseResult callPostEvent(Collection<BusinessObject> cbos, Collection<LinkObject> clos, String postEvent, VciChangeDocumentTypeEnum businessType) throws VciBaseException; |
| | | |
| | | /** |
| | | * 表单数据转换为基础对象 |
| | |
| | | * @param cbo 业务数据对象 |
| | | * @return 基础对象 |
| | | */ |
| | | BaseModel cbo2BaseModel(com.vci.client.bof.ClientBusinessObject cbo); |
| | | BaseModel cbo2BaseModel(BusinessObject cbo); |
| | | |
| | | /** |
| | | * 业务数据表单对象转换为基础的属性 |
| | |
| | | * @param baseModel 基础对象 |
| | | * @return 版本的对象 |
| | | */ |
| | | RevisionValueObject getNextRevision(OsBtmTypeVO btmTypeVO, BaseModel baseModel); |
| | | RevisionDataInfo getNextRevision(OsBtmTypeVO btmTypeVO, BaseModel baseModel); |
| | | |
| | | /** |
| | | * 获取下一个版次的号 |
| | |
| | | * @param baseModel 基础对象 |
| | | * @return 版本的值对象 |
| | | */ |
| | | VersionValueObject getNextVersion(OsBtmTypeVO btmTypeVO, BaseModel baseModel); |
| | | VersionDataInfo getNextVersion(OsBtmTypeVO btmTypeVO, BaseModel baseModel); |
| | | |
| | | /** |
| | | * 获取第一个版次 |
| | |
| | | * @param cbo 业务类型的对象 |
| | | * @param editFlag 是否为编辑 |
| | | */ |
| | | void setValueToCbo(Map<String, String> dataLow, Map<String, String> baseDataLow, com.vci.client.bof.ClientBusinessObject cbo, boolean editFlag); |
| | | void setValueToCbo(Map<String, String> dataLow, Map<String, String> baseDataLow, BusinessObject cbo, boolean editFlag); |
| | | |
| | | /** |
| | | * 链接类型的编辑数据 |