Class NavBarJsonEncoder


  • public class NavBarJsonEncoder
    extends Object
    JSON encoder dedicated to the spaces and components navigation displayed into Silverpeas's administration.
    Author:
    silveryocha
    • Method Detail

      • encode

        public String encode()
        Encodes an object containing the following data:
        • rootSpaces: an array of root space data
        • currentRootSpace: the data of current root space if any, undefined otherwise
        • spacePath: an array representing the space path to the current sub-space
        • spaces: an array of current spaces
        • applications: an array of current application instances
        Returns:
        the String representing