Class AdminPageBean

java.lang.Object
org.jivesoftware.admin.AdminPageBean

public class AdminPageBean extends Object
A bean to hold page information for the admin console.
  • Constructor Details

    • AdminPageBean

      public AdminPageBean()
  • Method Details

    • getTitle

      public String getTitle()
      Returns the title of the page with HTML escaped.
      Returns:
      the page title
    • setTitle

      public void setTitle(String title)
      Sets the title of the admin console page.
      Parameters:
      title - the name of the page
    • getBreadcrumbs

      public Collection<AdminPageBean.Breadcrumb> getBreadcrumbs()
      Returns a collection of breadcrumbs. Use the Collection API to get/set/remove crumbs.
      Returns:
      the collection of breadcrumbs
    • getPageID

      public String getPageID()
      Returns the page ID (corresponds to sidebar ID's).
      Returns:
      the page id
    • setPageID

      public void setPageID(String pageID)
      Sets the ID of the page (corresponds to sidebar ID's).
      Parameters:
      pageID - the id of page
    • getSubPageID

      public String getSubPageID()
      Returns the subpage ID (corresponds to sidebar ID's).
      Returns:
      the sub page id
    • setSubPageID

      public void setSubPageID(String subPageID)
      Sets the subpage ID (corresponds to sidebar ID's).
      Parameters:
      subPageID - the sub page id
    • getExtraParams

      public String getExtraParams()
      Returns a string of extra parameters for the URLs - these might be specific IDs for resources.
      Returns:
      the extra URL parameters
    • setExtraParams

      public void setExtraParams(String extraParams)
      Sets the string of extra parameters for the URLs.
      Parameters:
      extraParams - the extra parameters
    • getScripts

      public Collection<?> getScripts()
      Returns a collection of scripts. Use the Collection API to get/set/remove scripts.
      Returns:
      the collection of scripts