Interface FieldDefinitionService<P extends com.broadleafcommerce.search.api.domain.FieldDefinition>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
- All Known Implementing Classes:
DefaultFieldDefinitionService
public interface FieldDefinitionService<P extends com.broadleafcommerce.search.api.domain.FieldDefinition>
extends com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the repository domain corresponding to the projection domain.org.springframework.data.domain.Page<P>
readAllByLabel
(String label, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) readAllFieldsById
(Collection<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readFieldsForIndexableType
(com.broadleafcommerce.search.api.type.IndexableType indexableType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Return all of the fields with the given type.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
-
Method Details
-
readAllByLabel
-
readFieldsForIndexableType
List<P> readFieldsForIndexableType(com.broadleafcommerce.search.api.type.IndexableType indexableType, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Return all of the fields with the given type.- Parameters:
indexableType
- the type to search forcontextInfo
- The context information surrounding sandboxing/multitenant state- Returns:
- the fields matching the given type
-
readAllFieldsById
List<P> readAllFieldsById(Collection<String> ids, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
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.
-