public final class BackOfficeProduct extends Object
Constructor and Description |
---|
BackOfficeProduct(Long id,
Long[] upgradeFrom,
List<ProductFeature> productFeatures,
BackOfficeCustomField[] customFields,
BackOfficeInstallationFile[] backOfficeInstallationFiles,
ZonedDateTime createdAt,
ZonedDateTime updatedAt,
String productName,
String shortCode,
boolean active,
String validDuration,
boolean allowTrial,
int trialDays,
int maxActivations,
boolean hardwareIdRequired,
boolean isUpgrade,
String subscriptionDuration,
boolean enableMaintenancePeriod,
String maintenanceDuration,
boolean isFloating,
boolean isFloatingCloud,
int floatingUsers,
int floatingTimeout,
com.licensespring.model.LicenseType defaultLicenseType,
boolean isUserLocked,
boolean isNodeLocked,
int maxConsumptions,
String authorizationMethod,
boolean preventVm,
boolean allowOverages,
int maxOverages,
boolean resetConsumption,
String consumptionPeriod,
boolean isArchived,
int company) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAuthorizationMethod()
Indicates if licenses for this product are user based or key based.
|
BackOfficeInstallationFile[] |
getBackOfficeInstallationFiles()
Array of available installation files.
|
int |
getCompany()
Code of the company that the product belongs to.
|
String |
getConsumptionPeriod()
If resetConsumption is true, this field sets the period after which the consumptions are reset.
|
ZonedDateTime |
getCreatedAt()
Time when the product was created.
|
BackOfficeCustomField[] |
getCustomFields()
Array of custom fields.
|
com.licensespring.model.LicenseType |
getDefaultLicenseType()
Type of licenses on this product.
|
int |
getFloatingTimeout()
After how long do floating licenses expire after and are released into the pool.
|
int |
getFloatingUsers()
Number of users there can be at most if the license is floating.
|
Long |
getId()
16 digit product id.
|
String |
getMaintenanceDuration()
How long will the product be maintained.
|
int |
getMaxActivations()
Number of activations there can be at most on each individual license.
|
int |
getMaxConsumptions()
Max consumptions on each license.
|
int |
getMaxOverages()
Number of overages that can be made on one license that is consumption type.
|
List<ProductFeature> |
getProductFeatures()
List of features available for this product.
|
String |
getProductName()
Name of the product.
|
String |
getShortCode()
Product code.
|
String |
getSubscriptionDuration()
How long one subscription lasts.
|
int |
getTrialDays()
Number of days the trial lasts for.
|
ZonedDateTime |
getUpdatedAt()
Time when the product information was last updated.
|
Long[] |
getUpgradeFrom()
This product is an upgrade from a list of products (ids).
|
String |
getValidDuration() |
int |
hashCode() |
boolean |
isActive()
Indicates if the product is active.
|
boolean |
isAllowOverages()
Indicates if licenses for this product allow overages on consumptions.
|
boolean |
isAllowTrial()
Indicates if product allows trial licenses and a trial period.
|
boolean |
isArchived()
Indicates if the product is archived and isn't currently in use.
|
boolean |
isEnableMaintenancePeriod()
If this product has a maintenance support.
|
boolean |
isFloating()
Does product support floating licenses.
|
boolean |
isFloatingCloud()
Does product support floating cloud license.
|
boolean |
isHardwareIdRequired()
Indicates if hardware Id is required for licenses.
|
boolean |
isNodeLocked() |
boolean |
isPreventVm()
If set to true, licenses won't be activated on virtual machines.
|
boolean |
isResetConsumption()
Indicates if total consumptions of the license are reset after a certain period.
|
boolean |
isUpgrade()
Indicates if this product is an upgrade from a different product.
|
boolean |
isUserLocked() |
String |
toString() |
public BackOfficeProduct(Long id, Long[] upgradeFrom, List<ProductFeature> productFeatures, BackOfficeCustomField[] customFields, BackOfficeInstallationFile[] backOfficeInstallationFiles, ZonedDateTime createdAt, ZonedDateTime updatedAt, String productName, String shortCode, boolean active, String validDuration, boolean allowTrial, int trialDays, int maxActivations, boolean hardwareIdRequired, boolean isUpgrade, String subscriptionDuration, boolean enableMaintenancePeriod, String maintenanceDuration, boolean isFloating, boolean isFloatingCloud, int floatingUsers, int floatingTimeout, com.licensespring.model.LicenseType defaultLicenseType, boolean isUserLocked, boolean isNodeLocked, int maxConsumptions, String authorizationMethod, boolean preventVm, boolean allowOverages, int maxOverages, boolean resetConsumption, String consumptionPeriod, boolean isArchived, int company)
public Long getId()
public Long[] getUpgradeFrom()
public List<ProductFeature> getProductFeatures()
public BackOfficeCustomField[] getCustomFields()
public BackOfficeInstallationFile[] getBackOfficeInstallationFiles()
public ZonedDateTime getCreatedAt()
public ZonedDateTime getUpdatedAt()
public String getProductName()
public String getShortCode()
public boolean isActive()
public String getValidDuration()
public boolean isAllowTrial()
public int getTrialDays()
public int getMaxActivations()
public boolean isHardwareIdRequired()
public boolean isUpgrade()
public String getSubscriptionDuration()
public boolean isEnableMaintenancePeriod()
public String getMaintenanceDuration()
public boolean isFloating()
public boolean isFloatingCloud()
public int getFloatingUsers()
public int getFloatingTimeout()
public com.licensespring.model.LicenseType getDefaultLicenseType()
public boolean isUserLocked()
public boolean isNodeLocked()
public int getMaxConsumptions()
public String getAuthorizationMethod()
public boolean isPreventVm()
public boolean isAllowOverages()
public int getMaxOverages()
public boolean isResetConsumption()
public String getConsumptionPeriod()
public boolean isArchived()
public int getCompany()
Copyright © 2023 Cense Data Inc.. All rights reserved.