Package com.iizix.server.agreement
Class LicenseAgreements
java.lang.Object
com.iizix.server.agreement.LicenseAgreements
Methods for license agreements ---
- Author:
- Christopher Mindus
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The latest standard license agreement for iiziGo: "go".static final String
The latest standard license agreement for iiziRun.static final String
The latest standard license agreement for iiziServer: "srv".static final String
The "Not Applicable" standard license agreement: "n/a".Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<LicenseAgreement>
getLicenseAgreementIDs
(String name, boolean latest) Gets all the license agreement IDs, and only the latest depending on the flag.
Field Details
NOT_APPLICABLE
The "Not Applicable" standard license agreement: "n/a".- See Also:
IIZI_GO
The latest standard license agreement for iiziGo: "go".- See Also:
IIZI_RUN
The latest standard license agreement for iiziRun.- See Also:
IIZI_SERVER
The latest standard license agreement for iiziServer: "srv".- See Also:
Constructor Details
LicenseAgreements
public LicenseAgreements()
Method Details
getLicenseAgreementIDs
public static ArrayList<LicenseAgreement> getLicenseAgreementIDs(String name, boolean latest) throws 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.SQLException
- For SQL exceptions.