Package com.cloud.vm.snapshot

Examples of com.cloud.vm.snapshot.VMSnapshotDetailsVO


    @Inject
    VMSnapshotDetailsDao vmsnapshotDetailsDao;

    @Test
    public void testVmSnapshotDetails() {
        VMSnapshotDetailsVO detailsVO = new VMSnapshotDetailsVO(1L, "test", "foo", display);
        vmsnapshotDetailsDao.persist(detailsVO);
        Map<String, String> details = vmsnapshotDetailsDao.listDetailsKeyPairs(1L);
        Assert.assertTrue(details.containsKey("test"));
    }
View Full Code Here


public class VMSnapshotDetailsDaoImpl extends ResourceDetailsDaoBase<VMSnapshotDetailsVO> implements VMSnapshotDetailsDao {

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

public class VMSnapshotDetailsDaoImpl extends ResourceDetailsDaoBase<VMSnapshotDetailsVO> implements VMSnapshotDetailsDao {

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

    @Inject
    VMSnapshotDetailsDao vmsnapshotDetailsDao;

    @Test
    public void testVmSnapshotDetails() {
        VMSnapshotDetailsVO detailsVO = new VMSnapshotDetailsVO(1L, "test", "foo");
        vmsnapshotDetailsDao.persist(detailsVO);
        Map<String, String> details = vmsnapshotDetailsDao.listDetailsKeyPairs(1L);
        Assert.assertTrue(details.containsKey("test"));
    }
View Full Code Here

TOP

Related Classes of com.cloud.vm.snapshot.VMSnapshotDetailsVO

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.