Interface UpdatableCategoriesField

All Superinterfaces:
CanRender<Renderer<? extends Renderer<?>>>, CategoriesField, Field, Iterable<Category>, IterableField<Category>, IterableWithSize<Category>, ModelObjectsReferenceField<Category>

public interface UpdatableCategoriesField extends CategoriesField
Since:
3.22.1
  • Method Details

    • clear

      void clear()
      Since:
      3.23.4
    • addCategory

      boolean addCategory(@NotNull String categoryId)
      Parameters:
      category -
      Returns:
      true, if the categories were changed, false if it already had this category.
      Since:
      3.23.4
    • addCategory

      boolean addCategory(@NotNull CategoryReference category)
      Parameters:
      category -
      Returns:
      true, if the categories were changed, false if it already had this category.
      Since:
      3.23.4
    • removeCategory

      boolean removeCategory(@NotNull String categoryId)
      Parameters:
      category -
      Returns:
      true if category was removed, false if did not contain this category.
      Since:
      3.23.4
    • removeCategory

      boolean removeCategory(@NotNull CategoryReference category)
      Parameters:
      category -
      Returns:
      true if category was removed, false if did not contain this category.
      Since:
      3.23.4