Package de.fraunhofer.iese.mydata.client
Class SyncNotification
- java.lang.Object
-
- de.fraunhofer.iese.mydata.common.MyDataEntity
-
- de.fraunhofer.iese.mydata.client.SyncNotification
-
@Entity public class SyncNotification extends MyDataEntity
-
-
Constructor Summary
Constructors Constructor Description SyncNotification()default constructorSyncNotification(ClientId clientId)assign a clientId to the current SynNotification
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeployedPolicyVersion(@NonNull PolicyId policyId, @NonNull Long policyVersion)Add in the map of policyIds the current versionvoidaddDeployedTimerVersion(@NonNull TimerId timerId, @NonNull Long timerVersion)Add in the map of TimerIds the current versionMap<PolicyId,Long>getDeployedPolicyVersions()Map<TimerId,Long>getDeployedTimerVersions()-
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
-
-
-
Constructor Detail
-
SyncNotification
public SyncNotification(ClientId clientId)
assign a clientId to the current SynNotification- Parameters:
clientId-
-
SyncNotification
public SyncNotification()
default constructor
-
-
Method Detail
-
addDeployedPolicyVersion
public void addDeployedPolicyVersion(@NonNull @NonNull PolicyId policyId, @NonNull @NonNull Long policyVersion)Add in the map of policyIds the current version- Parameters:
policyId-policyVersion-
-
getDeployedPolicyVersions
public Map<PolicyId,Long> getDeployedPolicyVersions()
- Returns:
- the map of policyId-policyVersion
-
addDeployedTimerVersion
public void addDeployedTimerVersion(@NonNull @NonNull TimerId timerId, @NonNull @NonNull Long timerVersion)Add in the map of TimerIds the current version- Parameters:
timerId-timerVersion-
-
-