return page;
}
@Override
public CatalogItem generateAndFillItem(ResultSet set) {
CatalogItem item = new CatalogItem();
try {
item.setId(set.getInt("id"));
item.setPage(set.getInt("page"));
item.setCost(set.getInt("cost"));
item.setPixelCost(set.getInt("cost_pixels"));
item.setCurrencyCost(set.getInt("cost_currency"));
item.setQuantity(set.getInt("quantity"));
item.setBaseId(set.getInt("unique_id"));
item.setLtd(set.getInt("ltd") == 1);
item.setName(set.getString("store_title"));
item.setLtdStock(set.getInt("ltd_stock"));
item.setLtdPurchased(set.getInt("ltd_purchased"));
} catch (Exception ex) {
H4J.getLogger(CatalogDAO.class.getName()).error(ex.getMessage());
}
return item;