public interface FetchTypeDetection
shouldPromptForSearch(PersistencePackage, CriteriaTransferObject) designates whether this fetch
request should be considered empty and instead prompt the user to enter a search term in the listgrid before
retrieving records. This save a wasted default retrieval delay, which could be impactful.| Modifier and Type | Method and Description |
|---|---|
FetchType |
getFetchType(PersistencePackage persistencePackage,
CriteriaTransferObject cto)
Detect whether or not this list grid will fetch records using infinite scroll and traditional paging
(
FetchType.DEFAULT), or next and previous page links with scrolling only for the current page of records
(FetchType.LARGERESULTSET). |
boolean |
shouldPromptForSearch(PersistencePackage persistencePackage,
CriteriaTransferObject cto)
Designates whether this fetch request should be considered empty and instead prompt the user to enter a search term
in the listgrid before retrieving records.
|
FetchType getFetchType(PersistencePackage persistencePackage, CriteriaTransferObject cto)
FetchType.DEFAULT), or next and previous page links with scrolling only for the current page of records
(FetchType.LARGERESULTSET).persistencePackage - cto - boolean shouldPromptForSearch(PersistencePackage persistencePackage, CriteriaTransferObject cto)
persistencePackage - cto - Copyright © 2021. All rights reserved.