Class MenusService

java.lang.Object
fr.paris.lutece.plugins.menus.service.MenusService

public class MenusService extends Object
This Service manages contactListt actions (create, delete, modify ...) and notify listeners.
Author:
lenaini
  • Field Details

  • Constructor Details

    • MenusService

      public MenusService()
  • Method Details

    • init

      public void init()
      Initializes the Menus service
    • getInstance

      public static MenusService getInstance()
      Returns the instance of the singleton
      Returns:
      The instance of the singleton
    • getSitePath

      public String getSitePath(int nMode)
      Define the site path : Portal Url when mode isn't admin mode, otherwise AdminPortalUrl
      Parameters:
      nMode - the mode define by the request
      Returns:
      site path depending on the mode