public class DefaultSmarteditConfigurationService extends java.lang.Object implements SmarteditConfigurationService
ModelService and SmarteditConfigurationDao| Constructor and Description |
|---|
DefaultSmarteditConfigurationService() |
| Modifier and Type | Method and Description |
|---|---|
SmarteditConfigurationModel |
create(SmarteditConfigurationModel configurationModel)
Create a new configuration model
|
void |
delete(java.lang.String uid)
Deletes the configuration model represented by this unique identifier
|
java.util.List<SmarteditConfigurationModel> |
findAll()
Finds all ConfigurationData stores in the data store.
|
SmarteditConfigurationModel |
findByKey(java.lang.String key)
Finds a configuration data bean by its unique identifier
|
protected ModelService |
getModelService() |
protected SmarteditConfigurationDao |
getSmarteditConfigurationDao() |
void |
setModelService(ModelService modelService) |
void |
setSmarteditConfigurationDao(SmarteditConfigurationDao smarteditConfigurationDao) |
SmarteditConfigurationModel |
update(java.lang.String uid,
SmarteditConfigurationModel configurationModel)
Updates the configuration model represented by the uid
|
public DefaultSmarteditConfigurationService()
public java.util.List<SmarteditConfigurationModel> findAll()
SmarteditConfigurationServicefindAll in interface SmarteditConfigurationServiceSmarteditConfigurationModelpublic SmarteditConfigurationModel create(SmarteditConfigurationModel configurationModel)
SmarteditConfigurationServicecreate in interface SmarteditConfigurationServiceconfigurationModel - the model to be savedpublic SmarteditConfigurationModel update(java.lang.String uid, SmarteditConfigurationModel configurationModel)
SmarteditConfigurationServiceupdate in interface SmarteditConfigurationServiceuid - is the unique identifier of this configurationconfigurationModel - - the model to be updatedpublic void delete(java.lang.String uid)
SmarteditConfigurationServicedelete in interface SmarteditConfigurationServiceuid - the model' unique identifierpublic SmarteditConfigurationModel findByKey(java.lang.String key)
SmarteditConfigurationServicefindByKey in interface SmarteditConfigurationServicekey - the configuration's unique identifierSmarteditConfigurationModel instance, or null if it does not exist in the data store.protected SmarteditConfigurationDao getSmarteditConfigurationDao()
public void setSmarteditConfigurationDao(SmarteditConfigurationDao smarteditConfigurationDao)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.