/**
 * Most of the code in the Qalingo project is copyrighted Hoteia and licensed
 * under the Apache License Version 2.0 (release version 0.8.0)
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 *                   Copyright (c) Hoteia, 2012-2014
 * http://www.hoteia.com - http://twitter.com/hoteia - contact@hoteia.com
 *
 */
package org.hoteia.qalingo.core.solr.response;

import java.util.ArrayList;
import java.util.List;

import org.apache.solr.client.solrj.response.FacetField;
import org.hoteia.qalingo.core.solr.bean.ProductMarketingSolr;

public class ProductMarketingResponseBean {

    public static final String PRODUCT_MARKETING_AXE_SEARCH_FIELD_CODE = "code";
    public static final String PRODUCT_MARKETING_AXE_SEARCH_FIELD_CATALOG_CODE = "catalogCode";
    public static final String PRODUCT_MARKETING_DEFAULT_SEARCH_FIELD = "text";
    public static final String PRODUCT_MARKETING_DEFAULT_FACET_FIELD = "catalogCategories";

    private List<ProductMarketingSolr> productMarketingSolrList = new ArrayList<ProductMarketingSolr>();

    private List<FacetField> productMarketingSolrFacetFieldList = new ArrayList<FacetField>();

    public List<ProductMarketingSolr> getProductMarketingSolrList() {
        return productMarketingSolrList;
    }

    public void setProductMarketingSolrList(List<ProductMarketingSolr> productMarketingSolrList) {
        this.productMarketingSolrList = productMarketingSolrList;
    }

    public List<FacetField> getProductMarketingSolrFacetFieldList() {
        return productMarketingSolrFacetFieldList;
    }

    public void setProductMarketingSolrFacetFieldList(List<FacetField> productMarketingSolrFacetFieldList) {
        this.productMarketingSolrFacetFieldList = productMarketingSolrFacetFieldList;
    }

}
@@ -693,24 +693,130 @@
  = %22code%22;%0D%0A
+    public static final String PRODUCT_MARKETING_AXE_SEARCH_FIELD_CATEGORIES_CODE = %22catalogCategories%22;%0D%0A
     public s

add pm sorl field