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 Details

    • getPersistentRecords

      List<Serializable> getPersistentRecords(FetchRequest fetchRequest)
      Retrieve the records from the persistent store given the params in the FetchRequest. Presumably, modifications or state manipulation may be performed to affect an alteration of the resulting SQL select syntax.
      Parameters:
      fetchRequest -
      Returns:
    • getTotalRecords

      Integer getTotalRecords(FetchRequest fetchRequest)
      Retrieve the total record count given the params in the FetchRequest. Presumably, modifications or state manipulation may be performed to affect an alteration of the resulting SQL select count syntax.
      Parameters:
      fetchRequest -
      Returns:
    • getRecords

      Entity[] getRecords(FetchExtractionRequest fetchExtractionRequest)
      Retrieve the dto representation of persistent records based on the record contents and entity metadata.
      Parameters:
      fetchExtractionRequest -
      Returns: