Package io.micronaut.controlpanel.core
Interface ControlPanelRepository
- All Known Implementing Classes:
DefaultControlPanelRepository
It provides the ability to retrieve
ControlPanel
instances.- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Method Summary
Modifier and TypeMethodDescriptionfindAll()
findAllByCategory
(String categoryId) findByName
(String name) findCategoryById
(String categoryId)
-
Method Details
-
findAll
List<ControlPanel> findAll()- Returns:
- all the available
ControlPanel
instances.
-
findAllByCategory
- Parameters:
categoryId
- the category id- Returns:
- all the available
ControlPanel
instances for the given category.
-
findByName
- Parameters:
name
- the name of theControlPanel
instance to find.- Returns:
- the
ControlPanel
instance with the given name.
-
findAllCategories
List<ControlPanel.Category> findAllCategories()- Returns:
- all the available
ControlPanel.Category
instances.
-
findCategoryById
- Parameters:
categoryId
- the category id- Returns:
- the
ControlPanel.Category
instance with the given id.
-