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.ExportedEntityVisitorvoidloadAll(DataUnit dataUnit, AllEntitiesLoader.ExportedEntityVisitor exportedEntityVisitor, Sort sort) Deprecated, for removal: This API element is subject to removal in a future version.
-
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
@Deprecated(forRemoval=true, since="1.7") void loadAll(DataUnit dataUnit, AllEntitiesLoader.ExportedEntityVisitor exportedEntityVisitor, @Nullable Sort sort) Deprecated, for removal: This API element is subject to removal in a future version.useloadAll(DataUnit, ExportedEntityVisitor)insteadLoad entities and export each entity using theAllEntitiesLoader.ExportedEntityVisitor -
loadAll
Load entities and export each entity using theAllEntitiesLoader.ExportedEntityVisitor
-
loadAll(DataUnit, ExportedEntityVisitor)instead