Ignore:
Timestamp:
02/28/14 12:37:17 (10 years ago)
Author:
Twan Goosen
Message:

Added method to vlo config to get all facets, including collection facet. using this when sanitising input in web app

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-commons/src/main/java/eu/clarin/cmdi/vlo/config/VloConfig.java

    r4584 r4597  
    697697
    698698    /**
     699     *
     700     * @return all facet fields, including collection facet (arbitrary order unspecified)
     701     * @see #getFacetFields()
     702     * @see #getCollectionFacet()
     703     */
     704    public List<String> getAllFacetFields() {
     705        final ArrayList<String> allFacets = new ArrayList<String>(facetField);
     706        allFacets.add(getCollectionFacet());
     707        return allFacets;
     708    }
     709
     710    /**
    699711     * Set the value of the FacetFields parameter<br><br>
    700712     *
Note: See TracChangeset for help on using the changeset viewer.