private String getMenu()
        throws EFapsException
    {
        HelpServlet.LOG.debug("Reading Main Help Menu");
        final StringBuilder ret = new StringBuilder();
        ret.append("<ul>");
        final QueryBuilder queryBldr = new QueryBuilder(Type.get("Admin_Help_Menu"));
        // Admin_Help_MainMenu
        queryBldr.addWhereAttrEqValue("UUID", "dead549e-5cc6-49f9-9a79-8e33aa139f6d");
        final MultiPrintQuery multi = queryBldr.getPrint();
        multi.addAttribute("Name");
        multi.addSelect("linkfrom[Admin_Help_Menu2Wiki#FromLink].linkto[ToLink].attribute[Name]");
        multi.execute();
        if (multi.next()) {
            final String name = multi.<String>getAttribute("Name");
            String link = "";
            final Object links = multi
                            .getSelect("linkfrom[Admin_Help_Menu2Wiki#FromLink].linkto[ToLink].attribute[Name]");
            if (links instanceof List<?>) {
                for (final Object alink : (List<?>) links) {
                    link = link + ":" + alink;
                }
            } else {
                link = (String) links;
            }
            ret.append("<li><a href=\"").append(link).append("\">").append(DBProperties.getProperty(name + ".Label"))
                            .append("</a></li>");
            ret.append(getSubMenues(multi.getCurrentInstance()));
        }
        ret.append("</ul>");
        return ret.toString();
    }
private String getMenu()
        throws EFapsException
    {
        HelpServlet.LOG.debug("Reading Main Help Menu");
        final StringBuilder ret = new StringBuilder();
        ret.append("<ul>");
        final QueryBuilder queryBldr = new QueryBuilder(Type.get("Admin_Help_Menu"));
        
        queryBldr.addWhereAttrEqValue("UUID", "dead549e-5cc6-49f9-9a79-8e33aa139f6d");
        final MultiPrintQuery multi = queryBldr.getPrint();
        multi.addAttribute("Name");
        multi.addSelect("linkfrom[Admin_Help_Menu2Wiki#FromLink].linkto[ToLink].attribute[Name]");
        multi.execute();
        if (multi.next()) {
            final String name = multi.<String>getAttribute("Name");
            String link = "";
            final Object links = multi
                            .getSelect("linkfrom[Admin_Help_Menu2Wiki#FromLink].linkto[ToLink].attribute[Name]");
            if (links instanceof List<?>) {
                for (final Object alink : (List<?>) links) {
                    link = link + ":" + alink;
                }
            } else {
                link = (String) links;
            }
            ret.append("<li><a href=\"").append(link).append("\">").append(DBProperties.getProperty(name + ".Label"))
                            .append("</a></li>");
            ret.append(getSubMenues(multi.getCurrentInstance()));
        }
        ret.append("</ul>");
        return ret.toString();
    }
private String getMenu ( ) throws EFapsException { HelpServlet . LOG . debug ( "Reading Main Help Menu" ) ; final StringBuilder ret = new StringBuilder ( ) ; ret . append ( "<ul>" ) ; final QueryBuilder queryBldr = new QueryBuilder ( Type . get ( "Admin_Help_Menu" ) ) ; // Admin_Help_MainMenu queryBldr . addWhereAttrEqValue ( "UUID" , "dead549e-5cc6-49f9-9a79-8e33aa139f6d" ) ; final MultiPrintQuery multi = queryBldr . getPrint ( ) ; multi . addAttribute ( "Name" ) ; multi . addSelect ( "linkfrom[Admin_Help_Menu2Wiki#FromLink].linkto[ToLink].attribute[Name]" ) ; multi . execute ( ) ; if ( multi . next ( ) ) { final String name = multi . < String > getAttribute ( "Name" ) ; String link = "" ; final Object links = multi . getSelect ( "linkfrom[Admin_Help_Menu2Wiki#FromLink].linkto[ToLink].attribute[Name]" ) ; if ( links instanceof List < ? > ) { for ( final Object alink : ( List < ? > ) links ) { link = link + ":" + alink ; } } else { link = ( String ) links ; } ret . append ( "<li><a href=\"" ) . append ( link ) . append ( "\">" ) . append ( DBProperties . getProperty ( name + ".Label" ) ) . append ( "</a></li>" ) ; ret . append ( getSubMenues ( multi . getCurrentInstance ( ) ) ) ; } ret . append ( "</ul>" ) ; return ret . toString ( ) ; }
get the CharSequence for the menu.

@return the menu
@throws EFapsException on error
get the CharSequence for the menu .