Package org.jivesoftware.admin
Class AdminPageBean
java.lang.Object
org.jivesoftware.admin.AdminPageBean
A bean to hold page information for the admin console.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A simple model of a breadcrumb. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of breadcrumbs.Returns a string of extra parameters for the URLs - these might be specific IDs for resources.Returns the page ID (corresponds to sidebar ID's).Collection<?>
Returns a collection of scripts.Returns the subpage ID (corresponds to sidebar ID's).getTitle()
Returns the title of the page with HTML escaped.void
setExtraParams
(String extraParams) Sets the string of extra parameters for the URLs.void
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
Sets the title of the admin console page.
-
Constructor Details
-
AdminPageBean
public AdminPageBean()
-
-
Method Details
-
getTitle
Returns the title of the page with HTML escaped.- Returns:
- the page title
-
setTitle
Sets the title of the admin console page.- Parameters:
title
- the name of the page
-
getBreadcrumbs
Returns a collection of breadcrumbs. Use the Collection API to get/set/remove crumbs.- Returns:
- the collection of breadcrumbs
-
getPageID
Returns the page ID (corresponds to sidebar ID's).- Returns:
- the page id
-
setPageID
Sets the ID of the page (corresponds to sidebar ID's).- Parameters:
pageID
- the id of page
-
getSubPageID
Returns the subpage ID (corresponds to sidebar ID's).- Returns:
- the sub page id
-
setSubPageID
Sets the subpage ID (corresponds to sidebar ID's).- Parameters:
subPageID
- the sub page id
-
getExtraParams
Returns a string of extra parameters for the URLs - these might be specific IDs for resources.- Returns:
- the extra URL parameters
-
setExtraParams
Sets the string of extra parameters for the URLs.- Parameters:
extraParams
- the extra parameters
-
getScripts
Returns a collection of scripts. Use the Collection API to get/set/remove scripts.- Returns:
- the collection of scripts
-