@Component(value="blFetchWrapper") public class DefaultFetchWrapper extends Object implements FetchWrapper
FetchWrapper| Constructor and Description |
|---|
DefaultFetchWrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected BasicPersistenceModule |
getBasicPersistenceModule() |
List<Serializable> |
getPersistentRecords(FetchRequest fetchRequest)
Retrieve the records from the persistent store given the params in the
FetchRequest. |
Entity[] |
getRecords(FetchExtractionRequest fetchExtractionRequest)
Retrieve the dto representation of persistent records based on the record contents and entity metadata.
|
Integer |
getTotalRecords(FetchRequest fetchRequest)
Retrieve the total record count given the params in the
FetchRequest. |
public List<Serializable> getPersistentRecords(FetchRequest fetchRequest)
FetchWrapperFetchRequest. Presumably, modifications
or state manipulation may be performed to affect an alteration of the resulting SQL select syntax.getPersistentRecords in interface FetchWrapperpublic Integer getTotalRecords(FetchRequest fetchRequest)
FetchWrapperFetchRequest. Presumably, modifications or
state manipulation may be performed to affect an alteration of the resulting SQL select count syntax.getTotalRecords in interface FetchWrapperprotected BasicPersistenceModule getBasicPersistenceModule()
public Entity[] getRecords(FetchExtractionRequest fetchExtractionRequest)
FetchWrappergetRecords in interface FetchWrapperCopyright © 2021. All rights reserved.