Package de.xima.fc.proma.resource
Class PromaResourceFactory
java.lang.Object
de.xima.fc.proma.resource.PromaResourceFactory
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 Summary
Modifier and TypeMethodDescriptionstatic de.xima.proma.restclient.pub.gen.model.PublicCustomerContactResource
newContactResource
(String firstName, String lastName, String mail) static de.xima.proma.restclient.pub.gen.model.PublicCustomerResource
newCustomerResource
(String customerName) static de.xima.proma.restclient.pub.gen.model.PublicHardwareIdResource
newHardwareIdResource
(String hardwareId, de.xima.proma.restclient.pub.gen.model.PublicLicenseResource licenseResource, String systemInfo) static de.xima.proma.restclient.pub.gen.model.PublicLicenseResource
newLicenseResource
(String licenseKey, de.xima.proma.restclient.pub.gen.model.PublicProductResource productResource, String versionKey) static de.xima.proma.restclient.pub.gen.model.PublicProductResource
newProductResource
(String productKey) static de.xima.proma.restclient.pub.gen.model.PublicProductResource
newProductResource
(String productKey, String versionName) static de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaList
newStoreItemMetaList
(List<de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaResource> storeItemMetaResourceList) static de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaResource
newStoreItemMetaResource
(String itemKey, String versionKey)
-
Method Details
-
newContactResource
-
newCustomerResource
public static de.xima.proma.restclient.pub.gen.model.PublicCustomerResource newCustomerResource(String customerName) -
newHardwareIdResource
-
newLicenseResource
-
newProductResource
public static de.xima.proma.restclient.pub.gen.model.PublicProductResource newProductResource(String productKey) -
newProductResource
-
newStoreItemMetaResource
-
newStoreItemMetaList
public static de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaList newStoreItemMetaList(List<de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaResource> storeItemMetaResourceList)
-