private void fillMapTechnologies() throws PhrescoException { List<ApplicationType> applicationTypes = getApplicationTypes(); for (ApplicationType applicationType : applicationTypes) { List<Technology> appTechnologies = applicationType.getTechnologies(); for (Technology technology : appTechnologies) { technologies.put(technology.getId(), technology); } } }
public ApplicationType getApplicationType(String name) throws PhrescoException { if (debugEnabled) { S_LOGGER.debug("Entering Method ServiceManagerImpl.getApplicationType(String name)"); } if (debugEnabled) { S_LOGGER.debug("getApplicationType() Name = " + name); } List<ApplicationType> applicationTypes = getApplicationTypes(); for (ApplicationType applicationType : applicationTypes) { if (applicationType.getName().equals(name)) { return applicationType; } } return null; }