// Path: de.hatoka.tournament/src/main/java/de/hatoka/tournament/capi/business/TournamentBusinessFactory.java
// public interface TournamentBusinessFactory
// {
//     CashGameCompetitorBO getCompetitorBO(CompetitorPO competitorPO, CashGameBO cashGameBO);
// 
//     CompetitorBO getCompetitorBO(CompetitorPO competitorPO, TournamentBO tournamentBO);
// 
//     PlayerBO getPlayerBO(PlayerPO playerPO);
// 
//     PlayerBORepository getPlayerBORepository(String accountRef);
// 
//     CashGameBO getCashGameBO(TournamentPO tournamentPO);
// 
//     TournamentBO getTournamentBO(TournamentPO tournamentPO);
// 
//     TournamentBORepository getTournamentBORepository(String accountRef);
// 
//     HistoryEntryBO getHistoryBO(HistoryPO historyPO);
// 
//     BlindLevelBO getBlindLevelBO(BlindLevelPO blindLevelPO, ITournamentBO tournament);
// 
//     PauseBO getPauseBO(BlindLevelPO blindLevelPO, ITournamentBO tournament);
// 
//     RankBO getRankBO(RankPO rankPO, TournamentBO tournamentBO);
// 
//     ITableBO getTableBO(int tableNo);
// }


import java.util.List;
import java.util.stream.Collectors;
import de.hatoka.tournament.capi.business.PlayerBO;
import de.hatoka.tournament.capi.business.PlayerBORepository;
import de.hatoka.tournament.capi.business.TournamentBusinessFactory;
import de.hatoka.tournament.internal.app.models.PlayerListModel;
import de.hatoka.tournament.internal.app.models.PlayerVO;
package de.hatoka.tournament.internal.app.actions;



public class PlayerAction
{
    private final TournamentBusinessFactory factory;
    private final String accountRef;

// Path: de.hatoka.tournament/src/main/java/de/hatoka/tournament/capi/business/TournamentBusinessFactory.java
// public interface TournamentBusinessFactory
// {
//     CashGameCompetitorBO getCompetitorBO(CompetitorPO competitorPO, CashGameBO cashGameBO);
// 
//     CompetitorBO getCompetitorBO(CompetitorPO competitorPO, TournamentBO tournamentBO);
// 
//     PlayerBO getPlayerBO(PlayerPO playerPO);
// 
//     PlayerBORepository getPlayerBORepository(String accountRef);
// 
//     CashGameBO getCashGameBO(TournamentPO tournamentPO);
// 
//     TournamentBO getTournamentBO(TournamentPO tournamentPO);
// 
//     TournamentBORepository getTournamentBORepository(String accountRef);
// 
//     HistoryEntryBO getHistoryBO(HistoryPO historyPO);
// 
//     BlindLevelBO getBlindLevelBO(BlindLevelPO blindLevelPO, ITournamentBO tournament);
// 
//     PauseBO getPauseBO(BlindLevelPO blindLevelPO, ITournamentBO tournament);
// 
//     RankBO getRankBO(RankPO rankPO, TournamentBO tournamentBO);
// 
//     ITableBO getTableBO(int tableNo);
// }


// Path: de.hatoka.tournament/src/main/java/de/hatoka/tournament/internal/app/actions/PlayerAction.java
import java.util.List;
import java.util.stream.Collectors;
import de.hatoka.tournament.capi.business.PlayerBO;
import de.hatoka.tournament.capi.business.PlayerBORepository;
import de.hatoka.tournament.capi.business.TournamentBusinessFactory;
import de.hatoka.tournament.internal.app.models.PlayerListModel;
import de.hatoka.tournament.internal.app.models.PlayerVO;

package de.hatoka.tournament.internal.app.actions;



public class PlayerAction
{
    private final TournamentBusinessFactory factory;
    private final String accountRef;

    public PlayerAction(String accountRef, TournamentBusinessFactory factory)