public interface ConfigurationService
Modifier and Type | Method and Description |
---|---|
ShopConfig |
getShopConfiguration(GUID shopGuid)
get the configuration for this shop.
|
void |
initializeShopConfiguration(GUID shopGuid)
Create a new configuration for this shop.
|
void |
updateShopConfiguration(ShopConfig shopConfig)
update a configuration for this shop.
|
void initializeShopConfiguration(GUID shopGuid)
shopGuid
- The GUID of the shop.DataPersistenceException
- if something went wrong when persisting. Also if there is no
entry in the SAGEONE_SHOPS table (foreign key)ConfigurationException
- if a field in the shopConfig could not be initializedvoid updateShopConfiguration(ShopConfig shopConfig)
shopConfig
- EntityEntityNotFoundException
- if there was no config for this shop in the databaseDataPersistenceException
- if something went wrong when persisting.ConfigurationException
- if a field in the shopConfig could not be validatedShopConfig getShopConfiguration(GUID shopGuid)
shopGuid
- The GUID of the shop.EntityNotFoundException
- if there was no config for this shop in the databaseDataPersistenceException
- if something went wrong when persisting.