|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.util.breadcrumbs.DefaultBreadcrumbGenerator
public class DefaultBreadcrumbGenerator
Constructor Summary | |
---|---|
DefaultBreadcrumbGenerator(ThemeManager themeManager)
|
Method Summary | |
---|---|
Breadcrumb |
getAdvancedBreadcrumb(Space space)
Returns the advanced breadcrumb in a space. |
Breadcrumb |
getBlogCollectorBreadcrumb(Space space)
|
Breadcrumb |
getContentActionBreadcrumb(com.opensymphony.xwork.Action action,
Space space,
AbstractPage page,
DisplayableLabel label)
Returns an appropriate breadcrumb for the given action, space, page and label. |
Breadcrumb |
getContentBreadcrumb(Space space,
AbstractPage page)
Returns an appropriate breadcrumb for a page or blogpost |
Breadcrumb |
getContentCollectorBreadcrumb(Space space,
java.lang.Class contentClass)
Returns an appropriate collector page breadcrumb to represent content at the root level of a space conforming to the new space information architecture. |
Breadcrumb |
getContentDetailActionBreadcrumb(com.opensymphony.xwork.Action action,
Space space,
AbstractPage page)
Breadcrumb for the "detail" pages of a Page/Blog, like Info, Attachments or History. |
java.util.List<Breadcrumb> |
getFilteredBreadcrumbTrail(ConfluenceActionSupport action,
javax.servlet.http.HttpServletRequest request)
Returns the breadcrumb trail after filtering. |
java.util.List<Breadcrumb> |
getFilteredBreadcrumbTrail(Space space,
Breadcrumb breadcrumb)
Returns the breadcrumb trail after filtering. |
Breadcrumb |
getSpaceAdminBreadcrumb(com.opensymphony.xwork.Action action,
Space space)
Returns the breadcrumb for a space admin action in a space. |
Breadcrumb |
getSpaceOperationsBreadcrumb(Space space)
Returns the space operations breadcrumb (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBreadcrumbGenerator(ThemeManager themeManager)
Method Detail |
---|
public java.util.List<Breadcrumb> getFilteredBreadcrumbTrail(ConfluenceActionSupport action, javax.servlet.http.HttpServletRequest request)
BreadcrumbGenerator
getFilteredBreadcrumbTrail
in interface BreadcrumbGenerator
action
- the action to build breadcrumbs forrequest
- the request to build breadcrumbs for
public java.util.List<Breadcrumb> getFilteredBreadcrumbTrail(Space space, Breadcrumb breadcrumb)
BreadcrumbGenerator
getFilteredBreadcrumbTrail
in interface BreadcrumbGenerator
space
- the space in which the breadcrumb belongs, or null when this is not applicablebreadcrumb
- the breadcrumb to retrieve a filtered trail for
public Breadcrumb getContentActionBreadcrumb(com.opensymphony.xwork.Action action, Space space, AbstractPage page, DisplayableLabel label)
BreadcrumbGenerator
getContentActionBreadcrumb
in interface BreadcrumbGenerator
action
- the action to retrieve the breadcrumb forspace
- the space to retrieve the breadcrumb for, can be null for global labelspage
- the page to retrieve the breadcrumb for, can be null when retrieving breadcrumb for a labellabel
- the label to retrieve the breadcrumb for, can be null when retrieving breadcrumb for a page
public Breadcrumb getContentBreadcrumb(Space space, AbstractPage page)
BreadcrumbGenerator
getContentBreadcrumb
in interface BreadcrumbGenerator
space
- the space to retrieve the breadcrumb forpage
- the page or blogpost to retrieve the breadcrumb for
public Breadcrumb getContentCollectorBreadcrumb(Space space, java.lang.Class contentClass)
BreadcrumbGenerator
getContentCollectorBreadcrumb
in interface BreadcrumbGenerator
space
- the space to retrieve a collector breadcrumb for.contentClass
- the type of content to retrieve a collector breadcrumb for.
public Breadcrumb getSpaceAdminBreadcrumb(com.opensymphony.xwork.Action action, Space space)
BreadcrumbGenerator
getSpaceAdminBreadcrumb
in interface BreadcrumbGenerator
action
- the action to retrieve a space admin breadcrumb for.space
- the space to retrieve a space admin breadcrumb for.
public Breadcrumb getSpaceOperationsBreadcrumb(Space space)
BreadcrumbGenerator
getSpaceOperationsBreadcrumb
in interface BreadcrumbGenerator
space
- the space to retrieve a space operations breadcrumb for.
public Breadcrumb getAdvancedBreadcrumb(Space space)
BreadcrumbGenerator
getAdvancedBreadcrumb
in interface BreadcrumbGenerator
space
- the space to retrieve an advanced breadcrumb for.
public Breadcrumb getBlogCollectorBreadcrumb(Space space)
getBlogCollectorBreadcrumb
in interface BreadcrumbGenerator
public Breadcrumb getContentDetailActionBreadcrumb(com.opensymphony.xwork.Action action, Space space, AbstractPage page)
This breadcrumb is not to be used for actions on content itself, like ViewPageAction,
which should use getContentActionBreadcrumb(Action, Space, AbstractPage, DisplayableLabel)
.
getContentDetailActionBreadcrumb
in interface BreadcrumbGenerator
action
- the action to retrieve the breadcrumb forspace
- the space to retrieve the breadcrumb forpage
- the page to retrieve the breadcrumb for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |