org.alfresco.web.bean.categories
Class CategoriesDialog.CategoryBreadcrumbHandler

java.lang.Object
  extended by org.alfresco.web.bean.categories.CategoriesDialog.CategoryBreadcrumbHandler
All Implemented Interfaces:
java.io.Serializable, IBreadcrumbHandler, IRepoBreadcrumbHandler
Enclosing class:
CategoriesDialog

public class CategoriesDialog.CategoryBreadcrumbHandler
extends java.lang.Object
implements IRepoBreadcrumbHandler

Class to handle breadcrumb interaction for Categories pages

See Also:
Serialized Form

Constructor Summary
CategoriesDialog.CategoryBreadcrumbHandler(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.lang.String label)
          Constructor
 
Method Summary
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Return a NodeRef relevant to this breadcrumb element, if any
 java.lang.String navigationOutcome(UIBreadcrumb breadcrumb)
          Perform appropriate processing logic and then return a JSF navigation outcome.
 java.lang.String toString()
          Override Object.toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CategoriesDialog.CategoryBreadcrumbHandler

public CategoriesDialog.CategoryBreadcrumbHandler(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                                  java.lang.String label)
Constructor

Parameters:
NodeRef - The NodeRef for this browse navigation element
label - Element label
Method Detail

toString

public java.lang.String toString()
Description copied from interface: IBreadcrumbHandler
Override Object.toString()

Specified by:
toString in interface IBreadcrumbHandler
Overrides:
toString in class java.lang.Object
Returns:
the element display label for this handler instance.
See Also:
Object.toString()

navigationOutcome

public java.lang.String navigationOutcome(UIBreadcrumb breadcrumb)
Description copied from interface: IBreadcrumbHandler
Perform appropriate processing logic and then return a JSF navigation outcome. This method will be called by the framework when the handler instance is selected by the user.

Specified by:
navigationOutcome in interface IBreadcrumbHandler
Parameters:
breadcrumb - The UIBreadcrumb component that caused the navigation
Returns:
JSF navigation outcome
See Also:
IBreadcrumbHandler.navigationOutcome(org.alfresco.web.ui.common.component.UIBreadcrumb)

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface: IRepoBreadcrumbHandler
Return a NodeRef relevant to this breadcrumb element, if any

Specified by:
getNodeRef in interface IRepoBreadcrumbHandler
Returns:
a NodeRef if relevant to the breadcrumb element, null otherwise


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.