/** * Gets the installation status of the passed catalog item and id * * @param catalogItemType * @param itemId * @return * @throws CantGetItemInformationException */ public InstallationStatus getInstallationStatus(CatalogItems catalogItemType, UUID itemId) throws CantGetItemInformationException { Map<CatalogItems, UUID> mapIds = new HashMap<>(); mapIds.put(catalogItemType, itemId); try { CatalogItemInformation catalogItemInformation = getDatabaseDao().getCatalogItemInformationFromDatabase(mapIds); return catalogItemInformation.getInstallationStatus(itemId); } catch (Exception e) { throw new CantGetItemInformationException( CantGetItemInformationException.DEFAULT_MESSAGE, e, null, null); } }