public class SectionsForLocationFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<Iterable<WebSectionView>>
Usage: {let $sections: sectionsForLocation(contentId, 'system.main.nav') /}
where contentId is used to provide additional information to the WebInterfaceContext. Pass null if the sections are not associated with a specific CEO.
Constructor and Description |
---|
SectionsForLocationFunction(WebViewService webViewService) |
Modifier and Type | Method and Description |
---|---|
Iterable<WebSectionView> |
apply(Object... args) |
String |
getName() |
Set<Integer> |
validArgSizes() |
public SectionsForLocationFunction(WebViewService webViewService)
public String getName()
getName
in interface com.atlassian.soy.renderer.SoyFunction
public Iterable<WebSectionView> apply(Object... args)
apply
in interface com.atlassian.soy.renderer.SoyServerFunction<Iterable<WebSectionView>>
Copyright © 2003–2017 Atlassian. All rights reserved.