Package io.jmix.flowui.model.impl
Class DataLoadersHelper
java.lang.Object
io.jmix.flowui.model.impl.DataLoadersHelper
Utility class working with data loaders.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
areAllParametersSet
(DataLoader loader) Returns true if all query parameters found bygetQueryParameters(DataLoader)
have values (null is considered as a value too).static DataLoader
getMasterDataLoader
(Nested nestedContainer) Returns the loader of master entity instance.getQueryParameters
(DataLoader loader) Extracts parameter names from the loader query text.
-
Field Details
-
PARAM_PATTERN
-
-
Constructor Details
-
DataLoadersHelper
public DataLoadersHelper()
-
-
Method Details
-
getMasterDataLoader
Returns the loader of master entity instance.- Parameters:
nestedContainer
- nested container to start from- Returns:
- the loader of master entity instance
-
getQueryParameters
Extracts parameter names from the loader query text. -
areAllParametersSet
Returns true if all query parameters found bygetQueryParameters(DataLoader)
have values (null is considered as a value too).
-