// implements ACollection // the type attribute is not used for Categories protected void newItem(Long aType, boolean isDefault) { Category newCategory = null; newCategory = Category.newItem(isDefault); items.put(newCategory.getId(), newCategory); setCurrentItem(newCategory.getId()); // save needed sendSaveNeeded(); } // END public void newItem(String)