CategoryService

public interface CategoryService

Functions

Link copied to clipboard
@NotNull()
public abstract @NotNull() List<Category> getCategories()
Gets all loaded categories.
Link copied to clipboard
public abstract Category getCategoryByName(String name)
Get a category by a string name
Link copied to clipboard
@NotNull()
public abstract @NotNull() Map<String, Category> getCategoryMap()
Gets an unmodifiable map of all categories.