final class ShopServiceImpl extends java.lang.Object implements ShopService
Modifier and Type | Field and Description |
---|---|
private ShopConfiguration |
config |
private javax.inject.Provider<ShopRepository> |
repo |
Constructor and Description |
---|
ShopServiceImpl(ShopConfiguration config,
javax.inject.Provider<ShopRepository> repo) |
private final ShopConfiguration config
private final javax.inject.Provider<ShopRepository> repo
@Inject public ShopServiceImpl(ShopConfiguration config, javax.inject.Provider<ShopRepository> repo)
public Shop find(java.lang.String publicId, java.lang.String host)
find
in interface ShopService
publicId
- host
- parameter will be matched to either domainName or
systemDomainName.private Shop getShop(java.lang.String publicId, java.lang.String host)
public void delete(GUID shopGuid)
delete
in interface ShopService
public Shop save(Shop shop)
save
in interface ShopService