/** * Return all PageNode instances that have specified pageRole. * * @param pageRole * the role to find PageNodes by * @return All the pageNodes of the pages that have the specific pageRole. */ public Collection<PageNode<?>> getPagesByRole(final Class<? extends PageRole> pageRole) { return navGraph.getPagesByRole(pageRole); }
/** * Return all PageNode instances that have specified pageRole. * * @param pageRole * the role to find PageNodes by * @return All the pageNodes of the pages that have the specific pageRole. */ public Collection<PageNode<?>> getPagesByRole(final Class<? extends PageRole> pageRole) { return navGraph.getPagesByRole(pageRole); }