Package com.cloud.service

Examples of com.cloud.service.ServiceOfferingDetailsVO


public class ServiceOfferingDetailsDaoImpl extends ResourceDetailsDaoBase<ServiceOfferingDetailsVO>
        implements ServiceOfferingDetailsDao {

    @Override
    public void addDetail(long resourceId, String key, String value) {
        super.addDetail(new ServiceOfferingDetailsVO(resourceId, key, value));
    }
View Full Code Here


            return;
        }
       
        List<ServiceOfferingDetailsVO> resourceDetails = new ArrayList<ServiceOfferingDetailsVO>();
        for (String key : details.keySet()) {
            resourceDetails.add(new ServiceOfferingDetailsVO(serviceOffering.getId(), key, details.get(key)));
        }
       
        detailsDao.saveDetails(resourceDetails);
    }
View Full Code Here

        if ((offering = _serviceOfferingDao.persist(offering)) != null) {
            if (details != null) {
                List<ServiceOfferingDetailsVO> detailsVO = new ArrayList<ServiceOfferingDetailsVO>();
                for (Entry<String, String> detailEntry : details.entrySet()) {
                    detailsVO.add(new ServiceOfferingDetailsVO(offering.getId(), detailEntry.getKey(), detailEntry.getValue()));
                }

                _serviceOfferingDetailsDao.saveDetails(detailsVO);
            }
            CallContext.current().setEventDetails("Service offering id=" + offering.getId());
View Full Code Here

TOP

Related Classes of com.cloud.service.ServiceOfferingDetailsVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.