In package com.eden.orchid.api.theme.components

public abstract class ModularList<L extends ModularList<L extends ..., I extends ...>, I extends ...> extends Object

public abstract

Fields

OrchidContext context final

List itemsJson
Field Annotations:
@Getter

List loadedItems

Constructors

ModularList(OrchidContext context) public
Constructor Annotations:
@Inject

Parameters:
ModularList(OrchidContext context, Provider<T> itemTypesProvider) public

Parameters:

Methods

Class<T> getItemClass() abstract protected

void initialize(List<E> itemsJson) public

Parameters:
  • List itemsJson
void isEmpty() public

List<E> get() public

void addItem(ModularListItem<L, I> item, Map<K, V> itemJson) protected

Parameters:
String getItemType() protected

String getLogMessage() protected

void invalidate() public

void add(Map<K, V> menuItemJson) public

Parameters:
  • Map menuItemJson
void add(List<E> menuItemsJson) public

Parameters:
  • List menuItemsJson
void set(List<E> menuItemsJson) public

Parameters:
  • List menuItemsJson