Package com.intel.mtwilson.datatypes

Examples of com.intel.mtwilson.datatypes.OsData


  @Override
  public boolean addOSInfo(OSDataVO dataVO,WhitelistService apiClientServices) throws WLMPortalException {
    log.info("OSClientServiceImpl.addOSInfo >>");
    boolean result = false;
    try {
      result = apiClientServices.addOS(new OsData(dataVO.getOsName(), dataVO.getOsVersion(), dataVO.getOsDescription()));
    } catch (Exception e) {
      log.error(e.getMessage());
      throw ConnectionUtil.handleException(e);
    }
    log.info("OSClientServiceImpl.addOSInfo <<");
View Full Code Here


  public boolean updateOSInfo(OSDataVO dataVO,WhitelistService apiClientServices) throws WLMPortalException {
    log.info("OSClientServiceImpl.updateOSInfo >>");
   
    boolean result = false;
    try {
      result = apiClientServices.updateOS(new OsData(dataVO.getOsName(), dataVO.getOsVersion(), dataVO.getOsDescription()));
    } catch (Exception e) {
      log.error(e.getMessage());
      throw ConnectionUtil.handleException(e);
    }
    log.info("OSClientServiceImpl.updateOSInfo <<");
View Full Code Here

  @Override
  public boolean deleteOS(OSDataVO dataVO,WhitelistService apiClientServices) throws WLMPortalException {
    log.info("OSClientServiceImpl.deleteOS >>");
    boolean result = false;
    try {
      result = apiClientServices.deleteOS(new OsData(dataVO.getOsName(), dataVO.getOsVersion(), dataVO.getOsDescription()));
      System.out.println(result);
    } catch (Exception e) {
      log.error(e.getMessage());
      throw ConnectionUtil.handleException(e);
    }
View Full Code Here

        List<OsData> allOsData = new ArrayList<OsData>();
        try {
            List<TblOs> allRecords = tblOsJpaController.findTblOsEntities();

            for (TblOs tblOs : allRecords) {
                OsData osData = new OsData(tblOs.getName(), tblOs.getVersion(), tblOs.getDescription());
                allOsData.add(osData);
            }

        } catch (ASException ase) {
            throw ase;
View Full Code Here

TOP

Related Classes of com.intel.mtwilson.datatypes.OsData

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.