Class PromaResourceFactory

java.lang.Object
de.xima.fc.proma.resource.PromaResourceFactory

public final class PromaResourceFactory extends Object
Utility methods for creating various POJOs for the PROMA API. This is the opposite of PromaResourceExtractor.
Since:
8.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Method Details

    • newContactResource

      public static de.xima.proma.restclient.pub.gen.model.PublicCustomerContactResource newContactResource(String firstName, String lastName, String mail)
    • newCustomerResource

      public static de.xima.proma.restclient.pub.gen.model.PublicCustomerResource newCustomerResource(String customerName)
    • newHardwareIdResource

      public static de.xima.proma.restclient.pub.gen.model.PublicHardwareIdResource newHardwareIdResource(String hardwareId, de.xima.proma.restclient.pub.gen.model.PublicLicenseResource licenseResource, String systemInfo)
    • newLicenseResource

      public static de.xima.proma.restclient.pub.gen.model.PublicLicenseResource newLicenseResource(String licenseKey, de.xima.proma.restclient.pub.gen.model.PublicProductResource productResource, String versionKey)
    • newProductResource

      public static de.xima.proma.restclient.pub.gen.model.PublicProductResource newProductResource(String productKey)
    • newProductResource

      public static de.xima.proma.restclient.pub.gen.model.PublicProductResource newProductResource(String productKey, String versionName)
    • newStoreItemMetaResource

      public static de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaResource newStoreItemMetaResource(String itemKey, String versionKey)
    • newStoreItemMetaList

      public static de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaList newStoreItemMetaList(List<de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaResource> storeItemMetaResourceList)