bundles/org.eclipse.packagedrone.repo.channel/src/org/eclipse/packagedrone/repo/channel/util/RepositoryLinks.java
public static void fillRepoLinks ( final ChannelInformation channel, final List<MenuEntry> links, final String baseName, final int basePriority, final String prefix, final int priorityOffset, final LinkTarget linkTemplate )
    {
        Objects.requireNonNull ( linkTemplate, "'linkTemplate' must not be null" );

        fillRepoLinks ( channel, links, baseName, basePriority, prefix, priorityOffset, idOrName -> makeDefaultRepoLink ( linkTemplate, idOrName ) );
    }
public static void fillRepoLinks ( final ChannelInformation channel, final List<MenuEntry> links, final String baseName, final int basePriority, final String prefix, final int priorityOffset, final LinkTarget linkTemplate )
    {
        Objects.requireNonNull ( linkTemplate, "'linkTemplate' must not be null" );

        fillRepoLinks ( channel, links, baseName, basePriority, prefix, priorityOffset, idOrName -> makeDefaultRepoLink ( linkTemplate, idOrName ) );
    }
Create a set of default repository links

@param channel
the channel to generate for
@param links
the receiver of the links
@param baseName
the name of the top level menu entry
@param basePriority
the priority of the top level menu entry
@param prefix
the prefix of the child menu entries
@param priorityOffset
the base priority of the child menu entries
@param linkTemplate
the template for generating the links, this template must
contain the path variable <code>{idOrName}</code>