com.citytechinc.aem.bedrock.api.link
Interface NavigationLink

All Superinterfaces:
Link, Serializable

public interface NavigationLink
extends Link

A navigation link contains all of the attributes of a Link with the addition of an active state attribute and a list of child links for representing navigation hierarchies.


Method Summary
 List<NavigationLink> getChildren()
          List of child links.
 boolean isActive()
           
 
Methods inherited from interface com.citytechinc.aem.bedrock.api.link.Link
getExtension, getHref, getPath, getProperties, getQueryString, getSelectors, getSuffix, getTarget, getTitle, isEmpty, isExternal
 

Method Detail

getChildren

List<NavigationLink> getChildren()
List of child links. Useful for building navigation hierarchies.

Returns:
list of child links for this link or empty list if none exist

isActive

boolean isActive()
Returns:
true if link is active


Copyright © 2015 CITYTECH, Inc.. All rights reserved.