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

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

import java.util.Collection;

public interface ElementSynchronizationStateRepository
    extends SynchronizationStateRepository<ElementEntityContext> {

  Collection<SynchronizationStateEntity> list(SessionContext context,
                                              ElementEntityContext elementContext);

  void update(SessionContext context, ElementEntityContext entityContext,
              SynchronizationStateEntity syncStateEntity);

  void markAsDirty(SessionContext context, ElementEntityContext entityContext,
                   SynchronizationStateEntity syncStateEntity);

}