Class ContentActionBreadcrumb
java.lang.Object
com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
com.atlassian.confluence.util.breadcrumbs.AbstractActionBreadcrumb
com.atlassian.confluence.util.breadcrumbs.AbstractSpaceActionBreadcrumb
com.atlassian.confluence.util.breadcrumbs.ContentActionBreadcrumb
- All Implemented Interfaces:
Breadcrumb
Represents a high level content action breadcrumb. The parent is dependent on the type of content
being 'actioned' upon.
Content supported are spaces, pages, blogs and labels.
-
Field Summary
Fields inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractSpaceActionBreadcrumb
space
Fields inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractActionBreadcrumb
action
Fields inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
cssClass, displayTitle, filterTrailingBreadcrumb, MAX_BREADCRUMBS, target, title, tooltip
-
Constructor Summary
ConstructorDescriptionContentActionBreadcrumb
(ConfluenceActionSupport action, Space space, AbstractPage page, DisplayableLabel label, Breadcrumb spaceOperationsBreadcrumb) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<Breadcrumb>
Returns a list of breadcrumbs for the current breadcrumb.Gets the parent breadcrumb.Methods inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
filterTrailingBreadcrumb, getBreadcrumbsTrail, getCssClass, getDisplayTitle, getTarget, getTitle, getTooltip, setCssClass, setFilterTrailingBreadcrumb, toString
-
Constructor Details
-
ContentActionBreadcrumb
public ContentActionBreadcrumb(ConfluenceActionSupport action, Space space, AbstractPage page, DisplayableLabel label, Breadcrumb spaceOperationsBreadcrumb)
-
-
Method Details
-
getMyCrumbs
Description copied from class:AbstractBreadcrumb
Returns a list of breadcrumbs for the current breadcrumb. For example, theBlogPostBreadcrumb
overrides this method and returns 4 crumbs altogether to represent itself: 2007 > 11 > 28 > BlogTitle.By default my crumbs will be a list with size 1, containing itself, unless the current breadcrumb has no title.
- Overrides:
getMyCrumbs
in classAbstractBreadcrumb
-
getParent
Description copied from class:AbstractBreadcrumb
Gets the parent breadcrumb. By default the dashboard breadcrumb is returned.- Specified by:
getParent
in classAbstractBreadcrumb
- Returns:
- the parent breadcrumb.
-