Examples of supportsLocalMode()


Examples of org.apache.stanbol.entityhub.servicesapi.site.ReferencedSite.supportsLocalMode()

    @Override
    public boolean supportsOfflineMode() {
        ReferencedSite site = getSearchService();
        //Do not throw an exception here if the site is not available. Just return false
        return site == null ? false : site.supportsLocalMode();
    }
}
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.ReferencedSite.supportsLocalMode()

                // policy what do to in such situations
                // throw new EngineException(msg);
                return;
            }
            //and that it supports offline mode if required
            if (isOfflineMode() && !site.supportsLocalMode()) {
                log.warn("Unable to enhance ci {} because OfflineMode is not supported by ReferencedSite {}.",
                    ci.getUri().getUnicodeString(), site.getId());
                return;
            }
        } else { // null indicates to use the Entityhub to lookup Entities
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.ReferencedSite.supportsLocalMode()

                // policy what do to in such situations
                // throw new EngineException(msg);
                return;
            }
            //and that it supports offline mode if required
            if (isOfflineMode() && !site.supportsLocalMode()) {
                log.warn("Unable to enhance ci {} because OfflineMode is not supported by ReferencedSite {}.",
                    ci.getUri().getUnicodeString(), site.getId());
                return;
            }
        } else { // null indicates to use the Entityhub to lookup Entities
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.Site.supportsLocalMode()

                // policy what do to in such situations
                // throw new EngineException(msg);
                return;
            }
            // and that it supports offline mode if required
            if (isOfflineMode() && !site.supportsLocalMode()) {
                log.warn(
                    "Unable to enhance ci {} because OfflineMode is not supported by ReferencedSite {}.", ci
                            .getUri().getUnicodeString(), site.getId());
                return;
            }
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.Site.supportsLocalMode()

   
    @Override
    public boolean supportsOfflineMode() {
        Site site = getService();
        //Do not throw an exception here if the site is not available. Just return false
        return site == null ? false : site.supportsLocalMode();
    }
   
    @Override
    protected Representation getRepresentation(Site site, String id, boolean offlineMode) throws EntityhubException {
        Entity entity = site.getEntity(id);
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.Site.supportsLocalMode()

    @Override
    public boolean supportsOfflineMode() {
        Site site = getSearchService();
        //Do not throw an exception here if the site is not available. Just return false
        return site == null ? false : site.supportsLocalMode();
    }

    @Override
    public Integer getLimit() {
        return limit;
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.Site.supportsLocalMode()

    @Override
    public boolean supportsOfflineMode() {
        Site site = getSearchService();
        //Do not throw an exception here if the site is not available. Just return false
        return site == null ? false : site.supportsLocalMode();
    }

    @Override
    public Integer getLimit() {
        return limit;
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.Site.supportsLocalMode()

    @Override
    public boolean supportsOfflineMode() {
        Site site = getSearchService();
        //Do not throw an exception here if the site is not available. Just return false
        return site == null ? false : site.supportsLocalMode();
    }

    @Override
    public Integer getLimit() {
        return limit;
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.Site.supportsLocalMode()

                // policy what do to in such situations
                // throw new EngineException(msg);
                return;
            }
            // and that it supports offline mode if required
            if (isOfflineMode() && !site.supportsLocalMode()) {
                log.warn(
                    "Unable to enhance ci {} because OfflineMode is not supported by ReferencedSite {}.", ci
                            .getUri().getUnicodeString(), site.getId());
                return;
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.