Interface BinaryDataAccessor

All Known Implementing Classes:
BinaryDataAccessorImpl

public interface BinaryDataAccessor
  • Method Details

    • fetchDataForDetailDocument

      Map<Serializable,BinaryData> fetchDataForDetailDocument(EntityModel entityModel, String fieldName, List<Serializable> keys)
      Efficiently retrieves BinaryData instances for detail documents of several entities.
      Parameters:
      entityModel - the entity model
      fieldName - the name of the 'binary' field
      keys - the primary keys of the entities for which the data should be fetched
    • fetchDataForResource

      Map<Serializable,BinaryData> fetchDataForResource(List<Serializable> keys)
      Efficiently retrieves BinaryData instances for (non entity-doc) resources.
      Parameters:
      keys - the primary keys of the Resource_content entities for which the data should be fetched