public IPage addLine(IRequestCycle cycle) { EditAcdLine editPage = (EditAcdLine) cycle.getPage(EditAcdLine.PAGE); editPage.setAcdLineId(null); editPage.setAcdServerId(getAcdServerId()); editPage.setReturnPage(this); return editPage; }
public IPage editLine(IRequestCycle cycle, Integer id) { EditAcdLine editPage = (EditAcdLine) cycle.getPage(EditAcdLine.PAGE); editPage.setAcdLineId(id); editPage.setReturnPage(this); return editPage; }