Interface ThemeFieldGroupService<P extends ThemeFieldGroup>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
,com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
- All Known Implementing Classes:
DefaultThemeFieldGroupService
public interface ThemeFieldGroupService<P extends ThemeFieldGroup>
extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
ThemeFieldGroup
business domain specific version of CrudEntityService
.- Author:
- Jon Fleschler (jfleschler)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the repository domain corresponding to the projection domain.readByName
(String name, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads theThemeFieldGroup
with the given name.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
-
readByName
Optional<P> readByName(String name, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads theThemeFieldGroup
with the given name.- Parameters:
name
- The name of a group to retrievecontextInfo
- context information surrounding sandboxing and multitenant state- Returns:
- The group matching
name
orOptional.empty()
.
-
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.
-