BaseSearchStore<T> class
abstract
Classe base para os stores que utilizam as funcionalidades de consulta.
- Inheritance
-
- Object
- BaseStore<
T> - BaseListStore<
T> - BaseSearchStore
- Implementers
Constructors
-
BaseSearchStore(StoreConfig<
T> config)
Properties
-
config
↔ StoreConfig<
T> -
Configuração.
getter/setter pairinherited
- forceCsvGet ↔ bool
-
getter/setter pair
- forceCsvPost ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAbsoluteUrl ↔ bool
-
Indica se a URL é absoluta (servidor externo).
getter/setter pairinherited
- isStatic ↔ bool
-
Indica se é estático (utiliza dados locais).
getter/setter pairinherited
- requestService ↔ RequestService
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getByIds(
List< Object> ids) → Future<List< T> > -
Retorna uma lista de itens com base nos
idsinformados.inherited -
getCsv(
SearchRequestModel? request, Map< String, Object> ? params) → Future<Object> - Obtém o arquivo CSV.
-
getRequestModel(
String action, {Object? data, Object? masterId}) → RequestModel -
Obtém um model da requisição usando o endereço da action
action, os dados a serem enviados (opcional)datae omasterIdID do registro pai, se houver (opcional).inherited -
getUrl(
String action, Object? masterId) → String -
Obtém uma URL com o controle base usando a action
actione omasterIdID do registro pai, se houver (opcional).inherited -
list(
SearchRequestModel? request) → Future< SearchResponseModel< T> > -
Retorna uma lista de itens filtrados pelo
request.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
SearchRequestModel? request, Object? masterId) → Future< SearchResponseModel< T> ?> - Pesquisa nos registros pelo termo informado.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited