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