Interface AllEntitiesLoader
- All Known Implementing Classes:
AbstractAllEntitiesLoader
,KeysetAllEntitiesLoader
,LimitOffsetAllEntitiesLoader
public interface AllEntitiesLoader
This interface should be implemented by any bean which loads all entities for json or excel export.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Visitor is passed toAllEntitiesLoader
to export loaded entity -
Method Summary
Modifier and TypeMethodDescriptionType of data loading strategy defined as string constant.void
loadAll
(DataUnit dataUnit, AllEntitiesLoader.ExportedEntityVisitor exportedEntityVisitor, Sort sort) Load entities and export each entity using theAllEntitiesLoader.ExportedEntityVisitor
-
Method Details
-
getPaginationStrategy
String getPaginationStrategy()Type of data loading strategy defined as string constant.AllEntitiesLoaderFactory.getEntitiesLoader()
returns loader which pagination strategy equals toGridExportProperties.getExportAllPaginationStrategy()
-
loadAll
void loadAll(DataUnit dataUnit, AllEntitiesLoader.ExportedEntityVisitor exportedEntityVisitor, @Nullable Sort sort) Load entities and export each entity using theAllEntitiesLoader.ExportedEntityVisitor
-