| | |
| | | package com.vci.web.service; |
| | | |
| | | import com.vci.corba.omd.lcm.LifeCycle; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | |
| | | * @param targetStatus 目标的生命周期状态,不区分大小 |
| | | * @throws VciBaseException 如果目标生命周期和当前生命周期状态没有连接线时抛出异常 |
| | | */ |
| | | void transStatus(BusinessObject bo, String targetStatus) throws VciBaseException; |
| | | void transStatus(com.vci.corba.omd.data.BusinessObject bo, String targetStatus) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量跃迁生命周期状态,这些数据中的当前状态必须都是一样。或者是当前状态都可以连接到目标状态 |
| | |
| | | * @param targetStatus 目标状态,不区分大小写 |
| | | * @throws VciBaseException 转换生命周期出错的时候抛出异常 |
| | | */ |
| | | void transStatus(List<BusinessObject> boList, String targetStatus) throws VciBaseException; |
| | | void transStatus(List<com.vci.corba.omd.data.BusinessObject> boList, String targetStatus) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量跃迁生命周期状态,这些数据中的当前状态必须都是一样,或者是当前状态都可以连接到目标状态 |
| | |
| | | * @param targetStatus 目标状态,不区分大小写 |
| | | * @throws VciBaseException 转换生命周期出错的时候抛出异常 |
| | | */ |
| | | void transStatus(BusinessObject[] bos, String targetStatus) throws VciBaseException; |
| | | void transStatus(com.vci.corba.omd.data.BusinessObject[] bos, String targetStatus) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量跃迁生命周期状态,这些数据中的当前状态必须都是一样,或者是当前状态都可以连接到目标状态 |
| | |
| | | * @param targetStatus 目标状态,不区分大小写 |
| | | * @throws VciBaseException 转换生命周期出错的时候抛出异常 |
| | | */ |
| | | void transCboStatus(List<ClientBusinessObject> cboList, String targetStatus) throws VciBaseException; |
| | | void transCboStatus(List<com.vci.client.bof.ClientBusinessObject> cboList, String targetStatus) throws VciBaseException; |
| | | |
| | | /** |
| | | * 通过编号获取生命周期状态对象, |
| | |
| | | * @param lifeCycles 数据对象 |
| | | * @return 显示对象 |
| | | */ |
| | | List<OsLifeCycleVO> lifeCycleDO2VOs(Collection<LifeCyle> lifeCycles); |
| | | List<OsLifeCycleVO> lifeCycleDO2VOs(Collection<LifeCycle> lifeCycles); |
| | | |
| | | /** |
| | | * 生命周期的数据对象转换为显示对象 |
| | | * @param lifeCyle 数据对象 |
| | | * @return 显示对象 |
| | | */ |
| | | OsLifeCycleVO lifeCycleDO2VO(LifeCyle lifeCyle); |
| | | OsLifeCycleVO lifeCycleDO2VO(LifeCycle lifeCyle); |
| | | |
| | | /** |
| | | * 生命周期显示对象转换为数据对象 |
| | |
| | | * @param lineVO 跃迁路由 |
| | | * @throws VciBaseException 跃迁出错的是会抛出异常 |
| | | */ |
| | | void doTransVO(BusinessObject obj, OsLifeCycleLineVO lineVO) throws VciBaseException; |
| | | void doTransVO(com.vci.corba.omd.data.BusinessObject obj, OsLifeCycleLineVO lineVO) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量执行跃迁操作,要求必须是同一个业务类型下的 |
| | |
| | | * @param releaseStatus 发布状态,如果目标状态是发布状态时传递这个值 |
| | | * @throws VciBaseException 跃迁出错的是会抛出异常 |
| | | */ |
| | | void batchTransVo(BusinessObject[] bos, OsLifeCycleLineVO[] lineVOs, |
| | | void batchTransVo(com.vci.corba.omd.data.BusinessObject[] bos, OsLifeCycleLineVO[] lineVOs, |
| | | String[] releaseStatus) throws VciBaseException; |
| | | |
| | | /** |
| | |
| | | * @param vos 跃迁对象 |
| | | * @throws VciBaseException 跃迁出错的是会抛出异常 |
| | | */ |
| | | void batchTransVo(BusinessObject[] bos, OsLifeCycleLineVO[] vos) |
| | | void batchTransVo(com.vci.corba.omd.data.BusinessObject[] bos, OsLifeCycleLineVO[] vos) |
| | | throws VciBaseException; |
| | | |
| | | /** |