Class WalletRewardSettingsService
- java.lang.Object
-
- org.exoplatform.wallet.reward.service.WalletRewardSettingsService
-
- All Implemented Interfaces:
org.exoplatform.wallet.reward.service.RewardSettingsService
public class WalletRewardSettingsService extends Object implements org.exoplatform.wallet.reward.service.RewardSettingsService
A storage service to save/load reward transactions
-
-
Constructor Summary
Constructors Constructor Description WalletRewardSettingsService(org.exoplatform.commons.api.settings.SettingService settingService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.wallet.reward.api.RewardPlugingetRewardPlugin(String pluginId)Collection<org.exoplatform.wallet.reward.api.RewardPlugin>getRewardPlugins()org.exoplatform.wallet.model.reward.RewardSettingsgetSettings()voidregisterPlugin(org.exoplatform.wallet.reward.api.RewardPlugin rewardPlugin)voidsaveSettings(org.exoplatform.wallet.model.reward.RewardSettings rewardSettingsToStore)voidunregisterPlugin(String pluginId)
-
-
-
Method Detail
-
getSettings
public org.exoplatform.wallet.model.reward.RewardSettings getSettings()
- Specified by:
getSettingsin interfaceorg.exoplatform.wallet.reward.service.RewardSettingsService
-
saveSettings
public void saveSettings(org.exoplatform.wallet.model.reward.RewardSettings rewardSettingsToStore)
- Specified by:
saveSettingsin interfaceorg.exoplatform.wallet.reward.service.RewardSettingsService
-
registerPlugin
public void registerPlugin(org.exoplatform.wallet.reward.api.RewardPlugin rewardPlugin)
- Specified by:
registerPluginin interfaceorg.exoplatform.wallet.reward.service.RewardSettingsService
-
unregisterPlugin
public void unregisterPlugin(String pluginId)
- Specified by:
unregisterPluginin interfaceorg.exoplatform.wallet.reward.service.RewardSettingsService
-
getRewardPlugins
public Collection<org.exoplatform.wallet.reward.api.RewardPlugin> getRewardPlugins()
- Specified by:
getRewardPluginsin interfaceorg.exoplatform.wallet.reward.service.RewardSettingsService
-
getRewardPlugin
public org.exoplatform.wallet.reward.api.RewardPlugin getRewardPlugin(String pluginId)
- Specified by:
getRewardPluginin interfaceorg.exoplatform.wallet.reward.service.RewardSettingsService
-
-