public class PanelsForLocationFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<Iterable<WebPanelView>>
Usage: {let $panels: panelsForLocation(contentId, 'system.main.nav') /}
where contentId is used to provide additional information to the WebInterfaceContext. Pass null if the panels are not associated with a specific CEO.
contentId has to be a string because soy can't deal with 64-bit longs. It might appear to work for you if your contentId is small enough to actually fit into an integer but it will blow up once it doesn't anymore.
| Constructor and Description | 
|---|
| PanelsForLocationFunction(WebViewService webViewService) | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<WebPanelView> | apply(Object... args) | 
| String | getName() | 
| Set<Integer> | validArgSizes() | 
public PanelsForLocationFunction(WebViewService webViewService)
public String getName()
getName in interface com.atlassian.soy.renderer.SoyFunctionpublic Iterable<WebPanelView> apply(Object... args)
apply in interface com.atlassian.soy.renderer.SoyServerFunction<Iterable<WebPanelView>>Copyright © 2003–2019 Atlassian. All rights reserved.