Class PackageBean

    • 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​(BeanContext context,
                               org.apache.sling.api.resource.Resource resource)
        Description copied from class: AbstractSlingBean
        This basic initialization sets up the context and resource attributes only, all the other attributes are set 'lazy' during their getter calls.
        Specified by:
        initialize in interface SlingBean
        Overrides:
        initialize in class ConsoleSlingBean
        Parameters:
        context - the scripting context (e.g. a JSP PageContext or a Groovy scripting context)
        resource - the resource to use (normally the resource addressed by the request)
        See Also:
        BeanContext.withResource(Resource)
      • getCssClasses

        public String getCssClasses()
      • getGroup

        public String getGroup()
      • 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.