[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 / dao / LicenseKeyGroupDao.java
index 43e380d..4e0ce93 100644 (file)
 
 package org.openecomp.sdc.vendorlicense.dao;
 
+
 import org.openecomp.core.dao.BaseDao;
 import org.openecomp.sdc.vendorlicense.dao.types.LicenseKeyGroupEntity;
 import org.openecomp.sdc.versioning.dao.VersionableDao;
 
+import java.util.Collection;
+
+
 public interface LicenseKeyGroupDao extends VersionableDao, BaseDao<LicenseKeyGroupEntity> {
 
+  void create(LicenseKeyGroupEntity licenseKeyGroup);
+
+  void delete(LicenseKeyGroupEntity licenseKeyGroup);
+
+  LicenseKeyGroupEntity get(LicenseKeyGroupEntity licenseKeyGroup);
+
+  Collection<LicenseKeyGroupEntity> list(LicenseKeyGroupEntity licenseKeyGroup);
+
+  long count(LicenseKeyGroupEntity licenseKeyGroup);
+
   void deleteAll(LicenseKeyGroupEntity licenseKeyGroup);
 
   void addReferencingFeatureGroup(LicenseKeyGroupEntity licenseKeyGroup, String featureGroupId);