| | |
| | | package com.vci.web.service.impl; |
| | | |
| | | import com.vci.client.common.providers.ServiceProvider; |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.common.VCIError; |
| | | import com.vci.corba.omd.lcm.LifeCycle; |
| | | import com.vci.starter.web.annotation.log.VciUnLog; |
| | |
| | | // LifeCyle[] lifeCyles = platformClientUtil.getLifeCycleService().getLifeCyles(); |
| | | LifeCycle[] lifeCyles = ServiceProvider.getOMDService().getLifeCycleService().getLifeCycles(); |
| | | return lifeCycleDO2VOs(Arrays.stream(lifeCyles).collect(Collectors.toList())); |
| | | } catch (VCIError vciError) { |
| | | } catch (PLException vciError) { |
| | | if(logger.isErrorEnabled()){ |
| | | // logger.error(vciError.error_code,vciError); |
| | | } |
| | |
| | | com.vci.corba.omd.lcm.TransitionVO transitionVO = lifeCycleLineVO2DO(lineVO); |
| | | // platformClientUtil.getBOFactoryService().transferBusinessObject(new BusinessObjectHolder(obj), transitionVO); |
| | | ServiceProvider.getBOFService().transferBusinessObject(obj, transitionVO); |
| | | } catch (VCIError e) { |
| | | } catch (PLException e) { |
| | | throw WebUtil.getVciBaseException(e); |
| | | } |
| | | }else{ |
| | |
| | | // bos, vos, releaseStatus); |
| | | ServiceProvider.getBOFService().batchTransferBusinessObjectAndRelease( |
| | | bos, vos, releaseStatus); |
| | | } catch (VCIError e) { |
| | | } catch (PLException e) { |
| | | throw WebUtil.getVciBaseException(e); |
| | | } |
| | | }else{ |