Search in sources :

Example 1 with WindowDocument

use of pl.x3E.adInterface.WindowDocument in project adempiere by adempiere.

the class ADServiceImpl method getADWindow.

public WindowDocument getADWindow(int WindowNo, int AD_Window_ID, int AD_Menu_ID) throws XFireFault {
    authenticate(webServiceName, "getADWindow");
    WindowDocument wc = (WindowDocument) WindowCache.get(new String("" + AD_Window_ID + "_" + AD_Menu_ID));
    //if (wc != null)			return wc;
    WindowDocument res = WindowDocument.Factory.newInstance();
    Window w = res.addNewWindow();
    GridWindowVO wo = getWindowVO(WindowNo, AD_Window_ID, AD_Menu_ID);
    if (wo != null) {
        fillWindow(w, wo);
        WindowCache.put(new String("" + AD_Window_ID + "_" + AD_Menu_ID), res);
    }
    return res;
}
Also used : Window(pl.x3E.adInterface.Window) GridWindowVO(org.compiere.model.GridWindowVO) WindowDocument(pl.x3E.adInterface.WindowDocument)

Aggregations

GridWindowVO (org.compiere.model.GridWindowVO)1 Window (pl.x3E.adInterface.Window)1 WindowDocument (pl.x3E.adInterface.WindowDocument)1