public interface FormDataProvider extends Public
IdentifiedFormData
. One may use
the FormsAgent
to get hold of a generic identified form data container.
This interface provides the means to query ids
and to resolve the
data for a list of ids
.
Important: Implementing classes must provide a public no-arg constructor. After construction, an instance will
be initialized
before any other method gets called.
Modifier and Type | Method and Description |
---|---|
List<Long> |
find(String query)
Find method, delivers a list of ids where the content matches the given query.
|
List<IdentifiedFormData> |
get(List<Long> ids)
Return the values for the specified ids.
|
void |
init(FormDataProviderContext context)
Initializes the provider instance.
|
void init(@NotNull FormDataProviderContext context)
context
- The context for providing form data.@NotNull List<IdentifiedFormData> get(@NotNull List<Long> ids)
ids
- List of ids.IdentifiedFormData
instances.@NotNull List<Long> find(String query)
null
query is
implementation specific, e.g. it may deliver the 'newest' 500 entries.query
- A provider specific query or null
.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500