Class DefaultSmarteditConfigurationService
java.lang.Object
de.hybris.platform.smarteditwebservices.configuration.service.impl.DefaultSmarteditConfigurationService
- All Implemented Interfaces:
SmarteditConfigurationService
public class DefaultSmarteditConfigurationService
extends Object
implements SmarteditConfigurationService
Default implementation of the Smartedit Configuration Service.
It has dependencies on the
ModelService and SmarteditConfigurationDao-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(SmarteditConfigurationModel configurationModel) Create a new configuration modelvoidDeletes the configuration model represented by this unique identifierfindAll()Finds all ConfigurationData stores in the data store.Finds a configuration data bean by its unique identifierprotected ModelServiceprotected SmarteditConfigurationDaovoidsetModelService(ModelService modelService) voidsetSmarteditConfigurationDao(SmarteditConfigurationDao smarteditConfigurationDao) update(String uid, SmarteditConfigurationModel configurationModel) Updates the configuration model represented by the uid
-
Constructor Details
-
DefaultSmarteditConfigurationService
public DefaultSmarteditConfigurationService()
-
-
Method Details
-
findAll
Description copied from interface:SmarteditConfigurationServiceFinds all ConfigurationData stores in the data store.- Specified by:
findAllin interfaceSmarteditConfigurationService- Returns:
- a list of
SmarteditConfigurationModel
-
create
Description copied from interface:SmarteditConfigurationServiceCreate a new configuration model- Specified by:
createin interfaceSmarteditConfigurationService- Parameters:
configurationModel- the model to be saved- Returns:
- tyhe model created
-
update
public SmarteditConfigurationModel update(String uid, SmarteditConfigurationModel configurationModel) Description copied from interface:SmarteditConfigurationServiceUpdates the configuration model represented by the uid- Specified by:
updatein interfaceSmarteditConfigurationService- Parameters:
uid- is the unique identifier of this configurationconfigurationModel- - the model to be updated- Returns:
- the configuration model updated
-
delete
Description copied from interface:SmarteditConfigurationServiceDeletes the configuration model represented by this unique identifier- Specified by:
deletein interfaceSmarteditConfigurationService- Parameters:
uid- the model' unique identifier
-
findByKey
Description copied from interface:SmarteditConfigurationServiceFinds a configuration data bean by its unique identifier- Specified by:
findByKeyin interfaceSmarteditConfigurationService- Parameters:
key- the configuration's unique identifier- Returns:
- the
SmarteditConfigurationModelinstance, or null if it does not exist in the data store.
-
getSmarteditConfigurationDao
-
setSmarteditConfigurationDao
-
getModelService
-
setModelService
-