Class WalletRewardTeamService
- java.lang.Object
-
- org.exoplatform.wallet.reward.service.WalletRewardTeamService
-
- All Implemented Interfaces:
org.exoplatform.wallet.reward.service.RewardTeamService
public class WalletRewardTeamService extends Object implements org.exoplatform.wallet.reward.service.RewardTeamService
A service to manage reward teams
-
-
Constructor Summary
Constructors Constructor Description WalletRewardTeamService(WalletRewardTeamStorage rewardTeamStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.exoplatform.wallet.model.reward.RewardTeam>findTeamsByMemberId(long identityId)List<org.exoplatform.wallet.model.reward.RewardTeam>getTeams()org.exoplatform.wallet.model.reward.RewardTeamgetTeamsById(long teamId)org.exoplatform.wallet.model.reward.RewardTeamremoveTeam(Long id)org.exoplatform.wallet.model.reward.RewardTeamsaveTeam(org.exoplatform.wallet.model.reward.RewardTeam rewardTeam)
-
-
-
Constructor Detail
-
WalletRewardTeamService
public WalletRewardTeamService(WalletRewardTeamStorage rewardTeamStorage)
-
-
Method Detail
-
getTeams
public List<org.exoplatform.wallet.model.reward.RewardTeam> getTeams()
- Specified by:
getTeamsin interfaceorg.exoplatform.wallet.reward.service.RewardTeamService
-
saveTeam
public org.exoplatform.wallet.model.reward.RewardTeam saveTeam(org.exoplatform.wallet.model.reward.RewardTeam rewardTeam)
- Specified by:
saveTeamin interfaceorg.exoplatform.wallet.reward.service.RewardTeamService
-
removeTeam
public org.exoplatform.wallet.model.reward.RewardTeam removeTeam(Long id)
- Specified by:
removeTeamin interfaceorg.exoplatform.wallet.reward.service.RewardTeamService
-
findTeamsByMemberId
public List<org.exoplatform.wallet.model.reward.RewardTeam> findTeamsByMemberId(long identityId)
- Specified by:
findTeamsByMemberIdin interfaceorg.exoplatform.wallet.reward.service.RewardTeamService
-
getTeamsById
public org.exoplatform.wallet.model.reward.RewardTeam getTeamsById(long teamId)
-
-