Interface ContentFieldService<P extends ContentField>

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

public interface ContentFieldService<P extends ContentField> extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
Author:
Julia Lopez-Pozas (jlopezpozas)
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the repository domain corresponding to the projection domain.
    readAllByContentModelContextId(String contentModelId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all ContentField for a given ContentModel
    readAllByContentModelContextIds(Collection<String> contentModelIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all ContentField for a list of given ContentModel
    readAllByContextIds(Collection<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all ContentField 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 ContentField by their context ids.
      Parameters:
      ids - the list of ids to find
      contextInfo - context information surrounding sandboxing and multitenant state
      Returns:
      the list of content fields for the provided ids
    • readAllByContentModelContextId

      List<P> readAllByContentModelContextId(@NonNull String contentModelId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all ContentField for a given ContentModel
      Parameters:
      contentModelId - the id of the content model to find
      contextInfo - context information surrounding sandboxing and multitenant state
      Returns:
      the list of content fields for the requested content model
    • readAllByContentModelContextIds

      List<P> readAllByContentModelContextIds(@NonNull Collection<String> contentModelIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all ContentField for a list of given ContentModel
      Parameters:
      contentModelIds - the list of content model ids to find
      contextInfo - context information surrounding sandboxing and multitenant state
      Returns:
      the list of content fields for the requested content models
    • 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.