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>>
groups
protected boolean
loaded
protected String
namespace
static String
RESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description RegistryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addPackage(org.apache.jackrabbit.vault.packaging.PackageId packageId)
protected Map<String,List<PackageBean>>
getGroups()
String
getName()
String
getNamespace()
protected org.apache.jackrabbit.vault.packaging.registry.PackageRegistry
getPackageRegistry(com.composum.sling.core.BeanContext context)
String
getPath()
String
getTitle()
void
initialize(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:
initialize
in interfacecom.composum.sling.core.SlingBean
- Overrides:
initialize
in classcom.composum.sling.nodes.console.ConsoleSlingBean
-
getName
@Nonnull public String getName()
- Specified by:
getName
in interfacecom.composum.sling.core.SlingBean
- Overrides:
getName
in classcom.composum.sling.core.AbstractSlingBean
-
getPath
@Nonnull public String getPath()
- Specified by:
getPath
in interfacecom.composum.sling.core.SlingBean
- Overrides:
getPath
in classcom.composum.sling.core.AbstractSlingBean
-
getTitle
@Nonnull public String getTitle()
- Overrides:
getTitle
in 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)
-
-