aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-core-lib/openecomp-zusammen-lib/openecomp-zusammen-plugin/src/main/java/org/openecomp/core/zusammen/plugin/dao/SynchronizationStateRepository.java
blob: f227b0c9258f809014ba9ef8fdd8187cc284e5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.openecomp.core.zusammen.plugin.dao;

import com.amdocs.zusammen.datatypes.SessionContext;
import org.openecomp.core.zusammen.plugin.dao.types.SynchronizationStateEntity;

import java.util.Optional;

public interface SynchronizationStateRepository<C> {

  void create(SessionContext context, C entityContext, SynchronizationStateEntity syncStateEntity);

  void delete(SessionContext context, C entityContext, SynchronizationStateEntity syncStateEntity);

  Optional<SynchronizationStateEntity> get(SessionContext context, C entityContext,
                                           SynchronizationStateEntity syncStateEntity);
}