Class SalCrowdLicenseView

java.lang.Object
com.atlassian.sal.crowd.license.SalCrowdLicenseView
All Implemented Interfaces:
com.atlassian.sal.api.license.BaseLicenseDetails, com.atlassian.sal.api.license.MultiProductLicenseDetails, com.atlassian.sal.api.license.ProductLicense, com.atlassian.sal.api.license.SingleProductLicenseDetailsView

public class SalCrowdLicenseView extends Object implements com.atlassian.sal.api.license.SingleProductLicenseDetailsView, com.atlassian.sal.api.license.MultiProductLicenseDetails
Crowd's license details view for SAL. As Crowd is a single-license product, it implements both a single and multi-product view (returning a singleton set of the license).
Since:
2.11
  • Constructor Details

    • SalCrowdLicenseView

      public SalCrowdLicenseView(com.atlassian.extras.api.crowd.CrowdLicense license)
  • Method Details

    • isEvaluationLicense

      public boolean isEvaluationLicense()
      Specified by:
      isEvaluationLicense in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getLicenseTypeName

      @Nonnull public String getLicenseTypeName()
      Specified by:
      getLicenseTypeName in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getOrganisationName

      public String getOrganisationName()
      Specified by:
      getOrganisationName in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getSupportEntitlementNumber

      @Nullable public String getSupportEntitlementNumber()
      Specified by:
      getSupportEntitlementNumber in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getServerId

      public String getServerId()
      Specified by:
      getServerId in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • isPerpetualLicense

      public boolean isPerpetualLicense()
      Specified by:
      isPerpetualLicense in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getLicenseExpiryDate

      @Nullable public Date getLicenseExpiryDate()
      Specified by:
      getLicenseExpiryDate in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getMaintenanceExpiryDate

      @Nullable public Date getMaintenanceExpiryDate()
      Specified by:
      getMaintenanceExpiryDate in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • isDataCenter

      public boolean isDataCenter()
      Specified by:
      isDataCenter in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • isEnterpriseLicensingAgreement

      public boolean isEnterpriseLicensingAgreement()
      Specified by:
      isEnterpriseLicensingAgreement in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getProductKey

      @Nonnull public String getProductKey()
      Specified by:
      getProductKey in interface com.atlassian.sal.api.license.ProductLicense
    • isUnlimitedNumberOfUsers

      public boolean isUnlimitedNumberOfUsers()
      Specified by:
      isUnlimitedNumberOfUsers in interface com.atlassian.sal.api.license.ProductLicense
    • getNumberOfUsers

      public int getNumberOfUsers()
      Specified by:
      getNumberOfUsers in interface com.atlassian.sal.api.license.ProductLicense
    • getProductDisplayName

      @Nonnull public String getProductDisplayName()
      Specified by:
      getProductDisplayName in interface com.atlassian.sal.api.license.ProductLicense
    • getProperty

      @Nullable public String getProperty(@Nonnull String property)
      Specified by:
      getProperty in interface com.atlassian.sal.api.license.BaseLicenseDetails
      Specified by:
      getProperty in interface com.atlassian.sal.api.license.ProductLicense
    • getProductLicenses

      @Nonnull public Set<com.atlassian.sal.api.license.ProductLicense> getProductLicenses()
      Specified by:
      getProductLicenses in interface com.atlassian.sal.api.license.MultiProductLicenseDetails
    • getEmbeddedLicenses

      @Nonnull public Set<com.atlassian.sal.api.license.ProductLicense> getEmbeddedLicenses()
      Specified by:
      getEmbeddedLicenses in interface com.atlassian.sal.api.license.MultiProductLicenseDetails
    • getProductLicense

      @Nullable public com.atlassian.sal.api.license.ProductLicense getProductLicense(@Nonnull String productKey)
      Specified by:
      getProductLicense in interface com.atlassian.sal.api.license.MultiProductLicenseDetails