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