All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.icfolson.aem.library.api.link.NavigationLink Maven / Gradle / Ivy

package com.icfolson.aem.library.api.link;

import java.util.List;

/**
 * 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.
 */
public interface NavigationLink extends Link {

    /**
     * List of child links. Useful for building navigation hierarchies.
     *
     * @return list of child links for this link or empty list if none exist
     */
    List getChildren();

    /**
     * @return true if link is active
     */
    boolean isActive();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy