use of com.amalto.workbench.webservices.WSDeleteRoutingRule in project tmdm-studio-se by Talend.
the class RoutingRuleInteractiveHandler method doRemove.
@Override
public boolean doRemove(TMDMService service, AbstractDeployCommand cmd) throws XtentisException {
WSRoutingRulePK pk = new WSRoutingRulePK();
String name = cmd.getObjName();
pk.setPk(name);
service.deleteRoutingRule(new WSDeleteRoutingRule(pk));
TreeObjectUtil.deleteSpecificationFromAttachedRole(service, name, EXtentisObjects.RoutingRule.getName());
return true;
}
Aggregations