Class MenuDaoJena

    • Field Detail

      • menuQuery

        protected static org.apache.jena.query.Query menuQuery
    • Method Detail

      • getMainMenu

        public MainMenu getMainMenu​(String url)
        Specified by:
        getMainMenu in interface MenuDao
        Parameters:
        url - - url of request for setting active menu items. This should start with a / and not have the context path. These values will be checked against urlMapping. ex. /people or /home
      • getMainMenu

        public MainMenu getMainMenu​(javax.servlet.ServletRequest req,
                                    String url)
        Specified by:
        getMainMenu in interface MenuDao
        Parameters:
        req - - the ServletRequest for the current request
        url - - url of request for setting active menu items. This should start with a / and not have the context path. These values will be checked against urlMapping. ex. /people or /home
      • getMenu

        protected MainMenu getMenu​(org.apache.jena.rdf.model.Model displayModel,
                                   String url)
      • isActive

        protected boolean isActive​(String url,
                                   String link)