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
ControlPanelinstances.
-
findAllByCategory
- Parameters:
categoryId- the category id- Returns:
- all the available
ControlPanelinstances for the given category.
-
findByName
- Parameters:
name- the name of theControlPanelinstance to find.- Returns:
- the
ControlPanelinstance with the given name.
-
findAllCategories
List<ControlPanel.Category> findAllCategories()- Returns:
- all the available
ControlPanel.Categoryinstances.
-
findCategoryById
- Parameters:
categoryId- the category id- Returns:
- the
ControlPanel.Categoryinstance with the given id.
-