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