Package org.silverpeas.web.jobstartpage
Class NavBarJsonEncoder
- java.lang.Object
-
- org.silverpeas.web.jobstartpage.NavBarJsonEncoder
-
public class NavBarJsonEncoder extends Object
JSON encoder dedicated to the spaces and components navigation displayed into Silverpeas's administration.- Author:
- silveryocha
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 instancesstatic NavBarJsonEncoder
with(JobStartPagePeasSessionController controller)
-
-
-
Method Detail
-
with
public static NavBarJsonEncoder with(JobStartPagePeasSessionController controller)
-
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
-
-