Package com.composum.sling.nodes.browser
Class BrowserViews.View
- java.lang.Object
-
- com.composum.sling.nodes.browser.BrowserViews.View
-
- All Implemented Interfaces:
Serializable,Comparable<BrowserViews.View>
- Enclosing class:
- BrowserViews
public class BrowserViews.View extends Object implements Comparable<BrowserViews.View>, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBrowserViews.View.ContentclassBrowserViews.View.TabclassBrowserViews.View.Toolbar
-
Field Summary
Fields Modifier and Type Field Description protected Conditionconditionprotected BrowserViews.View.Contentcontentprotected org.apache.sling.api.resource.ValueMappropertiesprotected StringtabResourceTypeprotected List<BrowserViews.View.Tab>tabsprotected BrowserViews.View.Toolbartoolbar
-
Constructor Summary
Constructors Constructor Description View(ResourceHandle resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(@NotNull BrowserViews.View other)@NotNull BrowserViews.View.ContentgetContent(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)StringgetId()intgetRank()@NotNull StringgetTabResourceType()@NotNull List<BrowserViews.View.Tab>getTabs(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)@NotNull BrowserViews.View.ToolbargetToolbar(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)@NotNull StringgetViewResourceType()booleanmatches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
-
-
-
Field Detail
-
properties
protected final org.apache.sling.api.resource.ValueMap properties
-
condition
protected final Condition condition
-
tabs
protected final List<BrowserViews.View.Tab> tabs
-
tabResourceType
protected String tabResourceType
-
toolbar
protected BrowserViews.View.Toolbar toolbar
-
content
protected BrowserViews.View.Content content
-
-
Constructor Detail
-
View
public View(ResourceHandle resource)
-
-
Method Detail
-
compareTo
public int compareTo(@NotNull @NotNull BrowserViews.View other)- Specified by:
compareToin interfaceComparable<BrowserViews.View>
-
getId
public String getId()
-
getRank
public int getRank()
-
matches
public boolean matches(@NotNull @NotNull BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
getViewResourceType
@NotNull public @NotNull String getViewResourceType()
-
getTabResourceType
@NotNull public @NotNull String getTabResourceType()
-
getTabs
@NotNull public @NotNull List<BrowserViews.View.Tab> getTabs(@NotNull @NotNull BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
getToolbar
@NotNull public @NotNull BrowserViews.View.Toolbar getToolbar(@NotNull @NotNull BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
getContent
@NotNull public @NotNull BrowserViews.View.Content getContent(@NotNull @NotNull BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
-