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 class
BrowserViews.View.Content
class
BrowserViews.View.Tab
class
BrowserViews.View.Toolbar
-
Field Summary
Fields Modifier and Type Field Description protected Condition
condition
protected BrowserViews.View.Content
content
protected org.apache.sling.api.resource.ValueMap
properties
protected String
tabResourceType
protected List<BrowserViews.View.Tab>
tabs
protected BrowserViews.View.Toolbar
toolbar
-
Constructor Summary
Constructors Constructor Description View(com.composum.sling.core.ResourceHandle resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(@NotNull BrowserViews.View other)
@NotNull BrowserViews.View.Content
getContent(@NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
String
getId()
int
getRank()
@NotNull String
getTabResourceType()
@NotNull List<BrowserViews.View.Tab>
getTabs(@NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
@NotNull BrowserViews.View.Toolbar
getToolbar(@NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
@NotNull String
getViewResourceType()
boolean
matches(@NotNull com.composum.sling.core.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
-
-
Method Detail
-
compareTo
public int compareTo(@NotNull @NotNull BrowserViews.View other)
- Specified by:
compareTo
in interfaceComparable<BrowserViews.View>
-
getId
public String getId()
-
getRank
public int getRank()
-
matches
public boolean matches(@NotNull @NotNull com.composum.sling.core.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 com.composum.sling.core.BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
getToolbar
@NotNull public @NotNull BrowserViews.View.Toolbar getToolbar(@NotNull @NotNull com.composum.sling.core.BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
getContent
@NotNull public @NotNull BrowserViews.View.Content getContent(@NotNull @NotNull com.composum.sling.core.BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
-