Class SimpleLanding

java.lang.Object
overit.geocall.ux.platform.SimpleLanding
All Implemented Interfaces:
Cloneable, Landing

public class SimpleLanding extends Object implements Landing
  • Field Details

    • name

      protected String name
    • wm

      protected String wm
    • params

      protected String params
    • definition

      protected Getter definition
    • staticParams

      protected String staticParams
    • modeMenu

      protected String modeMenu
    • posMenu

      protected String posMenu
    • page

      protected String page
    • managed

      protected boolean managed
    • lander

      protected SimpleLander lander
    • functions

      protected List<String> functions
  • Constructor Details

  • Method Details

    • get

      public static Landing get(Identity identity, String landing)
      Search for the landing having the name passed as parameter. If it is found, it will be returned. Otherwise return null.
      Parameters:
      identity - Identity to understand in which packages to search for the landing.
      landing - Name of the landing to search.
      Returns:
      The landing if it is found. Otherwise return null.
    • getName

      public String getName()
      Description copied from interface: Landing
      Get the unique name of the Landing
      Specified by:
      getName in interface Landing
      Returns:
      The name of the Landing
    • setName

      public void setName(String name)
      Description copied from interface: Landing
      Set the unique name of the Landing
      Specified by:
      setName in interface Landing
      Parameters:
      name - The name of the Landing
    • getWm

      public String getWm()
      Description copied from interface: Landing
      Get the name that will be assigned to the window manager on the page open
      Specified by:
      getWm in interface Landing
      Returns:
      the name that will be assigned to the window manager on the page open. if not specified, it will be considered the Landing.getName()
    • setWm

      public void setWm(String wm)
      Description copied from interface: Landing
      Set the name that will be assigned to the window manager on the page open
      Specified by:
      setWm in interface Landing
      Parameters:
      wm - the name that will be assigned to the window manager on the page open
    • getLander

      public SimpleLander getLander()
      Description copied from interface: Landing
      Get the instance of the Lander.
      Specified by:
      getLander in interface Landing
      Returns:
      The instance of the Landing builder.
    • getParams

      public String getParams()
      Description copied from interface: Landing
      Get the parameters of the Landing
      Specified by:
      getParams in interface Landing
      Returns:
      The string passed in the URI after the landing name.
    • setParams

      public void setParams(String params)
      Description copied from interface: Landing
      Set the parameters of the Landing passed in the URI after the landing name.
      Specified by:
      setParams in interface Landing
      Parameters:
      params - The string passed in the URI after the landing name.
    • getDefinition

      public Getter getDefinition()
      Description copied from interface: Landing
      Get the definition of the Landing.
      Specified by:
      getDefinition in interface Landing
      Returns:
      The Getter containing all the attributes expressed in the XML.
    • getStaticParams

      public String getStaticParams()
      Description copied from interface: Landing
      Get the static parameters of the Landing.
      Specified by:
      getStaticParams in interface Landing
      Returns:
      the string defined inside the param attribute of the landing configuration
    • setStaticParams

      public void setStaticParams(String staticParams)
      Description copied from interface: Landing
      Set the static parameters of the Landing defined inside the param attribute of the landing configuration.
      Specified by:
      setStaticParams in interface Landing
      Parameters:
      staticParams - the string defined inside the param attribute of the landing configuration
    • getModeMenu

      public String getModeMenu()
      Description copied from interface: Landing
      Get the menu opening mode.
      Specified by:
      getModeMenu in interface Landing
      Returns:
      the menu opening mode. Possible values are:
      • on: the menu is visible on the page open but it will be hidden on the mouse leave
      • off: the menu is not visible on the page open but can be open on the mouse over
      • lock: the menu is visible on the page open and it will not disappear on the mouse leave
      • none: the menu is not been present on the page
    • setModeMenu

      public void setModeMenu(String modeMenu)
      Description copied from interface: Landing
      Set the menu opening mode.
      Specified by:
      setModeMenu in interface Landing
      Parameters:
      modeMenu - Possible values are:
      • on: the menu is visible on the page open but it will be hidden on the mouse leave
      • off: the menu is not visible on the page open but can be open on the mouse over
      • lock: the menu is visible on the page open and it will not disappear on the mouse leave
      • none: the menu is not been present on the page
    • getPosMenu

      public String getPosMenu()
      Description copied from interface: Landing
      Get the string indicating the page's position inside the menu.
      Specified by:
      getPosMenu in interface Landing
      Returns:
      the page's position inside the menu
    • setPosMenu

      public void setPosMenu(String posMenu)
      Specified by:
      setPosMenu in interface Landing
    • getPage

      public String getPage()
      Description copied from interface: Landing
      Get the path of the page to open
      Specified by:
      getPage in interface Landing
      Returns:
      the path of the page to open
    • setPage

      public void setPage(String page)
      Specified by:
      setPage in interface Landing
    • isManaged

      public boolean isManaged()
      Description copied from interface: Landing
      returns a boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container. if the page is managed, it is not registered in the window manager and therefore will not be accessible from the views panel
      Specified by:
      isManaged in interface Landing
      Returns:
      true if the page will be opened inside a geocall frame; false if it is handled by an external container
    • setManaged

      public void setManaged(boolean managed)
      Description copied from interface: Landing
      boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container. if the page is managed, it is not registered in the window manager and therefore will not be accessible from the views panel
      Specified by:
      setManaged in interface Landing
      Parameters:
      managed - true if the page will be opened inside a geocall frame; false if it is handled by an external container
    • setFunction

      public void setFunction(List<String> functions)
      Description copied from interface: Landing
      Sets the list of functions required to access the landing page
      Specified by:
      setFunction in interface Landing
      Parameters:
      functions - the list of functions required to access the landing page
    • getFunctions

      public List<String> getFunctions()
      Description copied from interface: Landing
      returns the list of functions required to access the landing page
      Specified by:
      getFunctions in interface Landing
      Returns:
      the list of functions required to access the landing page
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Landing clone(String params)
      Description copied from interface: Landing
      Create a new clone instance of Landing and the parameter is set as params value of the copy instance.
      Specified by:
      clone in interface Landing
      Parameters:
      params - The value of params variable of the clone instance
      Returns:
      The cloned instance of Landing