Class RegistryBean
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.console.ConsoleSlingBean
-
- com.composum.sling.core.pckgmgr.regpckg.view.RegistryBean
-
- All Implemented Interfaces:
com.composum.sling.core.bean.RestrictedBean,com.composum.sling.core.SlingBean
public class RegistryBean extends com.composum.sling.nodes.console.ConsoleSlingBean
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,List<PackageBean>>groupsprotected booleanloadedprotected Stringnamespacestatic StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description RegistryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddPackage(org.apache.jackrabbit.vault.packaging.PackageId packageId)protected Map<String,List<PackageBean>>getGroups()StringgetName()StringgetNamespace()protected org.apache.jackrabbit.vault.packaging.registry.PackageRegistrygetPackageRegistry(com.composum.sling.core.BeanContext context)StringgetPath()StringgetTitle()voidinitialize(com.composum.sling.core.BeanContext context, org.apache.sling.api.resource.Resource resource)-
Methods inherited from class com.composum.sling.core.AbstractSlingBean
executeQuery, findBeans, findNodes, findNodes, findPathList, getContentResource, getDomId, getHasTitle, getId, getInherited, getInherited, getNode, getParent, getParent, getPermissible, getProperty, getProperty, getQueryManager, getRequest, getResolver, getResource, getResponse, getServiceKey, getSession, getSling, getStringId, getType, getUrl, getUsername, initialize, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
-
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
namespace
protected String namespace
-
loaded
protected boolean loaded
-
groups
protected Map<String,List<PackageBean>> groups
-
-
Method Detail
-
initialize
public void initialize(com.composum.sling.core.BeanContext context, org.apache.sling.api.resource.Resource resource)- Specified by:
initializein interfacecom.composum.sling.core.SlingBean- Overrides:
initializein classcom.composum.sling.nodes.console.ConsoleSlingBean
-
getName
@Nonnull public String getName()
- Specified by:
getNamein interfacecom.composum.sling.core.SlingBean- Overrides:
getNamein classcom.composum.sling.core.AbstractSlingBean
-
getPath
@Nonnull public String getPath()
- Specified by:
getPathin interfacecom.composum.sling.core.SlingBean- Overrides:
getPathin classcom.composum.sling.core.AbstractSlingBean
-
getTitle
@Nonnull public String getTitle()
- Overrides:
getTitlein classcom.composum.sling.core.AbstractSlingBean
-
getGroups
@Nonnull protected Map<String,List<PackageBean>> getGroups()
-
addPackage
protected void addPackage(org.apache.jackrabbit.vault.packaging.PackageId packageId)
-
getPackageRegistry
@Nullable protected org.apache.jackrabbit.vault.packaging.registry.PackageRegistry getPackageRegistry(com.composum.sling.core.BeanContext context)
-
-