Class CategoryUtils


  • @ApplicationScoped
    public class CategoryUtils
    extends Object
    • Constructor Detail

      • CategoryUtils

        public CategoryUtils()
      • CategoryUtils

        @Inject
        public CategoryUtils​(org.uberfire.client.mvp.CategoriesManagerCache categoriesManagerCache,
                             org.jboss.errai.ui.client.local.spi.TranslationService ts)
    • Method Detail

      • createCategories

        public List<org.uberfire.ext.widgets.common.client.select.SelectOption> createCategories()
        Create a list of SelectOptions with all the categories and the ALL Option, to be used in SelectComponent
        Returns:
        the list of SelectOptions