Class PackageBean

  • All Implemented Interfaces:
    com.composum.sling.core.bean.RestrictedBean, com.composum.sling.core.SlingBean, AutoCloseable

    public class PackageBean
    extends com.composum.sling.nodes.console.ConsoleSlingBean
    implements AutoCloseable
    • Field Detail

      • AUDIT_LOG_BASE

        public static final String AUDIT_LOG_BASE
      • pckgMgr

        protected org.apache.jackrabbit.vault.packaging.JcrPackageManager pckgMgr
      • pckg

        protected org.apache.jackrabbit.vault.packaging.JcrPackage pckg
      • pckgDef

        protected org.apache.jackrabbit.vault.packaging.JcrPackageDefinition pckgDef
    • Constructor Detail

      • PackageBean

        public PackageBean()
    • Method Detail

      • initialize

        public void initialize​(com.composum.sling.core.BeanContext context,
                               org.apache.sling.api.resource.Resource resource)
        Specified by:
        initialize in interface com.composum.sling.core.SlingBean
        Overrides:
        initialize in class com.composum.sling.nodes.console.ConsoleSlingBean
      • getCssClasses

        public String getCssClasses()
      • getUrl

        public String getUrl()
        Overrides:
        getUrl in class com.composum.sling.core.AbstractSlingBean
      • getPath

        public String getPath()
        Specified by:
        getPath in interface com.composum.sling.core.SlingBean
        Overrides:
        getPath in class com.composum.sling.core.AbstractSlingBean
      • getGroup

        public String getGroup()
      • getName

        public String getName()
        Specified by:
        getName in interface com.composum.sling.core.SlingBean
        Overrides:
        getName in class com.composum.sling.core.AbstractSlingBean
      • getVersion

        public String getVersion()
      • getDescription

        public String getDescription()
      • getFilename

        public String getFilename()
      • getDownloadUrl

        public String getDownloadUrl()
      • getCreated

        public String getCreated()
      • getCreatedBy

        public String getCreatedBy()
      • getLastModified

        public String getLastModified()
      • getLastModifiedBy

        public String getLastModifiedBy()
      • getLastUnpacked

        public String getLastUnpacked()
      • getLastUnpackedBy

        public String getLastUnpackedBy()
      • getLastUnwrapped

        public String getLastUnwrapped()
      • getLastUnwrappedBy

        public String getLastUnwrappedBy()
      • getLastWrapped

        public String getLastWrapped()
      • getLastWrappedBy

        public String getLastWrappedBy()
      • getFilterList

        public List<org.apache.jackrabbit.vault.fs.api.PathFilterSet> getFilterList()
      • getThumbnailUrl

        public String getThumbnailUrl()
      • getAuditLogUrl

        public String getAuditLogUrl()
      • getAcHandling

        public String getAcHandling()
      • getAcHandlingLabel

        public String getAcHandlingLabel()
      • getRequiresRestart

        public boolean getRequiresRestart()
      • getRequiresRoot

        public boolean getRequiresRoot()
      • getProviderName

        public String getProviderName()
      • getProviderUrl

        public String getProviderUrl()
      • getProviderLink

        public String getProviderLink()
      • getDependencies

        public String[] getDependencies()
      • getReplaces

        public String[] getReplaces()
      • isInstalled

        public boolean isInstalled()
      • isHasAlternativeVersions

        public boolean isHasAlternativeVersions()
      • getAllVersions

        public List<PackageBean> getAllVersions()
        All versions of this package.