Search in sources :

Example 1 with WSDeleteDataModel

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

Aggregations

WSDataModelPK (com.amalto.workbench.webservices.WSDataModelPK)1 WSDeleteDataModel (com.amalto.workbench.webservices.WSDeleteDataModel)1