Search in sources :

Example 1 with WSDeleteTransformerV2

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

Aggregations

WSDeleteTransformerV2 (com.amalto.workbench.webservices.WSDeleteTransformerV2)1 WSTransformerV2PK (com.amalto.workbench.webservices.WSTransformerV2PK)1