Add collaboration feature
[sdc.git] / openecomp-be / lib / openecomp-sdc-notification-lib / openecomp-sdc-notification-api / src / main / java / org / openecomp / sdc / notification / dao / LastNotificationDao.java
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * ============LICENSE_END=========================================================
  */
 
-package org.openecomp.sdc.vendorsoftwareproduct.dao;
+package org.openecomp.sdc.notification.dao;
 
 import org.openecomp.core.dao.BaseDao;
-import org.openecomp.sdc.vendorsoftwareproduct.dao.type.UploadDataEntity;
-import org.openecomp.sdc.versioning.dao.types.Version;
+import org.openecomp.sdc.notification.dao.types.LastSeenNotificationEntity;
 
-import java.nio.ByteBuffer;
+import java.util.UUID;
 
-public interface UploadDataDao extends BaseDao<UploadDataEntity> {
+public interface LastNotificationDao extends BaseDao<LastSeenNotificationEntity> {
 
-  void deleteContentDataAndValidationData(String vspId, Version version);
+  UUID getOwnerLastEventId(String ownerId);
+
+  void persistOwnerLastEventId(String ownerId, UUID eventId);
 
-  ByteBuffer getContentData(String vspId, Version version);
 }