Interface OptionTemplateService<P extends OptionTemplate>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
,com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
- All Known Implementing Classes:
DefaultOptionTemplateService
public interface OptionTemplateService<P extends OptionTemplate>
extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
Base service API for
ProductOptions
. Backed by a
OptionTemplateRepository
.- Author:
- Nathan Moore (nathanmoore).
-
Method Summary
Modifier and TypeMethodDescriptionreadAllByIds
(Collection<String> optionTemplateIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds all option templates with IDs in the supplied collection.org.springframework.data.domain.Page<P>
readAllByName
(String name, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readById
(String optionTemplateId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) 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
-
readAllByName
-
readAllByIds
List<P> readAllByIds(Collection<String> optionTemplateIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds all option templates with IDs in the supplied collection.- Parameters:
optionTemplateIds
- the option template IDs to search forcontextInfo
- the context to perform the operation in- Returns:
- the option templates that matched with the IDs in the given collection
-
readById
-
getRepositoryDomain
String getRepositoryDomain()
-