Package restx.admin

Class AdminPage

java.lang.Object
restx.admin.AdminPage

public class AdminPage extends Object
User: xavierhanin Date: 4/7/13 Time: 1:54 PM
  • Constructor Details

    • AdminPage

      public AdminPage(String path, String title)
      Constructs a new AdminPage
      Parameters:
      path - the absolute restx path of the admin page (usually something like /@/ui/xxxx/).
      title - the title of the page, as it will appear in admin menu.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPath

      public String getPath()
    • getTitle

      public String getTitle()
    • rootOn

      public AdminPage rootOn(String baseUri)
      Returns a new AdminPage instance which path is a full URI for the page, based on the provided baseUri.
      Parameters:
      baseUri - the uri to use as base in the path.
      Returns:
      a new admin page with path being a full URI.