Interface TenantService<P extends Tenant>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.MappableCrudEntityService<P>,com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityService<P>
- All Known Implementing Classes:
DefaultTenantService
public interface TenantService<P extends Tenant>
extends com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityService<P>
Tenant business domain specific version of MappableCrudEntityService.-
Method Summary
Modifier and TypeMethodDescriptionreadByIdentifierAndIdentifierType(String identifier, String identifierType) Read the tenant by itsTenant.getIdentifierValue()and, optionally, byTenant.getIdentifierType().Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.MappableCrudEntityService
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByIds, readById, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccessMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityService
readAll, readAll, readAll, readAll
-
Method Details
-
readByIdentifierAndIdentifierType
Read the tenant by itsTenant.getIdentifierValue()and, optionally, byTenant.getIdentifierType(). If not provided, identifier will default toResolutionIdentifierType.DOMAIN.- Parameters:
identifier- theTenant.getIdentifierValue()identifierType- theTenant.getIdentifierType()- Returns:
- the
Tenantwith the matchingTenant.getIdentifierValue()
-