Interface SmarteditConfigurationService
-
- All Known Implementing Classes:
DefaultSmarteditConfigurationService
public interface SmarteditConfigurationServiceProvide methods for managing SmartEdit configuration information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SmarteditConfigurationModelcreate(SmarteditConfigurationModel configurationModel)Create a new configuration modelvoiddelete(java.lang.String uid)Deletes the configuration model represented by this unique identifierjava.util.List<SmarteditConfigurationModel>findAll()Finds all ConfigurationData stores in the data store.SmarteditConfigurationModelfindByKey(java.lang.String uid)Finds a configuration data bean by its unique identifierSmarteditConfigurationModelupdate(java.lang.String uid, SmarteditConfigurationModel configurationModel)Updates the configuration model represented by the uid
-
-
-
Method Detail
-
findAll
java.util.List<SmarteditConfigurationModel> findAll()
Finds all ConfigurationData stores in the data store.- Returns:
- a list of
SmarteditConfigurationModel
-
create
SmarteditConfigurationModel create(SmarteditConfigurationModel configurationModel)
Create a new configuration model- Parameters:
configurationModel- the model to be saved- Returns:
- tyhe model created
-
update
SmarteditConfigurationModel update(java.lang.String uid, SmarteditConfigurationModel configurationModel)
Updates the configuration model represented by the uid- Parameters:
uid- is the unique identifier of this configurationconfigurationModel- - the model to be updated- Returns:
- the configuration model updated
-
delete
void delete(java.lang.String uid)
Deletes the configuration model represented by this unique identifier- Parameters:
uid- the model' unique identifier
-
findByKey
SmarteditConfigurationModel findByKey(java.lang.String uid)
Finds a configuration data bean by its unique identifier- Parameters:
uid- the configuration's unique identifier- Returns:
- the
SmarteditConfigurationModelinstance, or null if it does not exist in the data store.
-
-