[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-vendor-license-lib / openecomp-sdc-vendor-license-api / src / main / java / org / openecomp / sdc / vendorlicense / facade / VendorLicenseFacade.java
index e36852d..ecff0f5 100644 (file)
@@ -37,9 +37,9 @@ import java.util.Collection;
 
 public interface VendorLicenseFacade {
 
-  void checkin(String vendorLicenseModelId, String user);
+  Version checkin(String vendorLicenseModelId, String user);
 
-  void submit(String vendorLicenseModelId, String user);
+  Version submit(String vendorLicenseModelId, String user);
 
   FeatureGroupEntity getFeatureGroup(FeatureGroupEntity featureGroup, String user);
 
@@ -53,8 +53,6 @@ public interface VendorLicenseFacade {
 
   EntitlementPoolEntity createEntitlementPool(EntitlementPoolEntity entitlementPool, String user);
 
-  LicenseKeyGroupEntity createLicenseKeyGroup(LicenseKeyGroupEntity licenseKeyGroup, String user);
-
   void updateEntitlementPool(EntitlementPoolEntity entitlementPool, String user);
 
   Collection<LicenseKeyGroupEntity> listLicenseKeyGroups(String vlmId, Version version,
@@ -65,6 +63,8 @@ public interface VendorLicenseFacade {
 
   void updateLicenseKeyGroup(LicenseKeyGroupEntity licenseKeyGroup, String user);
 
+  LicenseKeyGroupEntity createLicenseKeyGroup(LicenseKeyGroupEntity licenseKeyGroup, String user);
+
 
   VersionedVendorLicenseModel getVendorLicenseModel(String vlmId, Version version, String user);