Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Row findPoiRowByKey() {
- Integer contextBeanPoiId = ContextBean.getCurrent().getSelectedPoiId();
- Key poiRowKey = new Key(new Object[] { contextBeanPoiId });
- AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
- ViewObject vo = am.getEditPoiView1();
- RowSetIterator rsi = vo.createRowSetIterator(null);
- Row poiRow = rsi.findByKey(poiRowKey, 1)[0];
- if (null != poiRow) {
- return poiRow;
- } else {
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement