Search in sources :

Example 1 with WSDeleteDataCluster

use of com.amalto.workbench.webservices.WSDeleteDataCluster in project tmdm-studio-se by Talend.

the class DataContainerInteractiveHandler method doRemove.

@Override
public boolean doRemove(TMDMService service, AbstractDeployCommand cmd) throws XtentisException {
    WSDataClusterPK pk = new WSDataClusterPK();
    String name = cmd.getObjName();
    pk.setPk(name);
    service.deleteDataCluster(new WSDeleteDataCluster(pk));
    TreeObjectUtil.deleteSpecificationFromAttachedRole(service, name, EXtentisObjects.DataCluster.getName());
    return true;
}
Also used : WSDataClusterPK(com.amalto.workbench.webservices.WSDataClusterPK) WSDeleteDataCluster(com.amalto.workbench.webservices.WSDeleteDataCluster)

Aggregations

WSDataClusterPK (com.amalto.workbench.webservices.WSDataClusterPK)1 WSDeleteDataCluster (com.amalto.workbench.webservices.WSDeleteDataCluster)1