org.zeroexchange.web.navigation.breadcrumb
Class DefaultBreadcrumbInfoAccessor

java.lang.Object
  extended by org.zeroexchange.web.navigation.breadcrumb.DefaultBreadcrumbInfoAccessor
All Implemented Interfaces:
BreadcrumbInfoAccessor

public class DefaultBreadcrumbInfoAccessor
extends Object
implements BreadcrumbInfoAccessor

Implementation of the BreadcrumbInfoAccessor.

Author:
black

Constructor Summary
DefaultBreadcrumbInfoAccessor()
           
 
Method Summary
 boolean areBreadcrumbsVisibileByDefault()
          Returns true id the breadcrumbs should be visible by the default
 boolean isBreadcrumbedPage(Class pageClass)
          Returns true of the page is enabled for the breadcrumb.
 boolean isRootPage(Class pageClass)
          Returns true if the breadcrumb for the page should be placed to the top of the breadcrumb chain.
 void setBreadcrumbsVisibileByDefault(boolean breadcrumbsVisibileByDefault)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBreadcrumbInfoAccessor

public DefaultBreadcrumbInfoAccessor()
Method Detail

setBreadcrumbsVisibileByDefault

public void setBreadcrumbsVisibileByDefault(boolean breadcrumbsVisibileByDefault)

areBreadcrumbsVisibileByDefault

public boolean areBreadcrumbsVisibileByDefault()
Returns true id the breadcrumbs should be visible by the default

Specified by:
areBreadcrumbsVisibileByDefault in interface BreadcrumbInfoAccessor

isBreadcrumbedPage

public boolean isBreadcrumbedPage(Class pageClass)
Returns true of the page is enabled for the breadcrumb.

Specified by:
isBreadcrumbedPage in interface BreadcrumbInfoAccessor

isRootPage

public boolean isRootPage(Class pageClass)
Returns true if the breadcrumb for the page should be placed to the top of the breadcrumb chain.

Specified by:
isRootPage in interface BreadcrumbInfoAccessor


Copyright © 2013. All Rights Reserved.