Package com.composum.sling.nodes.console
Class ConsolesModel
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.console.ConsoleSlingBean
-
- com.composum.sling.nodes.console.ConsolePage
-
- com.composum.sling.nodes.console.ConsolesModel
-
- All Implemented Interfaces:
RestrictedBean
,SlingBean
public class ConsolesModel extends ConsolePage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean
AbstractSlingBean.NodeClosure
-
-
Field Summary
-
Fields inherited from class com.composum.sling.nodes.console.ConsolePage
SERVICE_KEY
-
Fields inherited from class com.composum.sling.core.AbstractSlingBean
context, queryManager, request, resolver, resource, response, session, sling
-
-
Constructor Summary
Constructors Constructor Description ConsolesModel()
ConsolesModel(BeanContext context)
ConsolesModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Consoles
getConfig()
@Nullable ConsoleModel
getConsole(@NotNull String name)
@NotNull Collection<ConsoleModel>
getConsoles()
@NotNull String
getDataSet()
@NotNull String
toString()
Default implementation: usesAbstractSlingBean.toString(StringBuilder)
.-
Methods inherited from class com.composum.sling.nodes.console.ConsolePage
getCurrentUser, getLogoutUrl, getSystemPermission, getURL, getUserPermission, getWorkspaceName
-
Methods inherited from class com.composum.sling.nodes.console.ConsoleSlingBean
initialize
-
Methods inherited from class com.composum.sling.core.AbstractSlingBean
executeQuery, findBeans, findNodes, findNodes, findPathList, getContentResource, getDomId, getHasTitle, getId, getInherited, getInherited, getName, getNode, getParent, getParent, getPath, getPermissible, getProperty, getProperty, getQueryManager, getRequest, getResolver, getResource, getResponse, getServiceKey, getSession, getSling, getStringId, getTitle, getType, getUrl, getUsername, initialize, isPermissible, isReadAllowed, isWriteAllowed, toString
-
-
-
-
Constructor Detail
-
ConsolesModel
public ConsolesModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
ConsolesModel
public ConsolesModel(BeanContext context)
-
ConsolesModel
public ConsolesModel()
-
-
Method Detail
-
getConsoles
@NotNull public @NotNull Collection<ConsoleModel> getConsoles()
-
getConsole
@Nullable public @Nullable ConsoleModel getConsole(@NotNull @NotNull String name)
-
getConfig
@NotNull public @NotNull Consoles getConfig()
-
getDataSet
@NotNull public @NotNull String getDataSet()
-
toString
@NotNull public @NotNull String toString()
Description copied from class:AbstractSlingBean
Default implementation: usesAbstractSlingBean.toString(StringBuilder)
.- Overrides:
toString
in classAbstractSlingBean
- Returns:
- a string representation for debugging.
-
-