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 TypeMethodDescriptionReturns the name of the repository domain corresponding to the projection domain.readAllByContentModelContextId
(String contentModelId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Find allContentField
for a givenContentModel
readAllByContentModelContextIds
(Collection<String> contentModelIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Find allContentField
for a list of givenContentModel
readAllByContextIds
(Collection<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Find allContentField
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 allContentField
by their context ids.- Parameters:
ids
- the list of ids to findcontextInfo
- 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 allContentField
for a givenContentModel
- Parameters:
contentModelId
- the id of the content model to findcontextInfo
- 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 allContentField
for a list of givenContentModel
- Parameters:
contentModelIds
- the list of content model ids to findcontextInfo
- 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.
-