ArrayList<CategoryEntity> allCategoriesList = new ArrayList<CategoryEntity>();
iter = categories.values().iterator();
while (iter.hasNext()) {
CategoryEntity category = (CategoryEntity)iter.next();
allCategoriesList.add ((CategoryEntity)category.clone());
}
return allCategoriesList;
}