public ArrayList<String> getPreventionTypeList(LoggedInInfo loggedInInfo) { if (preventionTypeList.isEmpty()) { PreventionDisplayConfig pdc = PreventionDisplayConfig.getInstance(loggedInInfo); for (HashMap<String, String> prevTypeHash : pdc.getPreventions(loggedInInfo)) { if (prevTypeHash != null && StringUtils.filled(prevTypeHash.get("name"))) { preventionTypeList.add(prevTypeHash.get("name").trim()); } } } return preventionTypeList; }
public ArrayList<HashMap<String, String>> getPreventionTypeDescList(LoggedInInfo loggedInInfo) { PreventionDisplayConfig pdc = PreventionDisplayConfig.getInstance(loggedInInfo); ArrayList<HashMap<String, String>> preventionTypeDescList = pdc.getPreventions(loggedInInfo); return preventionTypeDescList; }