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;
}
Aggregations