Search in sources :

Example 1 with WSDeleteRoutingRule

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;
}
Also used : WSDeleteRoutingRule(com.amalto.workbench.webservices.WSDeleteRoutingRule) WSRoutingRulePK(com.amalto.workbench.webservices.WSRoutingRulePK)

Aggregations

WSDeleteRoutingRule (com.amalto.workbench.webservices.WSDeleteRoutingRule)1 WSRoutingRulePK (com.amalto.workbench.webservices.WSRoutingRulePK)1