Search in sources :

Example 1 with WSDeleteMenu

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

Aggregations

WSDeleteMenu (com.amalto.workbench.webservices.WSDeleteMenu)1 WSMenuPK (com.amalto.workbench.webservices.WSMenuPK)1