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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceVisitor is passed toAllEntitiesLoaderto export loaded entity -
Method Summary
Modifier and TypeMethodDescriptionType of data loading strategy defined as string constant.voidloadAll(DataUnit dataUnit, AllEntitiesLoader.ExportedEntityVisitor exportedEntityVisitor) 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
Load entities and export each entity using theAllEntitiesLoader.ExportedEntityVisitor
-