Interface ILicenseManager

  • All Superinterfaces:
    com4j.Com4jObject

    public interface ILicenseManager
    extends com4j.Com4jObject
    For HP use. Performs license related actions.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IList deniedFeatures()
      Gets the list of features which cannot be used in the current QC edition.
      java.lang.Object deniedFeatures​(int index)  
      int edition()
      The QC edition of this connection.
      void getLicense​(int licenseType)
      For HP use.
      void getLicenseEx​(long licenseType)
      For HP use.
      void getLicenses​(int licenseType, com4j.Holder<java.lang.String> pVal)
      Allocates multiple licenses types according to the LicensesType parameter.
      void getLicensesEx​(long licenseType, com4j.Holder<java.lang.String> pVal)
      Allocates multiple licenses types according to the LicensesType parameter.
      void getLicenseStatus​(int clientType, com4j.Holder<java.lang.Integer> inUse, com4j.Holder<java.lang.Integer> max)
      The license status for the specified client type.
      boolean isFeatureEnabled​(java.lang.String strFeatureName)
      Checks whether the given feature is enabled.
      • Methods inherited from interface com4j.Com4jObject

        advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
    • Method Detail

      • getLicense

        void getLicense​(int licenseType)

        For HP use. Allocates a license type according to the LicenseType parameter.

        Parameters:
        licenseType - Mandatory int parameter.
      • getLicenses

        void getLicenses​(int licenseType,
                         com4j.Holder<java.lang.String> pVal)

        Allocates multiple licenses types according to the LicensesType parameter.

        Parameters:
        licenseType - Mandatory int parameter.
        pVal - Mandatory Holder parameter.
      • getLicenseStatus

        void getLicenseStatus​(int clientType,
                              com4j.Holder<java.lang.Integer> inUse,
                              com4j.Holder<java.lang.Integer> max)

        The license status for the specified client type.

        Parameters:
        clientType - Mandatory int parameter.
        inUse - Mandatory Holder parameter.
        max - Mandatory Holder parameter.
      • edition

        int edition()

        The QC edition of this connection.

        Getter method for the COM property "Edition"

        Returns:
        Returns a value of type int
      • deniedFeatures

        IList deniedFeatures()

        Gets the list of features which cannot be used in the current QC edition.

        Getter method for the COM property "DeniedFeatures"

        Returns:
        Returns a value of type step.repository.alm.v16.otaclient.IList
      • deniedFeatures

        java.lang.Object deniedFeatures​(int index)
      • isFeatureEnabled

        boolean isFeatureEnabled​(java.lang.String strFeatureName)

        Checks whether the given feature is enabled.

        Parameters:
        strFeatureName - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type boolean
      • getLicenseEx

        void getLicenseEx​(long licenseType)

        For HP use. Allocates a license type according to the LicenseType parameter.

        Parameters:
        licenseType - Mandatory long parameter.
      • getLicensesEx

        void getLicensesEx​(long licenseType,
                           com4j.Holder<java.lang.String> pVal)

        Allocates multiple licenses types according to the LicensesType parameter.

        Parameters:
        licenseType - Mandatory long parameter.
        pVal - Mandatory Holder parameter.