Interface FieldDataService<P extends FieldData>

All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
All Known Implementing Classes:
DefaultFieldDataService

public interface FieldDataService<P extends FieldData> extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
This service is responsible for handling all CRUD operations on FieldData.
Author:
Jon Fleschler (jfleschler)
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the repository domain corresponding to the projection domain.
    readAllByContentItemContextId(String contentItemId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all FieldData for a given ContentItem
    readAllByContentItemContextIds(Collection<String> itemIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all FieldData for a list of given ContentItem
    readAllByContextIds(Collection<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all FieldData by their context ids.

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService

    create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService

    readAll, readAll, readAll, readAll
  • Method Details

    • readAllByContextIds

      List<P> readAllByContextIds(@NonNull Collection<String> ids, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all FieldData by their context ids.
      Parameters:
      ids - the list of ids to find
      contextInfo - context information surrounding sandboxing and multitenant state
      Returns:
      the list of fiield data for the provided ids
    • readAllByContentItemContextId

      List<P> readAllByContentItemContextId(@NonNull String contentItemId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all FieldData for a given ContentItem
      Parameters:
      contentItemId - the id of the content item to find
      contextInfo - context information surrounding sandboxing and multitenant state
      Returns:
      the list of field data for the requested content item
    • readAllByContentItemContextIds

      List<P> readAllByContentItemContextIds(@NonNull Collection<String> itemIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all FieldData for a list of given ContentItem
      Parameters:
      itemIds - the list of content item ids to find
      contextInfo - context information surrounding sandboxing and multitenant state
      Returns:
      the list of field data for the requested content items
    • getRepositoryDomain

      String getRepositoryDomain()
      Returns the name of the repository domain corresponding to the projection domain.
      Returns:
      The name of the repository domain corresponding to the projection domain.