Package io.jmix.reports.impl
Interface AnnotatedReportGroupHolder
- All Known Implementing Classes:
AnnotatedReportGroupHolderImpl
public interface AnnotatedReportGroupHolder
Bean that holds report group definitions parsed from annotated classes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear all stored objects.getGroupByCode(String code) Find an annotated report group by its unique code.voidput(ReportGroup group) Put a group to storage.
-
Method Details
-
getAllGroups
Collection<ReportGroup> getAllGroups()- Returns:
- collection of all annotated report groups, unsorted
-
getGroupByCode
Find an annotated report group by its unique code.- Parameters:
code- group code- Returns:
- annotated report group, or null if not found
-
put
Put a group to storage.- Parameters:
group- report group to store- Throws:
IllegalArgumentException- if group with this code is already stored
-
clear
void clear()Clear all stored objects.
-