return item;
}
protected String populateForm() throws ApsSystemException, IOException {
int code = this.getCode();
ApsAggregatorItem item = this.getAggregatorManager().getItem(code);
if (null == item) {
this.addActionError(this.getText("jprssaggregator.error.itemNotFound"));
return "itemList";
}
if (null != item.getCategories()) {
this.setXmlCategories(item.getCategories().toXml());
}
this.setCode(item.getCode());
this.setContentType(item.getContentType());
this.setDescr(item.getDescr());
this.setDelay(item.getDelay());
this.setLastUpdate(new Timestamp(item.getLastUpdate().getTime()));
this.setLink(item.getLink());
return null;
}