private List<String> mappingsToInsert;
private List<String> mappingsToDelete;
+ public DCAEServiceTransactionContext(String serviceId, DateTime modified) {
+ this.serviceId = serviceId;
+ this.modified = modified;
+ this.componentObjectsToInsert = new ArrayList<>();
+ this.componentObjectsToUpdate = new ArrayList<>();
+ this.mappingsToInsert = new ArrayList<>();
+ this.mappingsToDelete = new ArrayList<>();
+ }
+
public String getServiceId() {
return serviceId;
}
this.mappingsToDelete.add(componentId);
return this.mappingsToDelete;
}
-
- public DCAEServiceTransactionContext(String serviceId, DateTime modified) {
- this.serviceId = serviceId;
- this.modified = modified;
- this.componentObjectsToInsert = new ArrayList<>();
- this.componentObjectsToUpdate = new ArrayList<>();
- this.mappingsToInsert = new ArrayList<>();
- this.mappingsToDelete = new ArrayList<>();
- }
-
}
@CreateSqlObject