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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getRepositoryDomain()
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)
List<P>
readAllFieldsById(List<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<P>
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 Detail
-
readAllByLabel
org.springframework.data.domain.Page<P> readAllByLabel(@Nullable String label, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
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(List<String> ids, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
getRepositoryDomain
@NonNull String getRepositoryDomain()
-
-