Interface BinaryDataAccessor
- All Known Implementing Classes:
BinaryDataAccessorImpl
public interface BinaryDataAccessor
-
Method Summary
Modifier and TypeMethodDescriptionfetchDataForDetailDocument
(EntityModel entityModel, String fieldName, List<Serializable> keys) Efficiently retrievesBinaryData
instances for detail documents of several entities.fetchDataForResource
(List<Serializable> keys) Efficiently retrievesBinaryData
instances for (non entity-doc) resources.
-
Method Details
-
fetchDataForDetailDocument
Map<Serializable,BinaryData> fetchDataForDetailDocument(EntityModel entityModel, String fieldName, List<Serializable> keys) Efficiently retrievesBinaryData
instances for detail documents of several entities.- Parameters:
entityModel
- the entity modelfieldName
- the name of the 'binary' fieldkeys
- the primary keys of the entities for which the data should be fetched
-
fetchDataForResource
Efficiently retrievesBinaryData
instances for (non entity-doc) resources.- Parameters:
keys
- the primary keys of the Resource_content entities for which the data should be fetched
-