Package org.jivesoftware.admin
Class AdminPageBean
- java.lang.Object
-
- org.jivesoftware.admin.AdminPageBean
-
public class AdminPageBean extends Object
A bean to hold page information for the admin console.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminPageBean.Breadcrumb
A simple model of a breadcrumb.
-
Constructor Summary
Constructors Constructor Description AdminPageBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection
getBreadcrumbs()
Returns a collection of breadcrumbs.String
getExtraParams()
Returns a string of extra parameters for the URLs - these might be specific IDs for resources.String
getPageID()
Returns the page ID (corresponds to sidebar ID's).Collection
getScripts()
Returns a collection of scripts.String
getSubPageID()
Returns the subpage ID (corresponds to sidebar ID's).String
getTitle()
Returns the title of the page with HTML escaped.void
setExtraParams(String extraParams)
Sets the string of extra parameters for the URLs.void
setPageID(String pageID)
Sets the ID of the page (corresponds to sidebar ID's).void
setSubPageID(String subPageID)
Sets the subpage ID (corresponds to sidebar ID's).void
setTitle(String title)
Sets the title of the admin console page.
-
-
-
Method Detail
-
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 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
-
-