Class PackageManagerBean
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.console.ConsoleSlingBean
-
- com.composum.sling.core.pckgmgr.jcrpckg.view.PackageManagerBean
-
- All Implemented Interfaces:
com.composum.sling.core.bean.RestrictedBean
,com.composum.sling.core.SlingBean
public class PackageManagerBean extends com.composum.sling.nodes.console.ConsoleSlingBean
-
-
Constructor Summary
Constructors Constructor Description PackageManagerBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Packages.Mode
getMode()
The modePackages.Mode
- or .String
getPath()
List<String>
getPathsToHighestVersionOfEachPackage()
List<String>
getPathsToVersionsOfThisPackage()
If this is the pseudo-resource denominating a package (without version, /groupname/packagename), this gives the package versions corresponding to it.Map<String,String>
getRegistries()
Returns the list of package registry keys to their names if there are registries; empty if that service isn't available.String
getTabType()
String
getViewType()
The kind of view -PackageUtil.ViewType
.boolean
isRegistriesAvailable()
-
Methods inherited from class com.composum.sling.core.AbstractSlingBean
executeQuery, findBeans, findNodes, findNodes, findPathList, getContentResource, getDomId, getHasTitle, getId, getInherited, getInherited, getName, getNode, getParent, getParent, getPermissible, getProperty, getProperty, getQueryManager, getRequest, getResolver, getResource, getResponse, getServiceKey, getSession, getSling, getStringId, getTitle, getType, getUrl, getUsername, initialize, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
-
-
-
-
Method Detail
-
getPath
public String getPath()
- Specified by:
getPath
in interfacecom.composum.sling.core.SlingBean
- Overrides:
getPath
in classcom.composum.sling.core.AbstractSlingBean
-
getMode
public Packages.Mode getMode()
The modePackages.Mode
- or .
-
getViewType
public String getViewType()
The kind of view -PackageUtil.ViewType
.
-
getTabType
public String getTabType()
-
getPathsToVersionsOfThisPackage
public List<String> getPathsToVersionsOfThisPackage()
If this is the pseudo-resource denominating a package (without version, /groupname/packagename), this gives the package versions corresponding to it.
-
isRegistriesAvailable
public boolean isRegistriesAvailable()
-
-