Search in sources :

Example 1 with WSDeleteStoredProcedure

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

Aggregations

WSDeleteStoredProcedure (com.amalto.workbench.webservices.WSDeleteStoredProcedure)1 WSStoredProcedurePK (com.amalto.workbench.webservices.WSStoredProcedurePK)1