|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormDataProvider
Provider for 'external' data. All external data must be wrapped in FormData
instances (see the
description of FormDataProviderEnvironment
for how to do this).
This interface provides the means to query ids
and to resolve the
data for a list of ids
.
Implementing classes must provide a public no-arg constructor. Each instance is initialized with a call to
FormDataProvider.init(FormDataProviderEnvironment)
after construction.
Method Summary | |
---|---|
List<Long> |
find(String query)
Find method, delivers a list of ids where the content matches the given query. |
List<IdProvidingFormData> |
get(List<Long> ids)
Return the values for the specified ids. |
void |
init(FormDataProviderEnvironment environment)
Init the provider instance. |
Method Detail |
---|
void init(@NotNull FormDataProviderEnvironment environment)
@NotNull List<IdProvidingFormData> get(@NotNull List<Long> ids)
FormDataProviderEnvironment.createEmpty(de.espirit.firstspirit.access.store.templatestore.gom.GomEditorProvider)
to create FormData
instances.
ids
- List of ids.
FormData
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
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |