1 5 6 package com.raptus.owxv3.modules.categories; 7 8 9 import java.util.*; 10 11 import com.raptus.owxv3.*; 12 import com.raptus.owxv3.api.*; 13 14 import java.sql.SQLException ; 15 16 45 public class EACategoryContentsBean extends OmniaWebBean 46 { 47 48 51 protected CategorySelector categorySelector=null; 52 53 54 55 58 public void setCategorySelector(CategorySelector catsel) 59 { 60 categorySelector=catsel; 61 } 62 63 64 67 public CategorySelector getCategorySelector() 68 { 69 return categorySelector; 70 } 71 72 73 77 public Vector getCategoryList() 78 { 79 if(categorySelector==null) return null; 80 try 81 { 82 return categorySelector.getCategoriesWithItemDesc(); 83 }catch(SQLException e) 84 { 85 LoggingManager.log("Error while retriveing list of items in each category!"); 86 87 } 88 return null; 89 } 90 91 } 92 93 95 96 97 | Popular Tags |