Class DefaultFetchWrapper
java.lang.Object
org.broadleafcommerce.openadmin.server.service.persistence.module.DefaultFetchWrapper
- All Implemented Interfaces:
FetchWrapper
@Component("blFetchWrapper")
public class DefaultFetchWrapper
extends Object
implements FetchWrapper
Default pass-through implementation of
FetchWrapper- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicPersistenceModulegetPersistentRecords(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.
-
Constructor Details
-
DefaultFetchWrapper
public DefaultFetchWrapper()
-
-
Method Details
-
getPersistentRecords
Description copied from interface:FetchWrapperRetrieve 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.- Specified by:
getPersistentRecordsin interfaceFetchWrapper- Returns:
-
getTotalRecords
Description copied from interface:FetchWrapperRetrieve 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.- Specified by:
getTotalRecordsin interfaceFetchWrapper- Returns:
-
getBasicPersistenceModule
-
getRecords
Description copied from interface:FetchWrapperRetrieve the dto representation of persistent records based on the record contents and entity metadata.- Specified by:
getRecordsin interfaceFetchWrapper- Returns:
-