Added delete propagation constraint
This commit is contained in:
parent
ad2c722fb2
commit
f3e1c29aef
|
@ -29,6 +29,7 @@ import org.gcube.informationsystem.model.reference.properties.Encrypted;
|
||||||
import org.gcube.informationsystem.model.reference.properties.Header;
|
import org.gcube.informationsystem.model.reference.properties.Header;
|
||||||
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint;
|
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint;
|
||||||
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint.AddConstraint;
|
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint.AddConstraint;
|
||||||
|
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint.DeleteConstraint;
|
||||||
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint.RemoveConstraint;
|
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint.RemoveConstraint;
|
||||||
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
|
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
|
||||||
import org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate;
|
import org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate;
|
||||||
|
@ -241,6 +242,7 @@ public class FacetBasedISConfigurationProxy extends ISConfigurationProxy<SimpleF
|
||||||
PropagationConstraint propagationConstraint = new PropagationConstraintImpl();
|
PropagationConstraint propagationConstraint = new PropagationConstraintImpl();
|
||||||
propagationConstraint.setAddConstraint(AddConstraint.unpropagate);
|
propagationConstraint.setAddConstraint(AddConstraint.unpropagate);
|
||||||
propagationConstraint.setRemoveConstraint(RemoveConstraint.keep);
|
propagationConstraint.setRemoveConstraint(RemoveConstraint.keep);
|
||||||
|
propagationConstraint.setDeleteConstraint(DeleteConstraint.keep);
|
||||||
EService gcatEService = new EServiceImpl();
|
EService gcatEService = new EServiceImpl();
|
||||||
gcatEService.setHeader(new HeaderImpl(gcatEServiceUUID));
|
gcatEService.setHeader(new HeaderImpl(gcatEServiceUUID));
|
||||||
VirtualService virtualService = queryVirtualService();
|
VirtualService virtualService = queryVirtualService();
|
||||||
|
|
Loading…
Reference in New Issue