load All
Loads all the entities in this repository with IDs, contained within the passed ids
values.
Provides a convenience wrapper around multiple invocations of find. Descendants may optimize the execution of this method, choosing the most suitable way for the particular storage engine used.
The result only contains those entities which IDs are contained inside the passed ids
. The resulting collection is always returned with no null
values.
The order of objects in the result is not guaranteed to be the same as the order of IDs passed as argument.
If the IDs contain duplicates, the result may also contain duplicates depending on a particular implementation.
The resulting entity state must be valid in terms of (required)
, (required_fields)
, and (goes).with
options after the mask is applied. Otherwise, an InvalidEntityStateException is thrown.
Note: The storage must be assigned before calling this method.
Return
all the entities in this repository with the IDs matching the given Iterable
Parameters
entity IDs to search for
the entity state fields to load