Class WebMenuAdministration

java.lang.Object
de.uplanet.lucy.server.auxiliaries.menu.WebMenuAdministration

@VelocityCallable("singleton") public final class WebMenuAdministration extends Object
  • Constructor Details

    • WebMenuAdministration

      public WebMenuAdministration()
  • Method Details

    • getMenuLanguages

      public List<String> getMenuLanguages()
      Get List of configured languages
      Returns:
      List of configured languages
    • isCms

      public boolean isCms(String p_strAppGuid)
    • getSearchLink

      public String getSearchLink(de.uplanet.jdbc.JdbcConnection p_conn, String p_strRecId, String p_strAppGuid, String p_strTargetGuid)
    • isContentPublished

      public boolean isContentPublished(de.uplanet.jdbc.JdbcConnection p_conn, String p_strGuid, String p_strAppGuid)
      isContentPublished
      Parameters:
      p_conn - JdbcConnection
      p_strGuid - Guid of menuitem
      Returns:
      true, if menuitem present
    • getLinkParamV5

      public String getLinkParamV5(String p_strLink, int p_lIdx)
    • getContentPages

      public List<de.uplanet.lucy.server.rtcache.PageInfo> getContentPages(de.uplanet.jdbc.JdbcConnection p_conn, String p_strAppGuid)
    • insertBeforeMenuNode

      public Exception insertBeforeMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strNewGuid)
      Inserting a new menu-node
      Parameters:
      p_conn - JdbcConnection
      p_strSubmenuGuid - Guid of descending menuitem
      p_strLink - String with link to the new article
      p_names - Map with Name / Language-Id
      p_strNewGuid - Guid of new Menuitem
      Returns:
      Exception, if occurred.
    • insertBeforeCmsMenuNode

      public Exception insertBeforeCmsMenuNode(de.uplanet.lucy.server.IDatabaseProcessingContext p_ctx, String p_strParentMenuGuid, String p_strNewMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
    • insertAppendMenuNode

      public Exception insertAppendMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strNewGuid)
      Appending a new menu-node
      Parameters:
      p_conn - JdbcConnection
      p_strSubmenuGuid - Guid of parent menuitem
      p_strLink - String with link to the new article
      p_names - Map with Name / Language-Id
      p_strNewGuid - Guid of new menuitem
      Returns:
      Exception, if occurred.
    • insertAppendCmsMenuNode

      public Exception insertAppendCmsMenuNode(de.uplanet.lucy.server.IDatabaseProcessingContext p_ctx, String p_strParentMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
    • moveBeforeMenuNode

      public Exception moveBeforeMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strGuid)
      Moving a menu-node
      Parameters:
      p_conn - JdbcConnection
      p_strSubmenuGuid - Guid of descending menuitem
      p_strLink - String with link to the new article
      p_names - Map with Name / Language-Id
      p_strGuid - Guid of Menuitem
      Returns:
      Exception, if occurred
    • moveBeforeCmsMenuNode

      public Exception moveBeforeCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strDescMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
    • moveAppendMenuNode

      public Exception moveAppendMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strGuid)
      Appending a menu-node
      Parameters:
      p_conn - JdbcConnection
      p_strSubmenuGuid - Guid of parent menuitem
      p_strLink - String with link to the new article
      p_names - Map with Name / Language-Id
      p_strGuid - Guid of Menuitem
      Returns:
      Exception, if occurred.
    • moveAppendCmsMenuNode

      public Exception moveAppendCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strParentMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
    • changeNode

      public Exception changeNode(de.uplanet.jdbc.JdbcConnection p_conn, Map<String,String> p_names, String p_strGuid)
      Changing a menu-node
      Parameters:
      p_conn - JdbcConnection
      p_names - Map with Name / Language-Id
      p_strGuid - Guid of Menuitem
      Returns:
      Exception, if occurred.
    • changeCmsMenuNode

      public Exception changeCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
    • deleteMenuNode

      public Exception deleteMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strGuid)
      Deleting a menu-node
      Parameters:
      p_conn - JdbcConnection
      p_strGuid - Guid of Menuitem
      Returns:
      Exception, if occurred.