Package com.composum.sling.nodes.console
Class ConsolePage
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.console.ConsoleSlingBean
-
- com.composum.sling.nodes.console.ConsolePage
-
- All Implemented Interfaces:
RestrictedBean
,SlingBean
- Direct Known Subclasses:
ConsoleModel
,ConsolesModel
public class ConsolePage extends ConsoleSlingBean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean
AbstractSlingBean.NodeClosure
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_KEY
-
Fields inherited from class com.composum.sling.core.AbstractSlingBean
context, queryManager, request, resolver, resource, response, session, sling
-
-
Constructor Summary
Constructors Constructor Description ConsolePage()
ConsolePage(BeanContext context)
ConsolePage(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrentUser()
String
getLogoutUrl()
ServiceRestrictions.Permission
getSystemPermission()
String
getURL(String path)
ServiceRestrictions.Permission
getUserPermission()
@NotNull String
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, toString
-
-
-
-
Field Detail
-
SERVICE_KEY
public static final String SERVICE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConsolePage
public ConsolePage(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
ConsolePage
public ConsolePage(BeanContext context)
-
ConsolePage
public ConsolePage()
-
-
Method Detail
-
getUserPermission
public ServiceRestrictions.Permission getUserPermission()
-
getSystemPermission
public ServiceRestrictions.Permission getSystemPermission()
-
getCurrentUser
public String getCurrentUser()
-
getLogoutUrl
public String getLogoutUrl()
-
getWorkspaceName
@NotNull public @NotNull String getWorkspaceName()
-
-