Package com.cloud.storage

Examples of com.cloud.storage.StoragePoolDetailVO


        sc.setParameters("pool", poolId);
       
        txn.start();
        expunge(sc);
        for (Map.Entry<String, String> entry : details.entrySet()) {
            StoragePoolDetailVO detail = new StoragePoolDetailVO(poolId, entry.getKey(), entry.getValue());
            persist(detail);
        }
        txn.commit();
    }
View Full Code Here


      Transaction txn = Transaction.currentTxn();
      txn.start();
      pool = super.persist(pool);
      if (details != null) {
          for (Map.Entry<String, String> detail : details.entrySet()) {
              StoragePoolDetailVO vo = new StoragePoolDetailVO(pool.getId(), detail.getKey(), detail.getValue());
              _detailsDao.persist(vo);
          }
        }
      txn.commit();
      return pool;
View Full Code Here

      Transaction txn = Transaction.currentTxn();
      txn.start();
      pool = super.persist(pool);
      if (details != null) {
          for (Map.Entry<String, String> detail : details.entrySet()) {
              StoragePoolDetailVO vo = new StoragePoolDetailVO(pool.getId(), detail.getKey(), detail.getValue());
              _detailsDao.persist(vo);
          }
        }
      txn.commit();
      return pool;
View Full Code Here

        sc.setParameters("pool", poolId);
       
        txn.start();
        expunge(sc);
        for (Map.Entry<String, String> entry : details.entrySet()) {
            StoragePoolDetailVO detail = new StoragePoolDetailVO(poolId, entry.getKey(), entry.getValue());
            persist(detail);
        }
        txn.commit();
    }
View Full Code Here

TOP

Related Classes of com.cloud.storage.StoragePoolDetailVO

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.