Class MenusService


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

      Constructors 
      Constructor Description
      MenusService()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static MenusService getInstance()
      Returns the instance of the singleton
      java.lang.String getSitePath​(int nMode)
      Define the site path : Portal Url when mode isn't admin mode, otherwise AdminPortalUrl
      void init()
      Initializes the Menus service
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MenusService

        public MenusService()
    • Method Detail

      • 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 java.lang.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