[ 
https://issues.apache.org/jira/browse/STANBOL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849787#comment-13849787
 ] 

Rupert Westenthaler commented on STANBOL-1127:
----------------------------------------------

In the 0.12 branch the ReferencedSiteRoot resource [1] has the following two 
methods (at the very end of the class)

{code}

    public boolean isManagedSite(){
        return site instanceof ManagedSite;
    }
    public Site getSite(){
        return site;
    }

{code}

Those are used in the templates to construct the URLs of the Site endpoint and 
in case of a ManagedSite to show the additional RESTful services. In 1.0.0 they 
are missing and therefore the HTML view is broken.

Any Idea how to implement this methods with the singleton instance approach 
used in the trunk?




[1] 
http://svn.apache.org/repos/asf/stanbol/branches/release-0.12/entityhub/jersey/src/main/java/org/apache/stanbol/entityhub/jersey/resource/ReferencedSiteRootResource.java

> migrate entityhub 
> ------------------
>
>                 Key: STANBOL-1127
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1127
>             Project: Stanbol
>          Issue Type: Sub-task
>            Reporter: Reto Bachmann-Gmür
>




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to