Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
  public ArrayList<HashMap<String, String>> getPreventionTypeDescList(LoggedInInfo loggedInInfo) {
    PreventionDisplayConfig pdc = PreventionDisplayConfig.getInstance(loggedInInfo);
    ArrayList<HashMap<String, String>> preventionTypeDescList = pdc.getPreventions(loggedInInfo);

    return preventionTypeDescList;
  }