public static List<String> makeFeatureIdListFromPrefixed(Map<String,Object> parameters){
  List<String> featureIdList=FastList.newInstance();
  if (parameters == null)   return featureIdList;
  for (  Map.Entry<String,Object> entry : parameters.entrySet()) {
    String parameterName=entry.getKey();
    if (parameterName.startsWith("SEARCH_FEAT")) {
      String productFeatureId=(String)entry.getValue();
      if (UtilValidate.isNotEmpty(productFeatureId)) {
        featureIdList.add(productFeatureId);
      }
    }
  }
  return featureIdList;
}

public static List < String > makeFeatureIdListFromPrefixed ( Map < String , Object > parameters ) { List < String > featureIdList = FastList . newInstance ( ) ; if ( parameters == null ) return featureIdList ; for ( Map . Entry < String , Object > entry : parameters . entrySet ( ) ) { String parameterName = entry . getKey ( ) ; if ( parameterName . startsWith ( "SEARCH_FEAT" ) ) { String productFeatureId = ( String ) entry . getValue ( ) ; if ( UtilValidate . isNotEmpty ( productFeatureId ) ) { featureIdList . add ( productFeatureId ) ; } } } return featureIdList ; }
handles parameters coming in prefixed with " search_feat " where the parameter value is a productfeatureid ; meant to be used with text entry boxes or check - boxes and such
