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