| | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.omd.data.BusinessObject; |
| | | import com.vci.corba.omd.lcm.LifeCycle; |
| | | import com.vci.dto.OsAttributeDTO; |
| | | import com.vci.dto.OsLifeCycleDTO; |
| | | import com.vci.pagemodel.*; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | |
| | | * @param targetStatus 目标的生命周期状态,不区分大小 |
| | | * @throws VciBaseException 如果目标生命周期和当前生命周期状态没有连接线时抛出异常 |
| | | */ |
| | | void transStatus(com.vci.corba.omd.data.BusinessObject bo, String targetStatus) throws VciBaseException; |
| | | void transStatus(BusinessObject bo, String targetStatus) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量跃迁生命周期状态,这些数据中的当前状态必须都是一样。或者是当前状态都可以连接到目标状态 |
| | |
| | | * @param targetStatus 目标状态,不区分大小写 |
| | | * @throws VciBaseException 转换生命周期出错的时候抛出异常 |
| | | */ |
| | | void transStatus(List<com.vci.corba.omd.data.BusinessObject> boList, String targetStatus) throws VciBaseException; |
| | | void transStatus(List<BusinessObject> boList, String targetStatus) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量跃迁生命周期状态,这些数据中的当前状态必须都是一样,或者是当前状态都可以连接到目标状态 |
| | |
| | | * @param targetStatus 目标状态,不区分大小写 |
| | | * @throws VciBaseException 转换生命周期出错的时候抛出异常 |
| | | */ |
| | | void transStatus(com.vci.corba.omd.data.BusinessObject[] bos, String targetStatus) throws VciBaseException; |
| | | void transStatus(BusinessObject[] bos, String targetStatus) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量跃迁生命周期状态,这些数据中的当前状态必须都是一样,或者是当前状态都可以连接到目标状态 |
| | |
| | | * @param lifeCycleVO 显示对象 |
| | | * @return 数据对象 |
| | | */ |
| | | LifeCycle lifeCycleVO2DO(OsLifeCycleVO lifeCycleVO); |
| | | LifeCycle lifeCycleVO2DO(OsLifeCycleVO lifeCycleVO) throws PLException; |
| | | |
| | | /** |
| | | * 查询所有生命周期状态 |
| | |
| | | * @param lineVO 跃迁路由 |
| | | * @throws VciBaseException 跃迁出错的是会抛出异常 |
| | | */ |
| | | void doTransVO(com.vci.corba.omd.data.BusinessObject obj, OsLifeCycleLineVO lineVO) throws VciBaseException; |
| | | void doTransVO(BusinessObject obj, OsLifeCycleLineVO lineVO) throws VciBaseException; |
| | | |
| | | /** |
| | | * 批量执行跃迁操作,要求必须是同一个业务类型下的 |
| | |
| | | * @param releaseStatus 发布状态,如果目标状态是发布状态时传递这个值 |
| | | * @throws VciBaseException 跃迁出错的是会抛出异常 |
| | | */ |
| | | void batchTransVo(com.vci.corba.omd.data.BusinessObject[] bos, OsLifeCycleLineVO[] lineVOs, |
| | | void batchTransVo(BusinessObject[] bos, OsLifeCycleLineVO[] lineVOs, |
| | | String[] releaseStatus) throws VciBaseException; |
| | | |
| | | /** |
| | |
| | | * @param vos 跃迁对象 |
| | | * @throws VciBaseException 跃迁出错的是会抛出异常 |
| | | */ |
| | | void batchTransVo(com.vci.corba.omd.data.BusinessObject[] bos, OsLifeCycleLineVO[] vos) |
| | | void batchTransVo(BusinessObject[] bos, OsLifeCycleLineVO[] vos) |
| | | throws VciBaseException; |
| | | |
| | | /** |
| | |
| | | * @return 状态的显示对象 |
| | | */ |
| | | List<OsStatusVO> listStatusById(String lifeCycleId); |
| | | |
| | | /** |
| | | * 使用多个编号获取生命周期的对象 |
| | | * @param lcIdList 编号 |
| | | * @return 显示对象 |
| | | */ |
| | | List<OsLifeCycleVO> getLifeCycleByIds(Collection<String> lcIdList); |
| | | |
| | | /** |
| | | * 批量添加生命周期 |
| | |
| | | */ |
| | | OsERVO listLinesPic(String id); |
| | | |
| | | /** |
| | | * 查询所有跃迁事件key |
| | | * @return |
| | | */ |
| | | List<String> getLCEventKeys() throws PLException; |
| | | |
| | | } |