com.atlassian.confluence.util.breadcrumbs
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
public class ContentActionBreadcrumb
- extends AbstractSpaceActionBreadcrumb
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.
Method Summary |
protected java.util.List |
getMyCrumbs()
Returns a list of breadcrumbs for the current breadcrumb. |
Breadcrumb |
getParent()
Gets the parent breadcrumb. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ContentActionBreadcrumb
public ContentActionBreadcrumb(com.opensymphony.xwork.Action action,
Space space,
AbstractPage page,
DisplayableLabel label)
getMyCrumbs
protected java.util.List getMyCrumbs()
- Description copied from class:
AbstractBreadcrumb
- Returns a list of breadcrumbs for the current breadcrumb. For example, the
BlogPostBreadcrumb
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.
- Overrides:
getMyCrumbs
in class AbstractBreadcrumb
getParent
public Breadcrumb getParent()
- Description copied from class:
AbstractBreadcrumb
- Gets the parent breadcrumb. By default the dashboard breadcrumb is returned.
- Specified by:
getParent
in class AbstractBreadcrumb
- Returns:
- the parent breadcrumb.
Copyright © 2003-2010 Atlassian. All Rights Reserved.