Class Page.Builder

  • Enclosing class:

    public static class Page.Builder
    extends java.lang.Object
    • Method Detail

      • setName

        public Page.Builder setName​(java.lang.String name)
        Page name displayed in the UI. Mandatory.
      • setAdmin

        public Page.Builder setAdmin​(boolean admin)
        if set to true, display the page in the administration section, depending on the scope
      • setScope

        public Page.Builder setScope​(Page.Scope scope)
        Define where the page is displayed, either in the global menu or in a component page
        scope - - default is GLOBAL
      • build

        public Page build()