Interface FetchWrapper
- All Known Implementing Classes:
DefaultFetchWrapper
public interface FetchWrapper
Wrap calls to
BasicPersistenceModule.getPersistentRecords(String, List, Integer, Integer),
BasicPersistenceModule.getTotalRecords(String, List), and BasicPersistenceModule.getRecords(FetchExtractionRequest),
presumably to provide additional configuration or state modification before calling those methods on BasicPersistenceModule.- Author:
- Jeff Fischer
-
Method Summary
Modifier and TypeMethodDescriptiongetPersistentRecords(FetchRequest fetchRequest) Retrieve the records from the persistent store given the params in theFetchRequest.Entity[]getRecords(FetchExtractionRequest fetchExtractionRequest) Retrieve the dto representation of persistent records based on the record contents and entity metadata.getTotalRecords(FetchRequest fetchRequest) Retrieve the total record count given the params in theFetchRequest.
-
Method Details
-
getPersistentRecords
Retrieve the records from the persistent store given the params in theFetchRequest. Presumably, modifications or state manipulation may be performed to affect an alteration of the resulting SQL select syntax.- Parameters:
fetchRequest-- Returns:
-
getTotalRecords
Retrieve the total record count given the params in theFetchRequest. Presumably, modifications or state manipulation may be performed to affect an alteration of the resulting SQL select count syntax.- Parameters:
fetchRequest-- Returns:
-
getRecords
Retrieve the dto representation of persistent records based on the record contents and entity metadata.- Parameters:
fetchExtractionRequest-- Returns:
-