GeoKnow/Jassa-Core

View on GitHub
trash/to-port/facete/trash/FacetConceptSupplierCore.js

Summary

Maintainability
A
0 mins
Test Coverage

// This would not work, as it is the service's concern how to obtain the concepts
var FacetConceptSupplier = Class.create({

    initialize: function(facetConfig) {
        this.facetConfig = facetConfig;
    },

    createConceptResources: function(path, excludeSelfConstraints) {
        var result = FacetConceptUtils.createConceptResources(path, excludeSelfConstraints);
        return result;
    },

    createConceptFacets: function(path, isInverse) {
        console.log('Not overridden');
        throw 'Not overridden';
    },

    createConceptFacetValues: function(path, isInverse) {
        console.log('Not overridden');
        throw 'Not overridden';
    },

});