@PermitAll public class SettingManagementServiceBean extends com.whitestein.lsps.common.SecureAndLoggingService implements SettingManagementServiceLocal, SettingManagementServiceRemote
Constructor and Description |
---|
SettingManagementServiceBean() |
Modifier and Type | Method and Description |
---|---|
Setting |
create(String id,
String value)
Creates a new engine setting with the provided values.
|
void |
delete(String id)
Deletes a given settings.
|
List<Setting> |
findAll()
Finds all engine settings.
|
Setting |
get(String id)
Returns an engine setting with the given id.
|
Setting |
update(String id,
String value)
Updates an engine setting with the given value.
|
@RightsAllowed(value="Settings:Manage") public List<Setting> findAll()
SettingManagementService
findAll
in interface SettingManagementService
@RightsAllowed(value="Settings:Manage") public Setting get(String id) throws LspsSettingsException
SettingManagementService
get
in interface SettingManagementService
id
- the identifier of the settingLspsSettingsException
- @RightsAllowed(value="Settings:Manage") public Setting create(String id, String value)
SettingManagementService
create
in interface SettingManagementService
id
- the identifier of the settingvalue
- the value of the setting@RightsAllowed(value="Settings:Manage") public Setting update(String id, String value)
SettingManagementService
update
in interface SettingManagementService
id
- the identifier of the settingvalue
- the new value of the setting@RightsAllowed(value="Settings:Manage") public void delete(String id)
SettingManagementService
delete
in interface SettingManagementService
id
- the setting identifierCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.