Package de.xima.fc.api.system
Class LicenseAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.system.LicenseAPI
-
public class LicenseAPI extends ASubAPI
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description LicenseAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetCustomFeature(ELicenseFeature feature)Deprecated.StringgetCustomFeature(String name)Deprecated.intgetFrontendServerCount()Deprecated.LicenseAccessgetLicenseAccess(Mandant client)Gets the license access based on the given clientStringgetLicenseId()Deprecated.The new license management uses keys instead of IDs.ELizenzTypgetLicenseType()Deprecated.The new license management handles license types differently
{will be removed in next major version}LicenseAccessgetSystemLicenseAccess()Gets the access for the system license only!ELicenseVersionStategetSystemLicenseVersionState(UserContext uc)Gets the version state of the system licenseLicenseModelgetUnchachedLicenseModel(UserContext uc, String licenseKey)Gets the uncached model of an licenseLicenseModelgetUnchachedSystemLicenseModel(UserContext uc)Gets the uncached model of the system license-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
getSystemLicenseAccess
public LicenseAccess getSystemLicenseAccess()
Gets the access for the system license only!- Returns:
- the access to the system license
-
getLicenseAccess
public LicenseAccess getLicenseAccess(Mandant client)
Gets the license access based on the given client- Parameters:
client- the client to get the client license model for- Returns:
- the access with client and system license
-
getSystemLicenseVersionState
public ELicenseVersionState getSystemLicenseVersionState(UserContext uc)
Gets the version state of the system license- Parameters:
uc- The user context for accessing the database.- Returns:
- the license version state
-
getUnchachedLicenseModel
public LicenseModel getUnchachedLicenseModel(UserContext uc, String licenseKey)
Gets the uncached model of an license- Parameters:
uc- the usercontextlicenseKey- the key of the license to get the model from- Returns:
- the license model or
null
-
getUnchachedSystemLicenseModel
public LicenseModel getUnchachedSystemLicenseModel(UserContext uc)
Gets the uncached model of the system license- Parameters:
uc- the usercontext- Returns:
- the system license model or
null
-
getCustomFeature
@Deprecated public String getCustomFeature(String name)
Deprecated.
-
getCustomFeature
@Deprecated public String getCustomFeature(ELicenseFeature feature)
Deprecated.
-
getLicenseId
@Deprecated public String getLicenseId()
Deprecated.The new license management uses keys instead of IDs. UseLicenseCache.getCachedSystemLicense().getLicenseKeyinstead.
-
getFrontendServerCount
@Deprecated public int getFrontendServerCount()
Deprecated.
-
getLicenseType
@Deprecated public ELizenzTyp getLicenseType()
Deprecated.The new license management handles license types differently
{will be removed in next major version}
-
-