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:
com.composum.sling.core.bean.RestrictedBean
,com.composum.sling.core.SlingBean
- Direct Known Subclasses:
ConsoleModel
,ConsolesModel
public class ConsolePage extends ConsoleSlingBean
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_KEY
-
Constructor Summary
Constructors Constructor Description ConsolePage()
ConsolePage(com.composum.sling.core.BeanContext context)
ConsolePage(com.composum.sling.core.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()
com.composum.sling.core.service.ServiceRestrictions.Permission
getSystemPermission()
String
getURL(String path)
com.composum.sling.core.service.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
-
-
Method Detail
-
getUserPermission
public com.composum.sling.core.service.ServiceRestrictions.Permission getUserPermission()
-
getSystemPermission
public com.composum.sling.core.service.ServiceRestrictions.Permission getSystemPermission()
-
getCurrentUser
public String getCurrentUser()
-
getLogoutUrl
public String getLogoutUrl()
-
getWorkspaceName
@NotNull public @NotNull String getWorkspaceName()
-
-