Class LicenseAgreements


  • public class LicenseAgreements
    extends java.lang.Object
    Methods for license agreements ---
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringIIZI_GO
      The latest standard license agreement for iiziGo: "go".
      static java.lang.StringIIZI_RUN
      The latest standard license agreement for iiziRun.
      static java.lang.StringIIZI_SERVER
      The latest standard license agreement for iiziServer: "srv".
      static java.lang.StringNOT_APPLICABLE
      The "Not Applicable" standard license agreement: "n/a".
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.util.ArrayList<LicenseAgreement>getLicenseAgreementIDs​(java.lang.String name, boolean latest)
      Gets all the license agreement IDs, and only the latest depending on the flag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NOT_APPLICABLE

        public static final java.lang.String NOT_APPLICABLE
        The "Not Applicable" standard license agreement: "n/a".
        See Also:
        Constant Field Values
      • IIZI_GO

        public static final java.lang.String IIZI_GO
        The latest standard license agreement for iiziGo: "go".
        See Also:
        Constant Field Values
      • IIZI_RUN

        public static final java.lang.String IIZI_RUN
        The latest standard license agreement for iiziRun.
        See Also:
        Constant Field Values
      • IIZI_SERVER

        public static final java.lang.String IIZI_SERVER
        The latest standard license agreement for iiziServer: "srv".
        See Also:
        Constant Field Values
    • Constructor Detail

      • LicenseAgreements

        public LicenseAgreements()
    • Method Detail

      • getLicenseAgreementIDs

        public static java.util.ArrayList<LicenseAgreement> getLicenseAgreementIDs​(java.lang.String name,
                                                                                   boolean latest)
                                                                            throws java.sql.SQLException,
                                                                                   NotFoundException
        Gets all the license agreement IDs, and only the latest depending on the flag.
        Parameters:
        name - The short name of the agreement, null for all.
        latest - true to get only the latest, false for all.
        Returns:
        An array with all license agreement IDs. No item in the array is null.
        Throws:
        NotFoundException - If none is found.
        java.sql.SQLException - For SQL exceptions.